summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2023-10-04 07:39:02 +0000
committer Yong Zhang <zhangyong@google.com> 2023-10-18 23:29:40 +0000
commit69f9522d248a61a25d2ca6435c835a68a40fcba2 (patch)
treea6dacf8a417363f990501469057eb1e6ef802d40 /libs/gui/BufferQueue.cpp
parent761221db4954881fab8b8d4718b6b64661909327 (diff)
Change small area detection to support new front end design
This will still use legacy layer to calculate the small dirty, and update the info to the LayerSnapshot. Also fix some issues in setIsSmallDirty() for 1. Set mSmallDirty flag as false if the surface damage region is invalid. 2. Apply the scaling to the damage region before dirty area calculations. Bug: 295062543 Bug: 303258910 Bug: 303609027 Test: atest LayerHistoryTest Test: atest SmallAreaDetectionTest Change-Id: Ib0e3737e63b5653422b5b5054b893578dc63f768
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions