| Index: src/gpu/effects/GrSimpleTextureEffect.h
|
| diff --git a/src/gpu/effects/GrSimpleTextureEffect.h b/src/gpu/effects/GrSimpleTextureEffect.h
|
| index 4e5b421f3e6ecf3b30498ce42773e50b7b9a244d..b2cc8e9acf66632b35f99b7c1dc92359d94e5dc4 100644
|
| --- a/src/gpu/effects/GrSimpleTextureEffect.h
|
| +++ b/src/gpu/effects/GrSimpleTextureEffect.h
|
| @@ -23,23 +23,27 @@ public:
|
| /* unfiltered, clamp mode */
|
| static const GrFragmentProcessor* Create(GrTexture* tex,
|
| const SkMatrix& matrix,
|
| - GrCoordSet coordSet = kLocal_GrCoordSet) {
|
| - return new GrSimpleTextureEffect(tex, matrix, GrTextureParams::kNone_FilterMode, coordSet);
|
| + GrCoordSet coordSet, //= kLocal_GrCoordSet) {
|
| + GrRenderTarget* dst) {
|
| + return new GrSimpleTextureEffect(tex, matrix,
|
| + GrTextureParams::kNone_FilterMode, coordSet, dst);
|
| }
|
|
|
| /* clamp mode */
|
| static GrFragmentProcessor* Create(GrTexture* tex,
|
| const SkMatrix& matrix,
|
| GrTextureParams::FilterMode filterMode,
|
| - GrCoordSet coordSet = kLocal_GrCoordSet) {
|
| - return new GrSimpleTextureEffect(tex, matrix, filterMode, coordSet);
|
| + GrCoordSet coordSet, // = kLocal_GrCoordSet) {
|
| + GrRenderTarget* dst) {
|
| + return new GrSimpleTextureEffect(tex, matrix, filterMode, coordSet, dst);
|
| }
|
|
|
| static GrFragmentProcessor* Create(GrTexture* tex,
|
| const SkMatrix& matrix,
|
| const GrTextureParams& p,
|
| - GrCoordSet coordSet = kLocal_GrCoordSet) {
|
| - return new GrSimpleTextureEffect(tex, matrix, p, coordSet);
|
| + GrCoordSet coordSet, // = kLocal_GrCoordSet) {
|
| + GrRenderTarget* dst) {
|
| + return new GrSimpleTextureEffect(tex, matrix, p, coordSet, dst);
|
| }
|
|
|
| virtual ~GrSimpleTextureEffect() {}
|
| @@ -50,16 +54,17 @@ private:
|
| GrSimpleTextureEffect(GrTexture* texture,
|
| const SkMatrix& matrix,
|
| GrTextureParams::FilterMode filterMode,
|
| - GrCoordSet coordSet)
|
| - : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) {
|
| + GrCoordSet coordSet, GrRenderTarget* dst)
|
| + : GrSingleTextureEffect(texture, matrix, filterMode, coordSet, dst) {
|
| this->initClassID<GrSimpleTextureEffect>();
|
| }
|
|
|
| GrSimpleTextureEffect(GrTexture* texture,
|
| const SkMatrix& matrix,
|
| const GrTextureParams& params,
|
| - GrCoordSet coordSet)
|
| - : GrSingleTextureEffect(texture, matrix, params, coordSet) {
|
| + GrCoordSet coordSet,
|
| + GrRenderTarget* dst)
|
| + : GrSingleTextureEffect(texture, matrix, params, coordSet, dst) {
|
| this->initClassID<GrSimpleTextureEffect>();
|
| }
|
|
|
|
|