From b86add1ad37776818e1f730359ec587c9fdbff5f Mon Sep 17 00:00:00 2001 From: "humper@google.com" Date: Thu, 25 Jul 2013 18:49:07 +0000 Subject: make the filter mode for GrTextureAccess an enum so we can plumb down the paint's filter modes to the GPU BUG= R=bsalomon@google.com Review URL: https://codereview.chromium.org/20362002 git-svn-id: http://skia.googlecode.com/svn/trunk@10368 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/effects/GrSingleTextureEffect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpu/effects/GrSingleTextureEffect.cpp') diff --git a/src/gpu/effects/GrSingleTextureEffect.cpp b/src/gpu/effects/GrSingleTextureEffect.cpp index 0c671f16d0..532ce04217 100644 --- a/src/gpu/effects/GrSingleTextureEffect.cpp +++ b/src/gpu/effects/GrSingleTextureEffect.cpp @@ -18,9 +18,9 @@ GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, const SkMatrix& m, - bool bilerp, + GrTextureParams::FilterMode filterMode, CoordsType coordsType) - : fTextureAccess(texture, bilerp) + : fTextureAccess(texture, filterMode) , fMatrix(m) , fCoordsType(coordsType) { this->addTextureAccess(&fTextureAccess); -- cgit v1.2.3