From 46a8600405e678718271f62c5994119b8d3241e9 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Wed, 8 Aug 2012 10:42:44 +0000 Subject: 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 --- include/gpu/GrTexture.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/gpu') 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 /** -- cgit v1.2.3