diff options
author | 2016-11-17 15:17:07 -0500 | |
---|---|---|
committer | 2016-11-17 21:13:18 +0000 | |
commit | 514baff8be7f71111aa7bfb9b099a096b31e16ec (patch) | |
tree | 635854f47c42f30de48e739b42eb85aba2f1efb3 /src/gpu/GrPaint.cpp | |
parent | 7776029b54cc8c21fd6e0c1aa5a3b30e8bb52939 (diff) |
Rename GrTextureParams to GrSamplerParams
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4965
Change-Id: I7d52e81c670e92ca96117284f44b274ce3cc3671
Reviewed-on: https://skia-review.googlesource.com/4965
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrPaint.cpp')
-rw-r--r-- | src/gpu/GrPaint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp index c6d7f7d60d..d5f8d3d0c1 100644 --- a/src/gpu/GrPaint.cpp +++ b/src/gpu/GrPaint.cpp @@ -38,7 +38,7 @@ void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& ma void GrPaint::addColorTextureProcessor(GrTexture* texture, sk_sp<GrColorSpaceXform> colorSpaceXform, const SkMatrix& matrix, - const GrTextureParams& params) { + const GrSamplerParams& params) { this->addColorFragmentProcessor(GrSimpleTextureEffect::Make(texture, std::move(colorSpaceXform), matrix, params)); @@ -46,7 +46,7 @@ void GrPaint::addColorTextureProcessor(GrTexture* texture, void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix, - const GrTextureParams& params) { + const GrSamplerParams& params) { this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Make(texture, nullptr, matrix, params)); } |