diff options
author | Florin Malita <fmalita@chromium.org> | 2017-01-27 10:51:58 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-27 16:57:47 +0000 |
commit | 882ccafee00a7d8d924258d59606fa878c0d9777 (patch) | |
tree | a6a0ffb2bcd60728958c7ff8d55fcc2eaf1452c2 /include/core/SkShader.h | |
parent | dbd44c78ec98adc07569d430f3b27e0834186a7e (diff) |
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 <fmalita@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkShader.h')
-rw-r--r-- | include/core/SkShader.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |