aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRasterPipeline.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-07-03 21:26:44 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-04 01:48:12 +0000
commit6b59bf424c9d9d8a72d3c002871f143e6aff623e (patch)
treeb534999fcdb00f07aeb86e9cd599bada966692c3 /src/core/SkRasterPipeline.h
parent974aad487a81e507ca9e953e0b7e016a42ba3c39 (diff)
consolidate logic for matrix stage
Bug: skia: Change-Id: Id1559b31692a1aed9aa4d15620b2019ae9c7c22b Reviewed-on: https://skia-review.googlesource.com/21404 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/core/SkRasterPipeline.h')
-rw-r--r--src/core/SkRasterPipeline.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h
index a4175c65a8..9a467a5024 100644
--- a/src/core/SkRasterPipeline.h
+++ b/src/core/SkRasterPipeline.h
@@ -127,6 +127,10 @@ public:
void append_from_srgb(SkAlphaType);
void append_from_srgb_dst(SkAlphaType);
+ // Appends a stage for the specified matrix. Tries to optimize the stage by analyzing
+ // the type of matrix.
+ void append_matrix(SkArenaAlloc*, const SkMatrix&);
+
bool empty() const { return fStages == nullptr; }
private: