summaryrefslogtreecommitdiff
path: root/hwc3/impl/HalImpl.cpp
diff options
context:
space:
mode:
authorAdy Abraham <adyabr@google.com>2022-01-19 04:03:48 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-01-19 04:03:48 +0000
commit6d60c66ccf0bcc86c9b8241e73044398bd3a629d (patch)
treed69d8e2d1e98fe5dc4c19a8dc6c5b82e06fa7bc9 /hwc3/impl/HalImpl.cpp
parent3056330f7923b7902a88a0b71db6ac9217c5b6d0 (diff)
parentc32a79d838052e209126d032849924a14a21e5c8 (diff)
Merge "hwc3: add getDisplayPhysicalOrientation"
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
-rw-r--r--hwc3/impl/HalImpl.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/hwc3/impl/HalImpl.cpp b/hwc3/impl/HalImpl.cpp
index 9e0add5..ea632f3 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));