summaryrefslogtreecommitdiff
path: root/hwc3/Composer.cpp
AgeCommit message (Collapse)Author
2022-02-23hwc3: remove IComposer.dumpDebugInfoAdy Abraham
aidl already have a dump funciton, so there is no need to expose a custom dumpDebugInfo from IComposer. Bug: 220171623 Test: atest VtsHalGraphicsComposer3_TargetTest Test: adb shell dumpsys SurfaceFlinger Test: adb shell dumpsys android.hardware.graphics.composer3.IComposer/default Change-Id: Ifaf91e74b01230c5926fc43619cada80deaa1630 (cherry picked from commit def47ca32f7e932b27e6be5fd1b75e336b890856)
2022-02-10hwc3: do not check weak reference for client aliveLong Ling
Client weak ref is expired before the client destructor is called. A new client could be created in between and its weak ref gets reset unexpectedly during the prior client destruction. Use a bool variable to indicate if the client is alive. Bug: 215414703 Change-Id: I221f613cf8af81e1a79631ba28b1a99e6c63eb3a
2021-12-28hwc3: set setInheritRt on Composer and ComposerClientYichi Chen
In Composer3, the binder interface was changed from hwbinder to libinder due to the interface change from HIDL to AIDL. Unlike hwbinder, inherit real-time priority is not a default behavior in libbinder. The patch overrides the createBinder() for IComposer and IComposerClient to set InheritRt properly when their binders are created. Bug: 211720161 Test: Check the real-time priority on composer service. Change-Id: Ie2ead837b1157284d7764d83878e895a37d6c330
2021-11-17hwc3: update return codeLong Ling
Bug: 206690544 Change-Id: I265718cc26f8416f6fd15c9225d02a372488b0fb
2021-11-10hwc: migrate to composer3Long Ling
Bug: 201321174 Change-Id: I31834ad240c89f25427958f887a3c5015e9cb535