diff options
author | Sally Qi <sallyqi@google.com> | 2022-08-16 12:55:50 -0700 |
---|---|---|
committer | Sally Qi <sallyqi@google.com> | 2022-10-03 13:11:33 -0700 |
commit | dfb463fabff93840f0aee761ba7b05c80a44ee13 (patch) | |
tree | dd02acba0c5125defc435b445a6ba58a74208db4 /hwc3/impl/HalImpl.cpp | |
parent | 112eea9e9299480c286de027aedf244dc1eac620 (diff) |
hwc3: Add getOverlaySupport()
Bug: 242588489
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I505a76213549c3ff613c93c707cd01777801455d
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
-rw-r--r-- | hwc3/impl/HalImpl.cpp | 5 |
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); |