aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-08 10:42:44 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-08 10:42:44 +0000
commit46a8600405e678718271f62c5994119b8d3241e9 (patch)
treed06dbc4cb7d81e5805ededba4aeaab2e62687065 /include/gpu
parent760be85f9b9d45d2062c8567794a0379662c18ff (diff)
Refactored cacheID in preparation for clip mask caching changes
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/GrTexture.h2
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
/**