From 882ccafee00a7d8d924258d59606fa878c0d9777 Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Fri, 27 Jan 2017 10:51:58 -0500 Subject: Raster pipeline support for SkLocalMatrixShader composition Plumb a local matrix arg to onAppendStages, similar to onCreateContext's ContextRec::fLocalMatrix. Change-Id: I6db3706918733b35eb7a3ae2cc65503223d0cf2d Reviewed-on: https://skia-review.googlesource.com/7653 Commit-Queue: Florin Malita Reviewed-by: Mike Reed --- include/core/SkShader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/core/SkShader.h b/include/core/SkShader.h index 2ac3749eed..a885f0b982 100644 --- a/include/core/SkShader.h +++ b/include/core/SkShader.h @@ -502,7 +502,8 @@ protected: } virtual bool onAppendStages(SkRasterPipeline*, SkColorSpace*, SkArenaAlloc*, - const SkMatrix&, const SkPaint&) const { + const SkMatrix&, const SkPaint&, + const SkMatrix* /*local matrix*/) const { return false; } -- cgit v1.2.3