summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorIssei Suzuki <issei@google.com>2019-06-17 15:56:57 +0200
committerIssei Suzuki <issei@google.com>2019-07-04 09:49:23 +0200
commit006b71f401008a4101abd5b563c780aa4b7fcf43 (patch)
tree57ab2d0f65f2df67553b6655eef02d6e1fbe4031 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent8958bbac1cc8c17235c1e7d490c251c28da0a923 (diff)
Support alpha value in SurfaceView.
For backward compatibility, SurfaceView ignores alpha value by default. In order to reflect alpha value set on the SurfaceView to its underlying surface, setUseAlpha() needs to be called. Translucent alpha only works when the surface is placed z-above. Otherwise only fully opaque and transparent status are supported. Bug: 130442248 Test: Manual, use BubblesTest app and checks if alpha is set. Change-Id: I86847de59109b2adf12a2c7c50c988c2cbcf0450
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions