| Index: src/core/SkLocalMatrixShader.h
|
| diff --git a/src/core/SkLocalMatrixShader.h b/src/core/SkLocalMatrixShader.h
|
| index 8edea40d05bd1d896bcca7d31ef86bb96ddb4716..3d590e43e60563d24924a75fc297c1bb01da1b8d 100644
|
| --- a/src/core/SkLocalMatrixShader.h
|
| +++ b/src/core/SkLocalMatrixShader.h
|
| @@ -24,14 +24,15 @@ public:
|
| }
|
|
|
| #if SK_SUPPORT_GPU
|
| - const GrFragmentProcessor* asFragmentProcessor(GrContext* context, const SkMatrix& viewM,
|
| - const SkMatrix* localMatrix,
|
| - SkFilterQuality fq) const override {
|
| + const GrFragmentProcessor* asFragmentProcessor(
|
| + GrContext* context, const SkMatrix& viewM,
|
| + const SkMatrix* localMatrix, SkFilterQuality fq,
|
| + SkSourceGammaTreatment gammaTreatment) const override {
|
| SkMatrix tmp = this->getLocalMatrix();
|
| if (localMatrix) {
|
| tmp.preConcat(*localMatrix);
|
| }
|
| - return fProxyShader->asFragmentProcessor(context, viewM, &tmp, fq);
|
| + return fProxyShader->asFragmentProcessor(context, viewM, &tmp, fq, gammaTreatment);
|
| }
|
| #endif
|
|
|
|
|