summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-12-16 13:27:37 -0600
committerRiddle Hsu <riddlehsu@google.com>2019-12-18 16:06:00 +0800
commit5df3b75239886a6a491666636d523e0f4f8490f9 (patch)
treed3916887e5727503819c0ebc4e0730b5cb29c5fd /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent83a8a3bcfddbcad071165b81cfec6e1b89bdcf12 (diff)
Reduce unnecessary redraw when unlocking
The visible windows may be drawn earlier then the timing to start requesting draw. And the starting window should be used to cover the drawing time of main window. This may reduce hundreds of milliseconds of unlock latency on slower devices. Bug: 139522754 Bug: 140811348 Test: atest ActivityVisibilityTests WindowStateTests#testRequestDrawIfNeeded Test: Use biometrics to unlock device with log WM_DEBUG_SCREEN_ON and WM_DEBUG_DRAW enabled. There shouldn't have multiple finishDrawingWindow from the same window. Change-Id: I258fad2ef69b7d912ce6f799eb1f3adf29e38aec
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions