Index: src/gpu/effects/GrBicubicEffect.cpp |
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp |
index 2857641edcfb708be45ccfdfcaad05277ca5db56..5603b3019755c79d2b82892a55e70e0e7bc4b8ee 100644 |
--- a/src/gpu/effects/GrBicubicEffect.cpp |
+++ b/src/gpu/effects/GrBicubicEffect.cpp |
@@ -131,8 +131,9 @@ static inline void convert_row_major_scalar_coeffs_to_column_major_floats(float |
GrBicubicEffect::GrBicubicEffect(GrTexture* texture, |
const SkScalar coefficients[16], |
const SkMatrix &matrix, |
- const SkShader::TileMode tileModes[2]) |
- : INHERITED(texture, matrix, GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode)) |
+ const SkShader::TileMode tileModes[2], GrRenderTarget* dst) |
+ : INHERITED(texture, matrix, |
+ GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode), kLocal_GrCoordSet, dst) |
, fDomain(GrTextureDomain::IgnoredDomain()) { |
this->initClassID<GrBicubicEffect>(); |
convert_row_major_scalar_coeffs_to_column_major_floats(fCoefficients, coefficients); |
@@ -141,9 +142,9 @@ GrBicubicEffect::GrBicubicEffect(GrTexture* texture, |
GrBicubicEffect::GrBicubicEffect(GrTexture* texture, |
const SkScalar coefficients[16], |
const SkMatrix &matrix, |
- const SkRect& domain) |
+ const SkRect& domain, GrRenderTarget* dst) |
: INHERITED(texture, matrix, |
- GrTextureParams(SkShader::kClamp_TileMode, GrTextureParams::kNone_FilterMode)) |
+ GrTextureParams(SkShader::kClamp_TileMode, GrTextureParams::kNone_FilterMode), kLocal_GrCoordSet, dst) |
, fDomain(domain, GrTextureDomain::kClamp_Mode) { |
this->initClassID<GrBicubicEffect>(); |
convert_row_major_scalar_coeffs_to_column_major_floats(fCoefficients, coefficients); |
@@ -181,7 +182,7 @@ const GrFragmentProcessor* GrBicubicEffect::TestCreate(GrProcessorTestData* d) { |
for (int i = 0; i < 16; i++) { |
coefficients[i] = d->fRandom->nextSScalar1(); |
} |
- return GrBicubicEffect::Create(d->fTextures[texIdx], coefficients); |
+ return GrBicubicEffect::Create(d->fTextures[texIdx], coefficients, NULL, NULL); |
} |
////////////////////////////////////////////////////////////////////////////// |