diff options
author | 2016-11-17 11:38:22 -0500 | |
---|---|---|
committer | 2016-11-17 17:18:53 +0000 | |
commit | 0bbecb21ab82b3d742c491780bcc2e74be03efed (patch) | |
tree | 0355eca170a7cb268b27049dd158886d7f62cb87 /src/gpu/effects/GrSingleTextureEffect.cpp | |
parent | 9de097639f04e5a18da2d2b123dace9d24ab50e4 (diff) |
Rename GrTextureAccess to GrProcessor::TextureSampler.
Renames vars and methods that used the work "access" to refer to this type.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4931
Change-Id: Ibcf488fbd445c5119fc13d190544cd98981bdbee
Reviewed-on: https://skia-review.googlesource.com/4931
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/effects/GrSingleTextureEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrSingleTextureEffect.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gpu/effects/GrSingleTextureEffect.cpp b/src/gpu/effects/GrSingleTextureEffect.cpp index 2683789431..929275e3ad 100644 --- a/src/gpu/effects/GrSingleTextureEffect.cpp +++ b/src/gpu/effects/GrSingleTextureEffect.cpp @@ -11,10 +11,10 @@ GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, sk_sp<GrColorSpaceXform> colorSpaceXform, const SkMatrix& m) : fCoordTransform(m, texture, GrTextureParams::kNone_FilterMode) - , fTextureAccess(texture) + , fTextureSampler(texture) , fColorSpaceXform(std::move(colorSpaceXform)) { this->addCoordTransform(&fCoordTransform); - this->addTextureAccess(&fTextureAccess); + this->addTextureSampler(&fTextureSampler); } GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, @@ -22,10 +22,10 @@ GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, const SkMatrix& m, GrTextureParams::FilterMode filterMode) : fCoordTransform(m, texture, filterMode) - , fTextureAccess(texture, filterMode) + , fTextureSampler(texture, filterMode) , fColorSpaceXform(std::move(colorSpaceXform)) { this->addCoordTransform(&fCoordTransform); - this->addTextureAccess(&fTextureAccess); + this->addTextureSampler(&fTextureSampler); } GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, @@ -33,10 +33,10 @@ GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, const SkMatrix& m, const GrTextureParams& params) : fCoordTransform(m, texture, params.filterMode()) - , fTextureAccess(texture, params) + , fTextureSampler(texture, params) , fColorSpaceXform(std::move(colorSpaceXform)) { this->addCoordTransform(&fCoordTransform); - this->addTextureAccess(&fTextureAccess); + this->addTextureSampler(&fTextureSampler); } GrSingleTextureEffect::~GrSingleTextureEffect() { |