diff options
author | Mike Klein <mtklein@chromium.org> | 2017-10-17 14:22:58 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-18 16:17:55 +0000 |
commit | 85f8536ca2dd446f2f68d82b0e69134a3e7a88b7 (patch) | |
tree | f09aa8f7eb3f7f7f6018f8b4c672046a95a62d75 /src/core/SkDraw_vertices.cpp | |
parent | e4442cb0b537720ab32106b3b5353dbb78f11b26 (diff) |
Feed seed_shader() iota through a context pointer.
As this array grows longer it causes troublesome code generation
when we're compiling offline, but it's easy as an argument.
Change-Id: I53526443f534f29d3bff17c3aec24a9e916c9b86
Reviewed-on: https://skia-review.googlesource.com/60564
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkDraw_vertices.cpp')
-rw-r--r-- | src/core/SkDraw_vertices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkDraw_vertices.cpp b/src/core/SkDraw_vertices.cpp index c7d439d123..004575ea99 100644 --- a/src/core/SkDraw_vertices.cpp +++ b/src/core/SkDraw_vertices.cpp @@ -87,7 +87,7 @@ protected: return nullptr; } bool onAppendStages(const StageRec& rec) const override { - rec.fPipeline->append(SkRasterPipeline::seed_shader); + rec.fPipeline->append_seed_shader(); rec.fPipeline->append(SkRasterPipeline::matrix_4x3, &fM43); // In theory we should never need to clamp. However, either due to imprecision in our // matrix43, or the scan converter passing us pixel centers that in fact are not within |