commit | 8565ad23585b11b5d06b2cdfda04cda070561ed1 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Tue Jun 22 17:45:44 2021 -0700 |
committer | Ady Abraham <adyabr@google.com> | Tue Jun 22 17:45:57 2021 -0700 |
tree | e91c6a5d3fbf1a9eadf556f85ee76a125babbf6f | |
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