summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorChavi Weingarten <chaviw@google.com>2020-08-04 20:24:12 +0000
committerChavi Weingarten <chaviw@google.com>2020-08-04 20:36:49 +0000
commite6c662098d26aa1470156a246349245f89a41cbc (patch)
tree5d42ef448b622b045877b4499981f3eb13635b6e /rs/java/android/renderscript/Program.java
parenta5498a5d70ac017fe3a338d17dc32e4cede40ddc (diff)
Revert "Reparent bounds layer if surface was replaced."
This was intended to fix a reparent issue when preserving surfaces before the app was closed. That is no longer happening so this change is no longer needed. The reason this causes the flicker is it waits to reparent until next frame. However, the frame can be submitted before WM gets a chance to show the new Surface since that request is sent to WM. Therefore, the SurfaceView can end up getting reparented to the new SurfaceControl before the new SurfaceControl is visible, causing it to be hidden for a few frames. This reverts commit c1dcac956838818a57b9334332df21ac55e91c02. Reason for revert: b/162377855 Fixes: 162377855 Test: Split screen with SurfaceView doesn't flicker Change-Id: Ic7a209b7aa66e278b99a526d8427f140b31de0f6
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions