| Index: src/core/SkLocalMatrixShader.h
|
| diff --git a/src/core/SkLocalMatrixShader.h b/src/core/SkLocalMatrixShader.h
|
| index a145432a160b6a3654171c343d5f32015873f884..9c6a526f7b1356511be2373b79c336ff8a6f58f0 100644
|
| --- a/src/core/SkLocalMatrixShader.h
|
| +++ b/src/core/SkLocalMatrixShader.h
|
| @@ -33,28 +33,15 @@ public:
|
| }
|
|
|
| #if SK_SUPPORT_GPU
|
| -
|
| - virtual bool asFragmentProcessor(GrContext* context, const SkPaint& paint,
|
| - const SkMatrix& viewM, const SkMatrix* localMatrix,
|
| - GrColor* grColor, GrProcessorDataManager* procDataManager,
|
| - GrFragmentProcessor** fp) const override {
|
| + const GrFragmentProcessor* asFragmentProcessor(GrContext* context, const SkMatrix& viewM,
|
| + const SkMatrix* localMatrix, SkFilterQuality fq,
|
| + GrProcessorDataManager* procDataManager) const override {
|
| SkMatrix tmp = this->getLocalMatrix();
|
| if (localMatrix) {
|
| tmp.preConcat(*localMatrix);
|
| }
|
| - return fProxyShader->asFragmentProcessor(context, paint, viewM, &tmp, grColor,
|
| - procDataManager, fp);
|
| + return fProxyShader->asFragmentProcessor(context, viewM, &tmp, fq, procDataManager);
|
| }
|
| -
|
| -#else
|
| -
|
| - virtual bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix&,
|
| - const SkMatrix*, GrColor*, GrProcessorDataManager*,
|
| - GrFragmentProcessor**) const override {
|
| - SkDEBUGFAIL("Should not call in GPU-less build");
|
| - return false;
|
| - }
|
| -
|
| #endif
|
|
|
| SkShader* refAsALocalMatrixShader(SkMatrix* localMatrix) const override {
|
|
|