Switch Skia's sRGB color filter to share math with color space transforms
Less code and more consistent behavior. Change-Id: Ide942100529a90bb2a2be3dc5893c57043052721 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2122478 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Cr-Commit-Position: refs/heads/master@{#753820}
This commit is contained in:
skia/config
third_party/blink/web_tests/platform
linux
virtual
scalefactor200
css3
mac
css3
virtual
scalefactor200
css3
win
css3
virtual
scalefactor200
css3
@ -218,10 +218,6 @@ SK_API void SkDebugf_FileLine(const char* file,
|
||||
#define SK_SUPPORT_LEGACY_AAA_CHOICE
|
||||
#endif
|
||||
|
||||
#ifndef SK_USE_LEGACY_SRGB_COLOR_FILTER
|
||||
#define SK_USE_LEGACY_SRGB_COLOR_FILTER
|
||||
#endif
|
||||
|
||||
// We're turning this off indefinitely,
|
||||
// until we can figure out some fundamental problems with its approach.
|
||||
//
|
||||
|
Binary file not shown.
Before ![]() (image error) Size: 146 KiB After ![]() (image error) Size: 147 KiB ![]() ![]() |
BIN
third_party/blink/web_tests/platform/mac/css3/filters/effect-reference-colorspace-hw-expected.png
vendored
BIN
third_party/blink/web_tests/platform/mac/css3/filters/effect-reference-colorspace-hw-expected.png
vendored
Binary file not shown.
Before ![]() (image error) Size: 49 KiB After ![]() (image error) Size: 49 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 146 KiB After ![]() (image error) Size: 146 KiB ![]() ![]() |
BIN
third_party/blink/web_tests/platform/win/css3/filters/effect-reference-colorspace-hw-expected.png
vendored
BIN
third_party/blink/web_tests/platform/win/css3/filters/effect-reference-colorspace-hw-expected.png
vendored
Binary file not shown.
Before ![]() (image error) Size: 49 KiB After ![]() (image error) Size: 49 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 146 KiB After ![]() (image error) Size: 146 KiB ![]() ![]() |
Reference in New Issue
Block a user