From e91080581f467d55913a8c5ab53dedc2dab2e5b6 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Tue, 12 Oct 2010 18:15:42 -0700 Subject: Tweak layers caching for better performance in Launcher. Change-Id: Ia6e67699d98f69c8a93385b3ecbdd814c7b16921 --- libs/hwui/LayerCache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/hwui/LayerCache.h') diff --git a/libs/hwui/LayerCache.h b/libs/hwui/LayerCache.h index e64366f..ae792ab 100644 --- a/libs/hwui/LayerCache.h +++ b/libs/hwui/LayerCache.h @@ -30,6 +30,8 @@ namespace uirenderer { // Debug #define DEBUG_LAYERS 0 +// Indicates whether to remove the biggest layers first, or the smaller ones +#define LAYER_REMOVE_BIGGEST 0 // Textures used by layers must have dimensions multiples of this number #define LAYER_SIZE 64 -- cgit v1.1