summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWeiChungChang <cweichun@google.com>2023-11-18 00:05:54 +0000
committerJohn Chang <cweichun@google.com>2023-11-20 22:23:00 +0000
commita0a54bb5b1ca4126c8b7b2ab0f1a53481df660a8 (patch)
tree88c31170509878128f69277ef374a7de78cdc05f
parent5d07a60abb34181d06e522c18e3d7d442479a294 (diff)
downloadgs101-a0a54bb5b1ca4126c8b7b2ab0f1a53481df660a8.tar.gz
libhwc2.1: supply composer interface information
Bug: 310742462 Test: verify the accurate retrieval of composer interface information expected results. Change-Id: Iabe1b01b19e26e7ea9f0805a7b0e9b122adb6308
-rw-r--r--libhwc2.1/libdevice/ExynosDeviceModule.cpp3
-rw-r--r--libhwc2.1/libdevice/ExynosDeviceModule.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/libhwc2.1/libdevice/ExynosDeviceModule.cpp b/libhwc2.1/libdevice/ExynosDeviceModule.cpp
index 780c6b9..99dd8ba 100644
--- a/libhwc2.1/libdevice/ExynosDeviceModule.cpp
+++ b/libhwc2.1/libdevice/ExynosDeviceModule.cpp
@@ -23,7 +23,8 @@ extern struct exynos_hwc_control exynosHWCControl;
using namespace gs101;
-ExynosDeviceModule::ExynosDeviceModule() : ExynosDevice(), mDisplayColorLoader(DISPLAY_COLOR_LIB) {
+ExynosDeviceModule::ExynosDeviceModule(bool isVrrApiSupported)
+ : ExynosDevice(isVrrApiSupported), mDisplayColorLoader(DISPLAY_COLOR_LIB) {
exynosHWCControl.skipStaticLayers = false;
std::vector<displaycolor::DisplayInfo> display_info;
diff --git a/libhwc2.1/libdevice/ExynosDeviceModule.h b/libhwc2.1/libdevice/ExynosDeviceModule.h
index 6c772b6..42c2e18 100644
--- a/libhwc2.1/libdevice/ExynosDeviceModule.h
+++ b/libhwc2.1/libdevice/ExynosDeviceModule.h
@@ -27,7 +27,7 @@ namespace gs101 {
class ExynosDeviceModule : public ExynosDevice {
using GsInterfaceType = gs::ColorDrmBlobFactory::GsInterfaceType;
public:
- ExynosDeviceModule();
+ ExynosDeviceModule(bool isVrrApiSupported);
virtual ~ExynosDeviceModule();
GsInterfaceType* getDisplayColorInterface() { return mDisplayColorInterface; }