diff options
| author | 2018-02-07 16:07:24 -0500 | |
|---|---|---|
| committer | 2018-02-07 21:15:28 +0000 | |
| commit | 7e6e64c2156cc71586cd2474c56fea7a7bfba435 (patch) | |
| tree | 42282016d806f698e87db58df030e7b9731715e5 /libs/hwui/ProgramCache.cpp | |
| parent | a13430af4c898514837a7e83fc062d77f9b57f3d (diff) | |
Do not allocate a hardware layer for TileLayout.
This was a regression introduced by ag/3429142 which replaced the usage
of PagedTileLayout with TileLayout in QS.
PagedTileLayout#hasOverlappingRendering was overridden to return
false, but TileLayout did not have the same optimization. Since QSAnimator
animates the alpha of this layout, a hardware layer was allocated
unnecessarily, potentially causing jank in the QQS <-> QS animation.
Bug: 72632226
Test: visual and using "Debug GPU overdraw" and "Show hardware layers updates"
Change-Id: Idfa8eeac0b63ae03942cccd59b52657ab263427f
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions