summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-06-22 17:45:44 -0700
committer Ady Abraham <adyabr@google.com> 2021-06-22 17:45:57 -0700
commit8565ad23585b11b5d06b2cdfda04cda070561ed1 (patch)
treee91c6a5d3fbf1a9eadf556f85ee76a125babbf6f /libs/gui/SurfaceComposerClient.cpp
parent6b9039967ee1e25e7e53bf8cc04a16aa0bfe2191 (diff)
SF: always preallocate the client composition buffers
We have seen that allocating a GraphicBuffer on the first use of client composition contributes to jank. To prevent that we pre-allocate all the needed buffers when we setup the DisplayDevice. Bug: 191633152 Test: observe logs that pre-allocation happened. Change-Id: Ia10e023e5c91e6fd94906b90044dd9378d01051c
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions