summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFiona Campbell <flc@google.com>2019-11-22 12:29:44 +0000
committerFiona Campbell <flc@google.com>2019-11-22 16:36:10 +0000
commit466dc04d8828cc1ef23c1764eb7bc5975e00a170 (patch)
tree8afca3f9e7bcedba6c46b6a002982e0540d53f24 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentaf30a90e37724c36e13a5f4ee4cfb1955e9d6ad5 (diff)
Use -1.0f in SurfaceControl to turn off brightness
-1.0f is sent to SurfaceControl if the brightess is equal to 0. 0 was originally used; -1.0f is being used in preparation for using floating point brightness in the whole framework. Test: Manual Bug: b/139959979 Change-Id: I7d72a8c39d1c225ea9c2a2651366111df3be355d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions