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/Program.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libs/hwui/Program.cpp') diff --git a/libs/hwui/Program.cpp b/libs/hwui/Program.cpp index 25674c65f926..baed5fd7ea8e 100644 --- a/libs/hwui/Program.cpp +++ b/libs/hwui/Program.cpp @@ -21,12 +21,6 @@ namespace android { namespace uirenderer { -/////////////////////////////////////////////////////////////////////////////// -// Shaders -/////////////////////////////////////////////////////////////////////////////// - -#define SHADER_SOURCE(name, source) const char* name = #source - /////////////////////////////////////////////////////////////////////////////// // Base program /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3-59-g8ed1b