aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrXferProcessor.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2016-11-17 12:48:40 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-17 19:35:53 +0000
commitdb4183d227b764b219e9e314dd5387ded4c38797 (patch)
treeb4b7e00004e18497418aa449b1b334bd800aa595 /include/gpu/GrXferProcessor.h
parent3a88725d582a8ad816db872d171aa7fdb9b85822 (diff)
In GrProcessor::TextureSampler drop the "get", it's cleaner
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4962 Change-Id: I55e7f8d1b6e1097fdbe411e9989dd42a03dd5f33 Reviewed-on: https://skia-review.googlesource.com/4962 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/gpu/GrXferProcessor.h')
-rw-r--r--include/gpu/GrXferProcessor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h
index 3bc9eddb55..cdc95d50af 100644
--- a/include/gpu/GrXferProcessor.h
+++ b/include/gpu/GrXferProcessor.h
@@ -179,7 +179,7 @@ public:
* shader. If the returned texture is NULL then the XP is either not reading the dst or we have
* extentions that support framebuffer fetching and thus don't need a copy of the dst texture.
*/
- const GrTexture* getDstTexture() const { return fDstTexture.getTexture(); }
+ const GrTexture* getDstTexture() const { return fDstTexture.texture(); }
/**
* Returns the offset in device coords to use when accessing the dst texture to get the dst
@@ -218,7 +218,7 @@ public:
if (this->fWillReadDstColor != that.fWillReadDstColor) {
return false;
}
- if (this->fDstTexture.getTexture() != that.fDstTexture.getTexture()) {
+ if (this->fDstTexture.texture() != that.fDstTexture.texture()) {
return false;
}
if (this->fDstTextureOffset != that.fDstTextureOffset) {