summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2021-03-16 20:26:50 +0000
committerGeorge Mount <mount@google.com>2021-03-16 20:42:17 +0000
commita479a3268f5fd63d1dc414b33545473aef3c75a1 (patch)
treeb064437531ff9d9d9ac016956448cdcfd32a97b0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente3e90bd0c4f9523813d6726a676e0eea7fd3a101 (diff)
Fix bug in EdgeEffect with glow
Fixes: 182499389 With the glow edge effect, using the drag gesture to reduce the edge glow could cause the glow to flip and repeat. This was caused by the update() modifying the determined distance during the pull when it wasn't animating. We also force the alpha to be 0 if the pull distance is 0. Test: manual testing Change-Id: Iacc1df0fcb92e3380523187badf7ea62d7d19d2f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions