diff options
author | Ady Abraham <adyabr@google.com> | 2022-01-19 04:03:48 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-01-19 04:03:48 +0000 |
commit | 6d60c66ccf0bcc86c9b8241e73044398bd3a629d (patch) | |
tree | d69d8e2d1e98fe5dc4c19a8dc6c5b82e06fa7bc9 /hwc3/ComposerClient.cpp | |
parent | 3056330f7923b7902a88a0b71db6ac9217c5b6d0 (diff) | |
parent | c32a79d838052e209126d032849924a14a21e5c8 (diff) |
Merge "hwc3: add getDisplayPhysicalOrientation"
Diffstat (limited to 'hwc3/ComposerClient.cpp')
-rw-r--r-- | hwc3/ComposerClient.cpp | 7 |
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); |