aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrBicubicEffect.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-11-09 11:55:57 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-09 11:55:57 -0800
commitc55271f2551533b37043aa2e37f754832a43073c (patch)
tree5e9729a4c8fe05519805b97db38621efbc34956a /src/gpu/effects/GrBicubicEffect.h
parent3a210bfd403815bebbc7efabe7bbd373e5a3d8f8 (diff)
Separate out natively-texture image/bmp draws from cached-as-texture image/bmp draws
This makes texture-backed images and bitmaps down a new code path. It adds a pinch point via the texture adjuster that will be used to handle copied necessary for different texture targets. It also fixes bugs in the existing code exhibited by recent updates to the bleed GM. The plan is to move the the sw/generator-backed imgs/bmps on to this code path with future changes. Review URL: https://codereview.chromium.org/1424313010
Diffstat (limited to 'src/gpu/effects/GrBicubicEffect.h')
-rw-r--r--src/gpu/effects/GrBicubicEffect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrBicubicEffect.h b/src/gpu/effects/GrBicubicEffect.h
index 9f9e20dbd1..5a54cc167d 100644
--- a/src/gpu/effects/GrBicubicEffect.h
+++ b/src/gpu/effects/GrBicubicEffect.h
@@ -49,7 +49,7 @@ public:
* Create a Mitchell filter effect with specified texture matrix and x/y tile modes.
*/
static const GrFragmentProcessor* Create(GrTexture* tex, const SkMatrix& matrix,
- SkShader::TileMode tileModes[2]) {
+ const SkShader::TileMode tileModes[2]) {
return Create(tex, gMitchellCoefficients, matrix, tileModes);
}