From 096b8d96d539429de5e67b2821ef3f9ee0300842 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Fri, 1 Mar 2013 11:08:11 -0800 Subject: Add shader program selection shortcut Add a key manipulation that makes black text/paths use the standard simple bitmap/patch shader, since they are the same. Previously we'd create a separate shader for each because the keys differed, even though the shaders were functionally equivalent. Also fixes some issues around setting DEBUG_PROGRAM Change-Id: I0c77c684d58da03501ee9ab8239c7d4a70fd6b5c --- libs/hwui/ProgramCache.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'libs/hwui/ProgramCache.h') diff --git a/libs/hwui/ProgramCache.h b/libs/hwui/ProgramCache.h index 6cfe0c7c36b1..1ca148dbfd32 100644 --- a/libs/hwui/ProgramCache.h +++ b/libs/hwui/ProgramCache.h @@ -30,17 +30,6 @@ namespace android { namespace uirenderer { -/////////////////////////////////////////////////////////////////////////////// -// Defines -/////////////////////////////////////////////////////////////////////////////// - -// Debug -#if DEBUG_PROGRAMS - #define PROGRAM_LOGD(...) ALOGD(__VA_ARGS__) -#else - #define PROGRAM_LOGD(...) -#endif - /////////////////////////////////////////////////////////////////////////////// // Cache /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3-59-g8ed1b