diff options
author | 2010-08-02 18:50:22 -0700 | |
---|---|---|
committer | 2010-08-02 18:50:56 -0700 | |
commit | db1938e0e6ef816e228c815adccebd5cb05f2aa8 (patch) | |
tree | d40e91a873bca6750083fdb1713a12b469ebad4d /libs/hwui/ProgramCache.h | |
parent | 16f8c620abd0ea07e704b6997a66a45ad3590dea (diff) |
Add support for ColorFilters.
Color filters are fully supported and can be used with shaders.
Change-Id: Id90ccf1c81cb462f2431f366f3f8f710d7971e04
Diffstat (limited to 'libs/hwui/ProgramCache.h')
-rw-r--r-- | libs/hwui/ProgramCache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/hwui/ProgramCache.h b/libs/hwui/ProgramCache.h index d60f6cefc240..a1a4a0e1b879 100644 --- a/libs/hwui/ProgramCache.h +++ b/libs/hwui/ProgramCache.h @@ -35,7 +35,7 @@ namespace uirenderer { /////////////////////////////////////////////////////////////////////////////// // Debug -#define DEBUG_PROGRAM_CACHE 1 +#define DEBUG_PROGRAM_CACHE 0 // Debug #if DEBUG_PROGRAM_CACHE @@ -180,6 +180,8 @@ private: void generatePorterDuffBlend(String8& shader, const char* name, SkXfermode::Mode mode); void generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT); + void printLongString(const String8& shader) const; + KeyedVector<programid, Program*> mCache; }; // class ProgramCache |