commit | c1bb20c06653ca9ad4051c05850beac1827403ad | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Mon Mar 25 11:06:12 2019 -0700 |
committer | Peiyong Lin <lpy@google.com> | Mon Mar 25 11:08:32 2019 -0700 |
tree | 6b7886ed84609925fcb73b51090969f5007ab495 | |
parent | 7c3ae9c745ec325690cd60d791bde7ec1183da42 [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