diff options
author | Mike Klein <mtklein@chromium.org> | 2017-06-27 19:53:21 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-28 17:41:56 +0000 |
commit | c2d207603edbbd3809d5144fe4a048a2ad774910 (patch) | |
tree | 085c3b6856acffa6f2a1f88616517c3186046a73 /tests | |
parent | e5cb7c9a5eb3d4d848a0adb50502382be14d193d (diff) |
clean up low-hanging swap_rb
There are two remaining swap_rb uses that both look non-trivial to
replace:
- sampling out of index8 when the color table is bgra
- table transforms on bgra inputs in SkColorSpaceXform
I don't think it's a big deal to just leave swap_rb around,
just a little sad.
Change-Id: I3d30200cf867cbf37d6f86572b1574d3e22e3490
Reviewed-on: https://skia-review.googlesource.com/21040
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/SkRasterPipelineTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/SkRasterPipelineTest.cpp b/tests/SkRasterPipelineTest.cpp index 4a951c06c3..52b4152a11 100644 --- a/tests/SkRasterPipelineTest.cpp +++ b/tests/SkRasterPipelineTest.cpp @@ -216,8 +216,7 @@ DEF_TEST(SkRasterPipeline_lowp, r) { void* ptr = rgba; SkRasterPipeline_<256> p; - p.append(SkRasterPipeline::load_8888, &ptr); - p.append(SkRasterPipeline::swap_rb); + p.append(SkRasterPipeline::load_bgra, &ptr); p.append(SkRasterPipeline::store_8888, &ptr); p.run(0,0,64); |