summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2012-03-13 11:03:25 -0700
committerChet Haase <chet@google.com>2012-03-16 09:14:52 -0700
commit9d1992deaeb3d60d5928f05b649a2cc654ba98a3 (patch)
treef6f5b527f3c4e2e43546ad65b24397734ac83e86 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parentf63c52ac87c07ca37b9681a949b1bb5febce3e43 (diff)
Optimizing DisplayList properties
DisplayList properties are still disabled default (flags in View.java and DisplayListRenderer.h). When they are enabled, and when a View has a DisplayList, invalidations due to property changes are now optimized to avoid causing DisplayList recreation. This eliminates the drawing step of invalidation (due to changes in these properties), only requiring issuing the previously-created DisplayList to the GL renderer. Invalidation is slightly faster (less overhead as we walk up the hierarchy), getDisplayList() is potentially much faster (going down to ~0ms), depending on the complexity of the View being redrawn and the size of the invalidated hierarchy. Change-Id: I57587d5b810c3595bdd72a6c52349c2a3d1bdf25
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions