summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Brian Lindahl <blindahl@google.com> 2022-12-21 14:28:58 -0700
committer Brian Lindahl <blindahl@google.com> 2022-12-21 15:34:01 -0700
commit3e1e1e6920cb5265e0ef15ba81d33a3625de086d (patch)
treeed9878854dc363cf1e0a270d7d938cb8d2b2c790 /libs/gui/LayerState.cpp
parentf5ab5ae62252e952748a04d8099f6d0adcbd76a4 (diff)
Uncache the active buffer slot last
This allows the memory for the active buffer to be freed as soon as possible by purging it from HWC cache as soon as the next buffer is sent to the layer. Bug: 258196272 Test: atest OutputLayerUncacheBufferTest Change-Id: I96c24390de5757ac99b369119e9ba031afb0b042
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions