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 /tests/SkRasterPipelineTest.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 'tests/SkRasterPipelineTest.cpp')
-rw-r--r-- | tests/SkRasterPipelineTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SkRasterPipelineTest.cpp b/tests/SkRasterPipelineTest.cpp index bab3d5b63b..773c0d5d66 100644 --- a/tests/SkRasterPipelineTest.cpp +++ b/tests/SkRasterPipelineTest.cpp @@ -240,7 +240,7 @@ DEF_TEST(SkRasterPipeline_2d, r) { SkRasterPipeline p(&alloc); // Splat out the (2d) dst coordinates: (0.5,0.5), (1.5,0.5), (0.5,1.5), (1.5,1.5). - p.append(SkRasterPipeline::seed_shader); + p.append_seed_shader(); // Scale down to [0,1] range to write out as bytes. p.append_matrix(&alloc, SkMatrix::Concat(SkMatrix::MakeScale(0.5f), |