diff options
author | Brian Osman <brianosman@google.com> | 2016-11-28 10:06:27 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-28 15:44:40 +0000 |
commit | e8e54580c3c91fd485187af040af118aa5153261 (patch) | |
tree | 27d67ccb3500d300ba40e52bef56c05b095999df /src/gpu/SkGpuDevice_drawTexture.cpp | |
parent | e9f78b41c65a78400c22a1b79007b1b9e187a745 (diff) |
GrTextureProducer cleanup, phase two: Producer, Adjuster, Maker
Previously: GrTextureProducer, GrTextureAdjuster, and GrTextureMaker
were all in GrTextureParamsAdjuster.h. Now they're each in their own
header.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5202
Change-Id: I17fa9057b11511aa4d3e15569ea1c378cfec4c80
Reviewed-on: https://skia-review.googlesource.com/5202
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/SkGpuDevice_drawTexture.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice_drawTexture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/SkGpuDevice_drawTexture.cpp b/src/gpu/SkGpuDevice_drawTexture.cpp index 74afca9beb..93c9f18737 100644 --- a/src/gpu/SkGpuDevice_drawTexture.cpp +++ b/src/gpu/SkGpuDevice_drawTexture.cpp @@ -11,7 +11,7 @@ #include "GrCaps.h" #include "GrRenderTargetContext.h" #include "GrStyle.h" -#include "GrTextureParamsAdjuster.h" +#include "GrTextureAdjuster.h" #include "SkDraw.h" #include "SkGrPriv.h" #include "SkMaskFilter.h" @@ -168,7 +168,7 @@ void SkGpuDevice::drawTextureProducerImpl(GrTextureProducer* producer, &doBicubic); const GrSamplerParams::FilterMode* filterMode = doBicubic ? nullptr : &fm; - GrTextureAdjuster::FilterConstraint constraintMode; + GrTextureProducer::FilterConstraint constraintMode; if (SkCanvas::kFast_SrcRectConstraint == constraint) { constraintMode = GrTextureAdjuster::kNo_FilterConstraint; } else { |