diff options
author | Ady Abraham <adyabr@google.com> | 2022-01-13 18:08:59 -0800 |
---|---|---|
committer | Ady Abraham <adyabr@google.com> | 2022-01-19 00:44:24 +0000 |
commit | c32a79d838052e209126d032849924a14a21e5c8 (patch) | |
tree | 519d517a7be11b2a407b6acb2dab9617e1587c11 /hwc3/impl/HalImpl.cpp | |
parent | 88431dc0990b636bd9f565a596fc49fef3de2c7b (diff) |
hwc3: add getDisplayPhysicalOrientation
Test: VTS
Bug: 213237830
Change-Id: I5d5e874841faee662d0c50537b6b765e5b600e01
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
-rw-r--r-- | hwc3/impl/HalImpl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hwc3/impl/HalImpl.cpp b/hwc3/impl/HalImpl.cpp index 3b41337..d5588b4 100644 --- a/hwc3/impl/HalImpl.cpp +++ b/hwc3/impl/HalImpl.cpp @@ -395,6 +395,12 @@ int32_t HalImpl::getDisplayedContentSamplingAttributes( return HWC2_ERROR_UNSUPPORTED; } +int32_t HalImpl::getDisplayPhysicalOrientation([[maybe_unused]] int64_t display, + [[maybe_unused]] common::Transform* orientation) { + // TODO(b/214461751): return the physical orientation of the display + return HWC2_ERROR_UNSUPPORTED; +} + int32_t HalImpl::getDozeSupport(int64_t display, bool* support) { ExynosDisplay* halDisplay; RET_IF_ERR(getHalDisplay(display, halDisplay)); |