diff options
author | Mike Klein <mtklein@chromium.org> | 2017-07-18 16:31:55 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-18 21:22:34 +0000 |
commit | 968af43f721cd949ba3005f8e5f3c03c6c978a74 (patch) | |
tree | bde1982f7f7443f921fc6a0c26e5cf72eb5c6ce0 /tests/SkRasterPipelineTest.cpp | |
parent | 1e0ca8598a5bd60f83dd6a41cb2fc2f189bf3aca (diff) |
remove gather_i8, unify memory-touching contexts
gather_i8 is now unused, so we can remove it.
That in turn makes the ctable field of SkJumper_GatherCtx unused.
After removing ctable, SkJumper_GatherCtx and SkJumper_PtrStride look
identical, so I've now fused them into SkJumper_MemoryCtx, which will
eventually be used by everything loading from, gathering from, or
storing to memory.
Change-Id: Ia882d2dbd54c9fcf9a8250a1ce83304389dd284a
Reviewed-on: https://skia-review.googlesource.com/24085
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
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 db4d5a34fc..8edff7e061 100644 --- a/tests/SkRasterPipelineTest.cpp +++ b/tests/SkRasterPipelineTest.cpp @@ -246,7 +246,7 @@ DEF_TEST(SkRasterPipeline_2d, r) { SkMatrix::MakeTrans(-0.5f, -0.5f))); // Write out to rgba, with row stride = 2 pixels. - SkJumper_PtrStride ctx = { rgba, 2 }; + SkJumper_MemoryCtx ctx = { rgba, 2 }; p.append(SkRasterPipeline::store_8888_2d, &ctx); p.run_2d(0,0, 2,2); |