diff options
author | 2012-08-08 10:42:44 +0000 | |
---|---|---|
committer | 2012-08-08 10:42:44 +0000 | |
commit | 46a8600405e678718271f62c5994119b8d3241e9 (patch) | |
tree | d06dbc4cb7d81e5805ededba4aeaab2e62687065 /include/gpu | |
parent | 760be85f9b9d45d2062c8567794a0379662c18ff (diff) |
Refactored cacheID in preparation for clip mask caching changes
http://codereview.appspot.com/6458089/
git-svn-id: http://skia.googlecode.com/svn/trunk@5002 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrTexture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h index d4a7cc61e0..2ccd3014f8 100644 --- a/include/gpu/GrTexture.h +++ b/include/gpu/GrTexture.h @@ -10,6 +10,7 @@ #define GrTexture_DEFINED #include "GrSurface.h" +#include "GrCacheID.h" class GrRenderTarget; class GrResourceKey; @@ -30,6 +31,7 @@ class GrTexture : public GrSurface { public: SK_DECLARE_INST_COUNT(GrTexture) + GR_DECLARE_RESOURCE_CACHE_TYPE() // from GrResource /** |