aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawState.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-09-17 08:05:40 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-17 08:05:40 -0700
commitf96ba02513eadd9fa24d75396ec9f2d6682e464c (patch)
tree099e3c820265428e5aad86d236fed2b1252294f8 /src/gpu/GrDrawState.h
parent4aa6dfc0b77af9ac298bb9d48991b72a2fec00b2 (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 'src/gpu/GrDrawState.h')
-rw-r--r--src/gpu/GrDrawState.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index f04d592713..4d720624aa 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -9,7 +9,7 @@
#define GrDrawState_DEFINED
#include "GrBlend.h"
-#include "GrProgramResource.h"
+#include "GrGpuResourceRef.h"
#include "GrRODrawState.h"
#include "effects/GrSimpleTextureEffect.h"
@@ -405,7 +405,7 @@ public:
* @param target The render target to set.
*/
void setRenderTarget(GrRenderTarget* target) {
- fRenderTarget.set(SkSafeRef(target), GrProgramResource::kWrite_IOType);
+ fRenderTarget.set(SkSafeRef(target), GrGpuResourceRef::kWrite_IOType);
this->invalidateOptState();
}