summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2014-06-20 14:17:29 -0700
committerChet Haase <chet@google.com>2014-06-21 08:31:03 -0700
commit3aff2a0813ad77fd41b39b6a636faf2de6d78acc (patch)
tree77fe73f89e98e12fa31ffafeebee034202175f27 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent89bb755aedad7f603265b5a18ae4acae627476de (diff)
Avoid resetting gradient state when not actually rebuilding it
Previous logic in GradientDrawable around rebuilding the gradient path was incorrect, but it happened to work because of when it was called (after ensureValidRect() in the draw() method). Further reliance on this logic outside of the drawing cycle (in the new getOutline() method) caused the side-effect to surface as we now clear the dirty flag without actually rebuilding the gradient. Fix avoids resetting the flag outside of ensureValidRect() where it belongs. Issue #15508378 Quantum ui having issues with viewing comments on facebook app Change-Id: Ia944d3de7e3c0920fed040188e8c1cc1bcce498d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions