From 5b3b35296e8b2c8d3f07d32bb645d5414db41a1d Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 27 Oct 2010 18:57:51 -0700 Subject: Optimize FBO drawing with regions. This optimization is currently disabled until Launcher is modified to take advantage of it. The optimization can be enabled by turning on RENDER_LAYERS_AS_REGIONS in the OpenGLRenderer.h file. Change-Id: I2fdf59d0f4dc690a3d7f712173ab8db3848b27b1 --- libs/hwui/ProgramCache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/hwui/ProgramCache.h') diff --git a/libs/hwui/ProgramCache.h b/libs/hwui/ProgramCache.h index 9cb13b391f63..186e8696d555 100644 --- a/libs/hwui/ProgramCache.h +++ b/libs/hwui/ProgramCache.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ANDROID_UI_PROGRAM_CACHE_H -#define ANDROID_UI_PROGRAM_CACHE_H +#ifndef ANDROID_HWUI_PROGRAM_CACHE_H +#define ANDROID_HWUI_PROGRAM_CACHE_H #include #include @@ -258,4 +258,4 @@ private: }; // namespace uirenderer }; // namespace android -#endif // ANDROID_UI_PROGRAM_CACHE_H +#endif // ANDROID_HWUI_PROGRAM_CACHE_H -- cgit v1.2.3-59-g8ed1b