diff options
author | bsalomon <bsalomon@google.com> | 2014-09-17 08:05:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-17 08:05:40 -0700 |
commit | f96ba02513eadd9fa24d75396ec9f2d6682e464c (patch) | |
tree | 099e3c820265428e5aad86d236fed2b1252294f8 /include/gpu/GrTextureAccess.h | |
parent | 4aa6dfc0b77af9ac298bb9d48991b72a2fec00b2 (diff) |
Rename GrProgramResource to GrGpuResourceRef
BUG=skia:2889
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/574333003
Diffstat (limited to 'include/gpu/GrTextureAccess.h')
-rw-r--r-- | include/gpu/GrTextureAccess.h | 6 |
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; |