summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2019-03-25 11:06:12 -0700
committer Peiyong Lin <lpy@google.com> 2019-03-25 11:08:32 -0700
commitc1bb20c06653ca9ad4051c05850beac1827403ad (patch)
tree6b7886ed84609925fcb73b51090969f5007ab495 /libs/gui/BufferQueue.cpp
parent7c3ae9c745ec325690cd60d791bde7ec1183da42 (diff)
Cache shaders for rounded corners and window transition.
Previously we don't cache rounded corners shaders for color management and window transition, which causes shader compilation during window transition and takes 30+ ms. This patch caches all cases for both rounded corners and window transition, as a result, we cache 12 more shaders. BUG: 129274562 Test: Build, flash and boot. Verify no generateProgram in systrace. Change-Id: I450836f4303b9e0eaabd4b3b75d089b73a4fce9d
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions