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/ComposerClient.cpp | |
parent | 112eea9e9299480c286de027aedf244dc1eac620 (diff) |
hwc3: Add getOverlaySupport()
Bug: 242588489
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I505a76213549c3ff613c93c707cd01777801455d
Diffstat (limited to 'hwc3/ComposerClient.cpp')
-rw-r--r-- | hwc3/ComposerClient.cpp | 6 |
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); |