diff options
author | Joen Chen <joenchen@google.com> | 2023-01-17 03:31:27 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2023-01-17 03:31:27 +0000 |
commit | 833cfbafddbd0c729daacd78ef84f011b875aec5 (patch) | |
tree | 533d5fc12393bfe74029e752fcb9896e1d926f8b /hwc3/impl/HalImpl.cpp | |
parent | d884cfc9c89b08247a8da1cc44a091c2692a5ffa (diff) | |
parent | acf0fe4dd6c5ea3e633b0e354d3c128c47baa04a (diff) |
Merge "hwc3: Primary displays supports MULTI_THREADED_PRESENT"
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
-rw-r--r-- | hwc3/impl/HalImpl.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hwc3/impl/HalImpl.cpp b/hwc3/impl/HalImpl.cpp index 8045bc6..b0f9305 100644 --- a/hwc3/impl/HalImpl.cpp +++ b/hwc3/impl/HalImpl.cpp @@ -1049,4 +1049,11 @@ int32_t HalImpl::getDisplayIdleTimerSupport(int64_t display, bool& outSupport) { return halDisplay->getDisplayIdleTimerSupport(outSupport); } +int32_t HalImpl::getDisplayMultiThreadedPresentSupport(const int64_t& display, bool& outSupport) { + ExynosDisplay* halDisplay; + RET_IF_ERR(getHalDisplay(display, halDisplay)); + + return halDisplay->getDisplayMultiThreadedPresentSupport(outSupport); +} + } // namespace aidl::android::hardware::graphics::composer3::impl |