diff options
author | Mike Klein <mtklein@chromium.org> | 2017-07-20 08:59:19 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-20 16:45:52 +0000 |
commit | 0fddb2d7c17a953c0d3986e5f8bcfdeaf2cc401d (patch) | |
tree | 3ed6fbbb1d4aa8931233de5d4e2e9aa2ab224f8a /gn | |
parent | edfe3dfb47bd3248a588c2eb89224f59939bd626 (diff) |
Retry cleaning up SkLinearBitmapPipeline.
This is mostly dead code.
In order to make it truly dead, we need to opt drawing unpremul images
into SkRasterPipelineBlitter. They had been handled by
SkLinearBitmapPipeline, but can't be draw by SkBitmapProcLegacyShader.
Drawing unpremul images is tested by the GM all_variants_8888, which
gave us trouble last time around (serialize-8888 drew right, 8888 wrong)
but now draws fine. I think this was probably also the root of the
revert, drawing some unpremul image in Chrome's tests somewhere.
Change-Id: I453f9df44ade807316935921cbae82961e2f08aa
Reviewed-on: https://skia-review.googlesource.com/24862
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/bench.gni | 2 | ||||
-rw-r--r-- | gn/core.gni | 6 | ||||
-rw-r--r-- | gn/tests.gni | 2 |
3 files changed, 0 insertions, 10 deletions
diff --git a/gn/bench.gni b/gn/bench.gni index a5ab7810eb..4bd46287db 100644 --- a/gn/bench.gni +++ b/gn/bench.gni @@ -107,9 +107,7 @@ bench_sources = [ "$_bench/ShadowBench.cpp", "$_bench/ShapesBench.cpp", "$_bench/Sk4fBench.cpp", - "$_bench/SkBlend_optsBench.cpp", "$_bench/SkGlyphCacheBench.cpp", - "$_bench/SkLinearBitmapPipelineBench.cpp", "$_bench/SKPAnimationBench.cpp", "$_bench/SKPBench.cpp", "$_bench/SkRasterPipelineBench.cpp", diff --git a/gn/core.gni b/gn/core.gni index 43b972f45c..ee61a02e2b 100644 --- a/gn/core.gni +++ b/gn/core.gni @@ -158,12 +158,6 @@ skia_core_sources = [ "$_src/core/SkImageCacherator.h", "$_src/core/SkImageGenerator.cpp", "$_src/core/SkLights.cpp", - "$_src/core/SkLinearBitmapPipeline.cpp", - "$_src/core/SkLinearBitmapPipeline.h", - "$_src/core/SkLinearBitmapPipeline_core.h", - "$_src/core/SkLinearBitmapPipeline_matrix.h", - "$_src/core/SkLinearBitmapPipeline_tile.h", - "$_src/core/SkLinearBitmapPipeline_sample.h", "$_src/core/SkLineClipper.cpp", "$_src/core/SkLiteDL.cpp", "$_src/core/SkLiteRecorder.cpp", diff --git a/gn/tests.gni b/gn/tests.gni index 37ccfca228..f2737fdf48 100644 --- a/gn/tests.gni +++ b/gn/tests.gni @@ -201,7 +201,6 @@ tests_sources = [ "$_tests/SizeTest.cpp", "$_tests/Sk4x4fTest.cpp", "$_tests/SkBase64Test.cpp", - "$_tests/SkBlend_optsTest.cpp", "$_tests/skbug5221.cpp", "$_tests/skbug6389.cpp", "$_tests/skbug6653.cpp", @@ -209,7 +208,6 @@ tests_sources = [ "$_tests/SkDOMTest.cpp", "$_tests/SkFixed15Test.cpp", "$_tests/SkImageTest.cpp", - "$_tests/SkLinearBitmapPipelineTest.cpp", "$_tests/SkLiteDLTest.cpp", "$_tests/SkNxTest.cpp", "$_tests/SkPEGTest.cpp", |