Index: src/core/SkLocalMatrixShader.h |
diff --git a/src/core/SkLocalMatrixShader.h b/src/core/SkLocalMatrixShader.h |
index 1adfb0a730e62693e1cbb045c0080ed6f23558a9..6a98c92083a5d213f6234aad941e7c0e5f6ac9ff 100644 |
--- a/src/core/SkLocalMatrixShader.h |
+++ b/src/core/SkLocalMatrixShader.h |
@@ -32,13 +32,13 @@ public: |
return fProxyShader->asAGradient(info); |
} |
- virtual GrEffectRef* asNewEffect(GrContext* ctx, const SkPaint& paint, |
- const SkMatrix* localMatrix) const SK_OVERRIDE { |
+ virtual bool asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, |
+ GrColor* grColor, GrEffectRef** grEffect) const SK_OVERRIDE { |
SkMatrix tmp = fProxyLocalMatrix; |
if (localMatrix) { |
tmp.preConcat(*localMatrix); |
} |
- return fProxyShader->asNewEffect(ctx, paint, &tmp); |
+ return fProxyShader->asNewEffect(context, paint, &tmp, grColor, grEffect); |
dandov
2014/06/06 21:50:44
return the value of the proxy shader call to asNew
|
} |
virtual SkShader* refAsALocalMatrixShader(SkMatrix* localMatrix) const SK_OVERRIDE { |