summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2021-05-25 13:44:08 -0700
committerRobert Carr <racarr@google.com>2021-05-25 17:14:26 -0700
commit776dd9e55613e3e630159371cb2c5f37075626d5 (patch)
tree8f41af7a5cf21f834313922b0ec5dec32e78fc71 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent926a7ee3f339eee64c01b6be1ca9b5365d468358 (diff)
ViewRootImpl: Correct opaque flag usage
In performTraversals, "params" may be null. In this case we were not passing params to the WM indicating no changes (an obscure artifact of the protocol). In R the WM would simply ignore this however our updateOpacity logic in S is treating null as "translucent" it seems easiest to just pass mWindowAttributes directly avoiding the null case. While the opacity was broken, it seems an animation was added to StartingSurfaceDrawer which depends on having a translucent window. We also update this code to request a transparent pixel format as would have been required in the R API. Bug: 186555833 Test: Existing tests pass Change-Id: I180bf1796bbb4b7049ae9811f674f31014c2a400
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions