diff options
| author | 2021-06-22 17:45:44 -0700 | |
|---|---|---|
| committer | 2021-06-22 17:45:57 -0700 | |
| commit | 8565ad23585b11b5d06b2cdfda04cda070561ed1 (patch) | |
| tree | e91c6a5d3fbf1a9eadf556f85ee76a125babbf6f /libs/gui/SurfaceComposerClient.cpp | |
| parent | 6b9039967ee1e25e7e53bf8cc04a16aa0bfe2191 (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