summaryrefslogtreecommitdiff
path: root/hwc3/impl/HalImpl.cpp
diff options
context:
space:
mode:
authorWiwit Rifa'i <wiwitrifai@google.com>2023-07-03 23:27:58 +0800
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-19 03:06:06 +0000
commitd24fbd0b7b58cf454015325fe4521c1c6896ef27 (patch)
treecaf600f869792e7e00e18f2bad5a13b3a795390e /hwc3/impl/HalImpl.cpp
parentf3b51d7a4748fe62cb6b8c06fe35950522b3948a (diff)
libhwc2.1: revert behavior of setLayerCompositionType()
This is partial revert of ag/23598344. This will fix power regression & disappearing cursor issues caused by that patch. In ag/23598344, we didn't set mGeometryChanged if the composition is changed back to the original composition (initially set by setLayerCompositionType()) after falling back to client composition in the previous frame. But, it causes some regressions, e.g. power jump and disappearing cursor issues. Thus, this will revert to the previous behavior i.e. to always set mGeometryChanged as dirty whenever we change mCompositionType. Bug: 289010449 Test: v2/android-power-te/functional_media_test_suite/* Test: Use mouse and the cursor shouldn't disappear unexpectedly (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f6f0318b90c6e41d3d7bd456ca32a23b16399aaf) Merged-In: If73dc0353c9e3ede93ff02e675aa879bc54287e4 Change-Id: If73dc0353c9e3ede93ff02e675aa879bc54287e4
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
0 files changed, 0 insertions, 0 deletions