summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2011-06-22 09:18:31 -0700
committerChet Haase <chet@google.com>2011-06-22 15:53:53 -0700
commitad4f70306b2089a273635b73a101fe48aa36cbe2 (patch)
treeed8fb993089e8b27401dabe4e3d64b37b5c3a6ea /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent8969d9924c662ab4cdacc342bbdc33756db730be (diff)
Fix flashing artifacts caused by invalidation bugs
Therea re 2 fixes here: - We sometimes cleared a flag in ViewAncestor too soon that controlled how invalidated areas were redrawn (related to whether the invalidates happened on opaque views or not). - TransitionDrawable was always setting/restoring alpha values on its drawables every time it was drawn. setAlpha on BitmapDrawable causes an invalidation, so essentially this was an infinite invalidation/redrawing loop. The fix was to notice when the animation was done and to simply draw the appropriate drawable[s]. Change-Id: I1849a5a909b0039a0e9bce0aa3cfc33c50f8f854
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions