summaryrefslogtreecommitdiff
path: root/hwc3/impl/HalImpl.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/impl/HalImpl.cpp
parent04c7b42da8ec98e8c9e4fe8ca880a1e31e405c51 (diff)
parentdfb463fabff93840f0aee761ba7b05c80a44ee13 (diff)
Merge "hwc3: Add getOverlaySupport()"
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
-rw-r--r--hwc3/impl/HalImpl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/hwc3/impl/HalImpl.cpp b/hwc3/impl/HalImpl.cpp
index c3011f9..a5d229d 100644
--- a/hwc3/impl/HalImpl.cpp
+++ b/hwc3/impl/HalImpl.cpp
@@ -457,6 +457,11 @@ int32_t HalImpl::getHdrCapabilities(int64_t display, HdrCapabilities* caps) {
return HWC2_ERROR_NONE;
}
+int32_t HalImpl::getOverlaySupport([[maybe_unused]] OverlayProperties* caps) {
+ // TODO(b/245570131): implement
+ return HWC2_ERROR_UNSUPPORTED;
+}
+
int32_t HalImpl::getMaxVirtualDisplayCount(int32_t* count) {
uint32_t hwcCount = mDevice->getMaxVirtualDisplayCount();
h2a::translate(hwcCount, *count);