summaryrefslogtreecommitdiff
path: root/hwc3/ComposerClient.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/ComposerClient.cpp
parent3056330f7923b7902a88a0b71db6ac9217c5b6d0 (diff)
parentc32a79d838052e209126d032849924a14a21e5c8 (diff)
Merge "hwc3: add getDisplayPhysicalOrientation"
Diffstat (limited to 'hwc3/ComposerClient.cpp')
-rw-r--r--hwc3/ComposerClient.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/hwc3/ComposerClient.cpp b/hwc3/ComposerClient.cpp
index efd11f4..b885106 100644
--- a/hwc3/ComposerClient.cpp
+++ b/hwc3/ComposerClient.cpp
@@ -221,6 +221,13 @@ ndk::ScopedAStatus ComposerClient::getDisplayedContentSamplingAttributes(
return TO_BINDER_STATUS(err);
}
+ndk::ScopedAStatus ComposerClient::getDisplayPhysicalOrientation(int64_t display,
+ common::Transform* orientation) {
+ DEBUG_FUNC();
+ auto err = mHal->getDisplayPhysicalOrientation(display, orientation);
+ return TO_BINDER_STATUS(err);
+}
+
ndk::ScopedAStatus ComposerClient::getHdrCapabilities(int64_t display, HdrCapabilities* caps) {
DEBUG_FUNC();
auto err = mHal->getHdrCapabilities(display, caps);