diff options
author | humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-25 18:49:07 +0000 |
---|---|---|
committer | humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-25 18:49:07 +0000 |
commit | b86add1ad37776818e1f730359ec587c9fdbff5f (patch) | |
tree | 60ffaf791a016466b521853c13fa98c99d101000 /src/effects/gradients | |
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/effects/gradients')
-rw-r--r-- | src/effects/gradients/SkGradientShader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp index 6dcbb05f7e..de43b69a2f 100644 --- a/src/effects/gradients/SkGradientShader.cpp +++ b/src/effects/gradients/SkGradientShader.cpp @@ -914,7 +914,7 @@ GrGradientEffect::GrGradientEffect(GrContext* ctx, // We always filter the gradient table. Each table is one row of a texture, so always y-clamp. GrTextureParams params; - params.setBilerp(true); + params.setFilterMode(GrTextureParams::kBilerp_FilterMode); params.setTileModeX(tileMode); fRow = fAtlas->lockRow(bitmap); |