summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Properties.h
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 /libs/hwui/Properties.h
parentbbb4e03ad4e86e79c9b51cbb18c563a5a79cf837 (diff)
downloadframeworks_base-115096f50a560e64a7f95d37686d4861042c7aeb.zip
frameworks_base-115096f50a560e64a7f95d37686d4861042c7aeb.tar.gz
frameworks_base-115096f50a560e64a7f95d37686d4861042c7aeb.tar.bz2
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 'libs/hwui/Properties.h')
-rw-r--r--libs/hwui/Properties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h
index 5f39abf..e4b4f3c 100644
--- a/libs/hwui/Properties.h
+++ b/libs/hwui/Properties.h
@@ -119,7 +119,7 @@ enum DebugLevel {
#define PROPERTY_FBO_CACHE_SIZE "ro.hwui.fbo_cache_size"
// These properties are defined in percentage (range 0..1)
-#define PROPERTY_TEXTURE_CACHE_FLUSH_RATE "ro.hwui.texture_cache_flush_rate"
+#define PROPERTY_TEXTURE_CACHE_FLUSH_RATE "ro.hwui.texture_cache_flushrate"
// These properties are defined in pixels
#define PROPERTY_TEXT_SMALL_CACHE_WIDTH "ro.hwui.text_small_cache_width"