summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2017-05-30 11:25:22 -0700
committerRobert Carr <racarr@google.com>2017-05-30 11:47:14 -0700
commit486bbb73c8190e6b377ea0bdf6b598503f3b0d04 (patch)
treeab39ea8730121e944ccf13af9d0136c4fa488d05 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent5366cfbef3089153a0d15b052fcca53e7c8dc32c (diff)
Prevent unnecesary Surface preservation.
We don't save the Surface's pixel format, and so any time there is a change in the pixel format as described in the params we trigger a surface preservation. However if an app is switching from forced translucent (due to HW accel) to explicitly translucent even though the layout params have changed we don't actually need to trigger a format change, just toggle the OPAQUE flag. Bug: 38324871 Test: Launch Chrome Custom Tabs with Lateral Transition Animation from News and Weather App. No black bars. go/wm-smoke Change-Id: I2151b4470fd7c395fba7aad7d6ffca4c51e55476
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions