summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-03-19 11:32:41 -0700
committerRomain Guy <romainguy@google.com>2013-03-19 11:32:41 -0700
commit115096f50a560e64a7f95d37686d4861042c7aeb (patch)
tree95f72f39e1f1275bf9c51dbda3c04774dc48d3fa /graphics/java/android/renderscript/Program.java
parentbbb4e03ad4e86e79c9b51cbb18c563a5a79cf837 (diff)
Minimize texture binds when drawing text
When several CacheTextures are used to draw text, sort the draw batches by texture ID to minimize state changes in the driver. This change also tweaks the font cache size and renames a property that was too long to be set using setprop. Change-Id: I0a36dfffe58c9e75dd7384592d3343c192d042b1
Diffstat (limited to 'graphics/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions