summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2017-03-01 20:17:58 -0800
committerRobert Carr <racarr@google.com>2017-03-01 20:17:58 -0800
commitdb2f6e6edf864d17e53d48e62c4b4d04529e4081 (patch)
treeca0e95a5953c8cd56a52177eb861fa6e42d5db0f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente65a1c4fde39d025957a29962ebdcbac92f72223 (diff)
Don't destroy preserved surfaces when cleaning up on resume.
We clean up surfaces from apps which were stopping (mDestroying=true) but not stopped when we resume, as described in commit 45e6d2d. The removal of preserved surfaces was added earlier in eb66557 for a use case where an app is stopped without an animation pass. It seems the clean up of preserved surfaces on resume may be more coincidental than intentional, so let's try disabling it! This fixes flicker at the end of the PiP animation when we use preserved surfaces for switching in to fullscreen. Bug: 35396882 Test: Move PiP to fullscreen. No flickers? Change-Id: I0df55b11774c826027b0982fca7a28f4d8322d1d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions