From e9cd97ee88e6628897e878889d3920857e9c118a Mon Sep 17 00:00:00 2001 From: John Reck Date: Wed, 17 Sep 2014 14:09:26 -0700 Subject: [PATCH] Change default fbo cache size to 0 Bug: 17479800 FBO cache is very expensive and no longer necessary, disable it by just setting size to 0. Change-Id: I664616f262c8339919e1d20baaafa5de2b628d7e --- libs/hwui/Properties.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h index feaee8ed5009f..7eb9a32843e1a 100644 --- a/libs/hwui/Properties.h +++ b/libs/hwui/Properties.h @@ -227,7 +227,7 @@ enum DebugLevel { #define DEFAULT_PATCH_CACHE_SIZE 128 // in kB #define DEFAULT_GRADIENT_CACHE_SIZE 0.5f #define DEFAULT_DROP_SHADOW_CACHE_SIZE 2.0f -#define DEFAULT_FBO_CACHE_SIZE 16 +#define DEFAULT_FBO_CACHE_SIZE 0 #define DEFAULT_TEXTURE_CACHE_FLUSH_RATE 0.6f