| Index: src/gpu/GrPaint.cpp
|
| diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp
|
| index 6f218a4b0b96dfb2b0ae41c201795808b4acd770..8481fb72073d8045146ae492af2a961a68c3cfed 100644
|
| --- a/src/gpu/GrPaint.cpp
|
| +++ b/src/gpu/GrPaint.cpp
|
| @@ -21,26 +21,28 @@ void GrPaint::setCoverageSetOpXPFactory(SkRegion::Op regionOp, bool invertCovera
|
| fXPFactory.reset(GrCoverageSetOpXPFactory::Create(regionOp, invertCoverage));
|
| }
|
|
|
| -void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) {
|
| - this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
|
| +void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix, GrRenderTarget* dst) {
|
| + this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture,
|
| + matrix, kLocal_GrCoordSet, dst))->unref();
|
| }
|
|
|
| -void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) {
|
| - this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
|
| +void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix, GrRenderTarget* dst) {
|
| + this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture,
|
| + matrix, kLocal_GrCoordSet, dst))->unref();
|
| }
|
|
|
| void GrPaint::addColorTextureProcessor(GrTexture* texture,
|
| const SkMatrix& matrix,
|
| - const GrTextureParams& params) {
|
| + const GrTextureParams& params, GrRenderTarget* dst) {
|
| this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture,
|
| - matrix, params))->unref();
|
| + matrix, params, kLocal_GrCoordSet, dst))->unref();
|
| }
|
|
|
| void GrPaint::addCoverageTextureProcessor(GrTexture* texture,
|
| const SkMatrix& matrix,
|
| - const GrTextureParams& params) {
|
| + const GrTextureParams& params, GrRenderTarget* dst) {
|
| this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture,
|
| - matrix, params))->unref();
|
| + matrix, params, kLocal_GrCoordSet, dst))->unref();
|
| }
|
|
|
| bool GrPaint::isConstantBlendedColor(GrColor* color) const {
|
|
|