Skip to content

Commit

Permalink
Switch to new (skcms) color space primaries implementation in Skia
Browse files Browse the repository at this point in the history
Layout test diffs are low-bit changes due to floating point
order-of-operations in the new code.

Change-Id: Ie50c9913d2b29f0ddc5c99e6c0b35ad54ff0ef3f
Reviewed-on: https://chromium-review.googlesource.com/1203932
Reviewed-by: ccameron <ccameron@chromium.org>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Brian Osman <brianosman@google.com>
Cr-Commit-Position: refs/heads/master@{#588941}
  • Loading branch information
brianosman authored and Commit Bot committed Sep 5, 2018
1 parent 38ff968 commit 9c9d3fe
Show file tree
Hide file tree
Showing 103 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions skia/config/SkUserConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
#define SK_SUPPORT_LEGACY_AAA_CHOICE
#endif

#ifndef SK_USE_LEGACY_PRIMARIES_TO_XYZ
#define SK_USE_LEGACY_PRIMARIES_TO_XYZ
#endif

///////////////////////// Imported from BUILD.gn and skia_common.gypi

/* In some places Skia can use static initializers for global initialization,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions ui/gfx/color_transform_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,9 @@ TEST(SimpleColorSpace, MAYBE_SampleShaderSource) {
" color.r = TransferFn1(color.r);\n"
" color.g = TransferFn1(color.g);\n"
" color.b = TransferFn1(color.b);\n"
" color = mat3(6.27403915e-01, 6.90973178e-02, 1.63914412e-02,\n"
" 3.29283148e-01, 9.19540286e-01, 8.80132914e-02,\n"
" 4.33131084e-02, 1.13623003e-02, 8.95595253e-01) "
" color = mat3(6.27404153e-01, 6.90974146e-02, 1.63914431e-02,\n"
" 3.29283088e-01, 9.19540644e-01, 8.80132765e-02,\n"
" 4.33131084e-02, 1.13623096e-02, 8.95595253e-01) "
"* color;\n"
" color.r = TransferFn3(color.r);\n"
" color.g = TransferFn3(color.g);\n"
Expand Down

0 comments on commit 9c9d3fe

Please sign in to comment.