diff options
author | Mike Klein <mtklein@chromium.org> | 2017-12-13 11:01:31 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-14 19:02:17 +0000 |
commit | c38cce63b39f26d8b13e9ac564a1f2d6d7a8db68 (patch) | |
tree | a8990df027fd34b08e1aac17594602bb63ba5705 /gn/tests.gni | |
parent | 474d68791965f20f8e0dfa2bfb4d87300f1f29e0 (diff) |
make SkColorSpace_New real
Some interesting things are starting to fall out already,
like the fact that I needed to add a gamma_dst stage to
be able to draw into gamma-transfer-fn destinations.
I've also had to pass an SkAlphaType through to the linearize
functions so that they can maintain premul invariants. I'm not
sure this is actually a good idea... if you can, please double-
check my logic at SkRasterPipeline.cpp:128?
If it's correct logic, I'm going to need to do it all over the place.
But I imagine you don't do this and somehow get away with it.
Change-Id: I42cd9b161b54287d674225103ad9e19f8b388959
Reviewed-on: https://skia-review.googlesource.com/84680
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'gn/tests.gni')
-rw-r--r-- | gn/tests.gni | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn/tests.gni b/gn/tests.gni index ced58f552b..23acda9fd8 100644 --- a/gn/tests.gni +++ b/gn/tests.gni @@ -213,6 +213,7 @@ tests_sources = [ "$_tests/skbug6389.cpp", "$_tests/skbug6653.cpp", "$_tests/SkColor4fTest.cpp", + "$_tests/SkColorSpace_NewTest.cpp", "$_tests/SkDOMTest.cpp", "$_tests/SkFixed15Test.cpp", "$_tests/SkGaussFilterTest.cpp", |