aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrProcessor.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-05-30 13:47:32 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-31 17:00:22 +0000
commit5efd5ea4e146c47394d16c8b6f876264822a0bee (patch)
tree81bff3047ae76431524c75bd9d351171b5fe50e5 /src/gpu/GrProcessor.h
parentbef2852a8ca0c2dccd9500857a03208d39e3d4f7 (diff)
Update clearOp for split-OpList world (take 3)
It would reduce a lot of noise if the GrRenderTargetOpList kept a pointer to the GrCaps but, for now, I'm trying to shrink the GrRTOpList, not expand it. Reland of: https://skia-review.googlesource.com/c/17323/ (Update clearOp for split-OpList world) Change-Id: Ia61ce4d6ce245380fc9651928a46c22039fc12cf Reviewed-on: https://skia-review.googlesource.com/18026 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrProcessor.h')
-rw-r--r--src/gpu/GrProcessor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrProcessor.h b/src/gpu/GrProcessor.h
index 1afb8ca92b..0cf4fb1370 100644
--- a/src/gpu/GrProcessor.h
+++ b/src/gpu/GrProcessor.h
@@ -344,7 +344,7 @@ public:
bool operator!=(const ImageStorageAccess& that) const { return !(*this == that); }
- GrTextureProxy* proxy() const { return fProxyRef.getProxy()->asTextureProxy(); }
+ GrTextureProxy* proxy() const { return fProxyRef.get()->asTextureProxy(); }
GrShaderFlags visibility() const { return fVisibility; }
GrIOType ioType() const { return fProxyRef.ioType(); }
GrImageStorageFormat format() const { return fFormat; }
@@ -353,12 +353,12 @@ public:
// 'instantiate' should only ever be called at flush time.
bool instantiate(GrResourceProvider* resourceProvider) const {
- return SkToBool(fProxyRef.getProxy()->instantiate(resourceProvider));
+ return SkToBool(fProxyRef.get()->instantiate(resourceProvider));
}
// 'peekTexture' should only ever be called after a successful 'instantiate' call
GrTexture* peekTexture() const {
- SkASSERT(fProxyRef.getProxy()->priv().peekTexture());
- return fProxyRef.getProxy()->priv().peekTexture();
+ SkASSERT(fProxyRef.get()->priv().peekTexture());
+ return fProxyRef.get()->priv().peekTexture();
}
/**