summaryrefslogtreecommitdiff
path: root/hwc3/ComposerClient.cpp
diff options
context:
space:
mode:
authorSally Qi <sallyqi@google.com>2022-10-13 21:29:46 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-10-13 21:29:46 +0000
commit6d16f1c8c56c43908b750715657e857aef47ff68 (patch)
tree21c524becc6bcfdcd099f8d9e45c8eda47a41808 /hwc3/ComposerClient.cpp
parent04c7b42da8ec98e8c9e4fe8ca880a1e31e405c51 (diff)
parentdfb463fabff93840f0aee761ba7b05c80a44ee13 (diff)
Merge "hwc3: Add getOverlaySupport()"
Diffstat (limited to 'hwc3/ComposerClient.cpp')
-rw-r--r--hwc3/ComposerClient.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/hwc3/ComposerClient.cpp b/hwc3/ComposerClient.cpp
index b576b68..7324e5c 100644
--- a/hwc3/ComposerClient.cpp
+++ b/hwc3/ComposerClient.cpp
@@ -236,6 +236,12 @@ ndk::ScopedAStatus ComposerClient::getHdrCapabilities(int64_t display, HdrCapabi
return TO_BINDER_STATUS(err);
}
+ndk::ScopedAStatus ComposerClient::getOverlaySupport(OverlayProperties* caps) {
+ DEBUG_FUNC();
+ auto err = mHal->getOverlaySupport(caps);
+ return TO_BINDER_STATUS(err);
+}
+
ndk::ScopedAStatus ComposerClient::getMaxVirtualDisplayCount(int32_t* count) {
DEBUG_FUNC();
auto err = mHal->getMaxVirtualDisplayCount(count);