diff options
author | Derek Sollenberger <djsollen@google.com> | 2017-12-04 15:07:08 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2017-12-05 10:41:07 -0500 |
commit | 03e6cff7a6b20d68babc0b90b15112561360f17f (patch) | |
tree | 4bd11bb0f0d23c50d21c4139b70f5978615388b8 /libs/hwui/renderthread/CacheManager.cpp | |
parent | ca1265e26fcfaae53e0f4dd9d3aa0023158305dc (diff) |
Allocate textures in multiples of LAYER_SIZE.
This matches the behavior of the old HWUI renderer and avoids
jank when trying to release a series of small textures.
Test: UiBenchJankTests #testResizeHwLayer
Bug: 69566781
Change-Id: Idc01f8438e85d4810032fd30a141132a6cdd47a1
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions