diff options
| author | Romain Guy <romainguy@google.com> | 2010-10-12 18:15:42 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2010-10-12 18:15:42 -0700 |
| commit | e91080581f467d55913a8c5ab53dedc2dab2e5b6 (patch) | |
| tree | ef4bfc31fac147b8a36b3c3d6593726106825032 /libs/hwui/LayerCache.h | |
| parent | 1f114a55b5eaaa81bd302c9ad851362512b61e2f (diff) | |
| download | frameworks_base-e91080581f467d55913a8c5ab53dedc2dab2e5b6.zip frameworks_base-e91080581f467d55913a8c5ab53dedc2dab2e5b6.tar.gz frameworks_base-e91080581f467d55913a8c5ab53dedc2dab2e5b6.tar.bz2 | |
Tweak layers caching for better performance in Launcher.
Change-Id: Ia6e67699d98f69c8a93385b3ecbdd814c7b16921
Diffstat (limited to 'libs/hwui/LayerCache.h')
| -rw-r--r-- | libs/hwui/LayerCache.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
