summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-02-06 00:24:53 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-02-09 08:49:11 +0000
commit4bc0e4eb1250d6eccfb8d4404f7bc22001eb61fd (patch)
treeacbc3eacd87bb763f4b932af484270c432467190 /rs/java/android/renderscript/ProgramStore.java
parent6a7f2d9e9541bfd0444c0f7a0f16ab88b36bf4cd (diff)
Apply launch power mode during freezing screen
The most common case of freezing screen is display orientation change. It usually needs to relaunch activity and redraw windows, that is similar to the scenario of normal activity launch. So also apply the "launch" power mode to speed up the procedure. This can reduce about 10% freezing time for both relaunch and no-relaunch cases. Bug: 178472794 Test: Rotate device and check log "Screen frozen for". Change-Id: Idd4a2374d8ce978af36d75135b680a10c240f66d
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions