diff options
author | wilsonshih <wilsonshih@google.com> | 2021-03-12 18:16:00 +0800 |
---|---|---|
committer | wilsonshih <wilsonshih@google.com> | 2021-03-22 14:54:31 +0800 |
commit | 9d1ce22f88ab653e79837f154abc52792375ba30 (patch) | |
tree | df566ff1b1b7712d0427d21f1d318b2a971c4b76 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f505c5d215d8e8511b4034362ac6de99ee66a299 (diff) |
Pre-draw AdaptiveIconDrawable and cache it before doFrame
The AdaptiveIconDrawable can spend much time which will impact the
time for first window drawn. But usually there is a small time
between setContentView to doFrame, we can use this gap to pre-draw
the AdaptiveIconDrawable and cache it since we already know the size
and it won't change anymore.
Bug: 173975965
Test: atest StartingSurfaceDrawerTests SplashscreenTests
Change-Id: I759de2e1b4025dd150532f3fd5c67d1b404f56a0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions