aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrTextureAccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrTextureAccess.h')
-rw-r--r--include/gpu/GrTextureAccess.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gpu/GrTextureAccess.h b/include/gpu/GrTextureAccess.h
index 2fd17375b0..d552e440ca 100644
--- a/include/gpu/GrTextureAccess.h
+++ b/include/gpu/GrTextureAccess.h
@@ -8,7 +8,7 @@
#ifndef GrTextureAccess_DEFINED
#define GrTextureAccess_DEFINED
-#include "GrProgramResource.h"
+#include "GrGpuResourceRef.h"
#include "GrTexture.h"
#include "SkRefCnt.h"
#include "SkShader.h"
@@ -167,7 +167,7 @@ public:
/**
* For internal use by GrEffect.
*/
- const GrProgramResource* getProgramTexture() const { return &fTexture; }
+ const GrGpuResourceRef* getProgramTexture() const { return &fTexture; }
/**
* Returns a string representing the swizzle. The string is is null-terminated.
@@ -183,7 +183,7 @@ public:
private:
void setSwizzle(const char*);
- typedef GrProgramTResource<GrTexture> ProgramTexture;
+ typedef GrTGpuResourceRef<GrTexture> ProgramTexture;
ProgramTexture fTexture;
GrTextureParams fParams;