summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-07-21 17:24:46 -0700
committerJorim Jaggi <jjaggi@google.com>2015-07-22 19:21:44 +0000
commitac73f1efea0cb23881571e18e87ffc7f388af7ad (patch)
tree75e96228da2aeebb80989db0a66826ba62f6cecb /rs/java/android/renderscript/RenderScript.java
parent6f64e737f046cd9ae13e260027781acfabaa4cba (diff)
Partially fix that beginning of animation is skipped
When waiting for all the windows that belong to an activity, we skipped the main window, in case it didn't had a surface yet. This was a problem because with SurfaceViews: They set it's visibility extremely early in the app visibility change cycle. Then, they don't block with the callback to SurfaceHolder.Callback2.surfaceRedrawNeeded, so window manager thinks it has drawn the first frame already. We don't even have a surface for the main window yet, but we start the app transition already because we think the only interesting window for this app token is the SurfaceView, which has supposedly already drawn. Bug: 22207948 Change-Id: I2ddb274000fa08866e193f4fd8db3788fc55e0f1
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions