Index: src/gpu/effects/GrSingleTextureEffect.cpp |
diff --git a/src/gpu/effects/GrSingleTextureEffect.cpp b/src/gpu/effects/GrSingleTextureEffect.cpp |
index c291735c0d781c39e7caddadeda85814ec1e436d..8804be94425ba56c071dd216dbd883eaa359d4b2 100644 |
--- a/src/gpu/effects/GrSingleTextureEffect.cpp |
+++ b/src/gpu/effects/GrSingleTextureEffect.cpp |
@@ -9,9 +9,10 @@ |
GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, |
const SkMatrix& m, |
- GrCoordSet coordSet) |
+ GrCoordSet coordSet, |
+ GrRenderTarget* dst) |
: fCoordTransform(coordSet, m, texture, GrTextureParams::kNone_FilterMode) |
- , fTextureAccess(texture) { |
+ , fTextureAccess(texture, GrTextureParams::kNone_FilterMode,SkShader::kClamp_TileMode, dst) { |
this->addCoordTransform(&fCoordTransform); |
this->addTextureAccess(&fTextureAccess); |
} |
@@ -19,9 +20,10 @@ GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, |
GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, |
const SkMatrix& m, |
GrTextureParams::FilterMode filterMode, |
- GrCoordSet coordSet) |
+ GrCoordSet coordSet, |
+ GrRenderTarget* dst) |
: fCoordTransform(coordSet, m, texture, filterMode) |
- , fTextureAccess(texture, filterMode) { |
+ , fTextureAccess(texture, filterMode, SkShader::kClamp_TileMode, dst) { |
this->addCoordTransform(&fCoordTransform); |
this->addTextureAccess(&fTextureAccess); |
} |
@@ -29,9 +31,10 @@ GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, |
GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, |
const SkMatrix& m, |
const GrTextureParams& params, |
- GrCoordSet coordSet) |
+ GrCoordSet coordSet, |
+ GrRenderTarget* dst) |
: fCoordTransform(coordSet, m, texture, params.filterMode()) |
- , fTextureAccess(texture, params) { |
+ , fTextureAccess(texture, params, dst) { |
this->addCoordTransform(&fCoordTransform); |
this->addTextureAccess(&fTextureAccess); |
} |