diff options
author | 2013-07-25 18:49:07 +0000 | |
---|---|---|
committer | 2013-07-25 18:49:07 +0000 | |
commit | b86add1ad37776818e1f730359ec587c9fdbff5f (patch) | |
tree | 60ffaf791a016466b521853c13fa98c99d101000 /src/gpu/effects/GrSingleTextureEffect.cpp | |
parent | 7168ecc363f4f205c81c777e44cc6659f36e2821 (diff) |
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
Diffstat (limited to 'src/gpu/effects/GrSingleTextureEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrSingleTextureEffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |