summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWeiChungChang <cweichun@google.com>2023-11-18 00:14:18 +0000
committerJohn Chang <cweichun@google.com>2023-11-20 19:25:57 +0000
commite9f84c15beaf7f4fb48d0a7a97921dd7a1211ec3 (patch)
tree4310b78965c6960e9084fe1310f201c1dd25a1c8
parent9a55565eed10c80ce6b0f8d9262dd977d08b18e9 (diff)
downloadzuma-e9f84c15beaf7f4fb48d0a7a97921dd7a1211ec3.tar.gz
libhwc2.1: supply composer interface information
Bug: 310742462 Test: verify the accurate retrieval of composer interface information expected results. Change-Id: I3d5423e40a723ff13784c2e32ae599386b1db0da
-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 01fdaa0..9b8d62d 100644
--- a/libhwc2.1/libdevice/ExynosDeviceModule.cpp
+++ b/libhwc2.1/libdevice/ExynosDeviceModule.cpp
@@ -24,7 +24,8 @@ using Dataspace = aidl::android::hardware::graphics::common::Dataspace;
namespace zuma {
-ExynosDeviceModule::ExynosDeviceModule() {}
+ExynosDeviceModule::ExynosDeviceModule(bool isVrrApiSupported)
+ : gs201::ExynosDeviceModule(isVrrApiSupported) {}
ExynosDeviceModule::~ExynosDeviceModule() {}
diff --git a/libhwc2.1/libdevice/ExynosDeviceModule.h b/libhwc2.1/libdevice/ExynosDeviceModule.h
index eac369d..9746529 100644
--- a/libhwc2.1/libdevice/ExynosDeviceModule.h
+++ b/libhwc2.1/libdevice/ExynosDeviceModule.h
@@ -25,7 +25,7 @@ namespace zuma {
class ExynosDeviceModule : public gs201::ExynosDeviceModule {
public:
- ExynosDeviceModule();
+ ExynosDeviceModule(bool isVrrApiSupported);
virtual ~ExynosDeviceModule();
using OverlayProperties = aidl::android::hardware::graphics::composer3::OverlayProperties;
using SupportedBufferCombinations = OverlayProperties::SupportedBufferCombinations;