Index: src/gpu/GrPipelineBuilder.h |
diff --git a/src/gpu/GrPipelineBuilder.h b/src/gpu/GrPipelineBuilder.h |
index 2bafd9aeabf2cee84cbdbff5191ac88da23bb273..f10e4922363b3baa79952657a6229c9befe8e7c1 100644 |
--- a/src/gpu/GrPipelineBuilder.h |
+++ b/src/gpu/GrPipelineBuilder.h |
@@ -78,26 +78,29 @@ public: |
/** |
* Creates a GrSimpleTextureEffect that uses local coords as texture coordinates. |
*/ |
- void addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { |
- this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); |
+ void addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix, GrRenderTarget* dst) { |
+ this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, |
+ matrix, kLocal_GrCoordSet, dst))->unref(); |
} |
- void addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { |
- this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); |
+ void addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix, GrRenderTarget* dst) { |
+ this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, |
+ matrix, kLocal_GrCoordSet, dst))->unref(); |
} |
void addColorTextureProcessor(GrTexture* texture, |
const SkMatrix& matrix, |
- const GrTextureParams& params) { |
- this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix, |
- params))->unref(); |
+ const GrTextureParams& params, GrRenderTarget* dst) { |
+ this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, |
+ matrix, |
+ params, kLocal_GrCoordSet, dst))->unref(); |
} |
void addCoverageTextureProcessor(GrTexture* texture, |
const SkMatrix& matrix, |
- const GrTextureParams& params) { |
- this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix, |
- params))->unref(); |
+ const GrTextureParams& params, GrRenderTarget* dst) { |
+ this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, |
+ matrix, params, kLocal_GrCoordSet, dst))->unref(); |
} |
/** |