summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2021-03-12 18:16:00 +0800
committerwilsonshih <wilsonshih@google.com>2021-03-22 14:54:31 +0800
commit9d1ce22f88ab653e79837f154abc52792375ba30 (patch)
treedf566ff1b1b7712d0427d21f1d318b2a971c4b76 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf505c5d215d8e8511b4034362ac6de99ee66a299 (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