summaryrefslogtreecommitdiff
path: root/hwc3/impl/HalImpl.cpp
diff options
context:
space:
mode:
authorKaruna Ramkumar <rkaruna@google.com>2023-01-04 08:59:49 -0800
committerKaruna Ramkumar <rkaruna@google.com>2023-01-06 13:25:41 -0800
commit28290c1c798ce284b92b35ad4c63805363aadf4d (patch)
treee57c9b146cf2776f8238b6e0fd969e0e9ed56d30 /hwc3/impl/HalImpl.cpp
parentd0abffa901407ebf8e20d5aabbf46f53611bf8f7 (diff)
Support for querying supported formats and dataspaces
Bug: 245570131 Change-Id: Ie906f6c27a7dd88f962db7a992527b661919b40a
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
-rw-r--r--hwc3/impl/HalImpl.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/hwc3/impl/HalImpl.cpp b/hwc3/impl/HalImpl.cpp
index a5d229d..8045bc6 100644
--- a/hwc3/impl/HalImpl.cpp
+++ b/hwc3/impl/HalImpl.cpp
@@ -457,9 +457,8 @@ 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::getOverlaySupport(OverlayProperties* caps) {
+ return mDevice->getOverlaySupport(caps);
}
int32_t HalImpl::getMaxVirtualDisplayCount(int32_t* count) {