summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2012-09-05 11:40:29 -0700
committerChet Haase <chet@google.com>2012-09-07 13:27:02 -0700
commitd15ebf25c595b855f6978d0600218e3ea5f31e92 (patch)
tree35154bd1ec18cf8299a0d737847291ab28a5c98b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4db5d23deab9ea8de34cdb1c56af31e6e3cff79b (diff)
Enable changing properties of layer paint
Previously, to draw a layered view with a changed Paint object for the drawLayer operation, you'd have to invalidate the parent view, to get the native DisplayList to pick up the new Paint properties. This change adds API and functionality so that the developer can call setLayerPaint(), which does the proper invalidation (lightweight, doesn't cause redrawing the view). Issue #6923810 Make it easy to efficiently animate a layer's Paint Change-Id: I7fea79788d50f6d9c86dd5e5b2a4490cb95142bb
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions