forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
color: Enable color correct rendering for images/ layout tests
Apply this to GPU rasterization. Force all platforms to use sRGB as their color space. A separate virtual test suite will be added to test more exotic color spaces. TBR=qyearsley BUG=713891 Review-Url: https://codereview.chromium.org/2925763002 Cr-Commit-Position: refs/heads/master@{#477433}
- Loading branch information
1 parent
bbd450e
commit 711ff9d
Showing
117 changed files
with
41 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+62.1 KB
...tform/linux/virtual/gpu-rasterization/images/color-profile-animate-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+62.2 KB
...inux/virtual/gpu-rasterization/images/color-profile-animate-rotate-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.61 KB
(100%)
...tual/gpu-rasterization/images/color-profile-background-image-cover-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.33 KB
(100%)
...ual/gpu-rasterization/images/color-profile-background-image-repeat-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+69.1 KB
...m/linux/virtual/gpu-rasterization/images/color-profile-border-fade-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+300 Bytes
(100%)
.../linux/virtual/gpu-rasterization/images/color-profile-border-image-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.64 KB
(100%)
...linux/virtual/gpu-rasterization/images/color-profile-border-radius-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.7 KB
...platform/linux/virtual/gpu-rasterization/images/color-profile-clip-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+715 Bytes
(100%)
...atform/linux/virtual/gpu-rasterization/images/color-profile-filter-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.36 KB
(110%)
...atform/linux/virtual/gpu-rasterization/images/color-profile-iframe-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.39 KB
(100%)
.../linux/virtual/gpu-rasterization/images/color-profile-image-canvas-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+868 Bytes
(100%)
...irtual/gpu-rasterization/images/color-profile-image-canvas-pattern-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-916 Bytes
(99%)
...ux/virtual/gpu-rasterization/images/color-profile-image-canvas-svg-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.44 KB
(100%)
...latform/linux/virtual/gpu-rasterization/images/color-profile-image-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-506 Bytes
(100%)
...ux/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.4 KB
...ux/virtual/gpu-rasterization/images/color-profile-image-object-fit-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.2 KB
...irtual/gpu-rasterization/images/color-profile-image-pseudo-content-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.46 KB
(95%)
...m/linux/virtual/gpu-rasterization/images/color-profile-image-shape-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.9 KB
...tual/gpu-rasterization/images/color-profile-image-svg-resource-url-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+13 Bytes
(100%)
...rtual/gpu-rasterization/images/color-profile-munsell-adobe-to-srgb-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+5.34 KB
(110%)
...atform/linux/virtual/gpu-rasterization/images/color-profile-object-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.1 KB
.../virtual/gpu-rasterization/images/color-profile-svg-foreign-object-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+119 Bytes
(100%)
.../linux/virtual/gpu-rasterization/images/cross-fade-background-size-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.45 KB
(95%)
...orm/linux/virtual/gpu-rasterization/images/jpeg-with-color-profile-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45.7 KB
...sts/platform/linux/virtual/gpu-rasterization/images/png-suite/test-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.45 KB
(95%)
...form/linux/virtual/gpu-rasterization/images/png-with-color-profile-expected.png
Oops, something went wrong.
Binary file added
BIN
+53 KB
...linux/virtual/gpu-rasterization/images/webp-color-profile-lossless-expected.png
Oops, something went wrong.
Binary file added
BIN
+56.6 KB
...ux/virtual/gpu-rasterization/images/webp-color-profile-lossy-alpha-expected.png
Oops, something went wrong.
Binary file added
BIN
+81.2 KB
...rm/linux/virtual/gpu-rasterization/images/webp-color-profile-lossy-expected.png
Oops, something went wrong.
Binary file added
BIN
+138 KB
.../mac-mac10.10/virtual/gpu-rasterization/images/color-profile-layer-expected.png
Oops, something went wrong.
Binary file modified
BIN
-713 Bytes
(98%)
...rtual/gpu-rasterization/images/color-profile-munsell-adobe-to-srgb-expected.png
Oops, something went wrong.
Binary file modified
BIN
-1.35 KB
(95%)
...irtual/gpu-rasterization/images/color-profile-munsell-srgb-to-srgb-expected.png
Oops, something went wrong.
Binary file added
BIN
+33.7 KB
...m/mac-mac10.11/virtual/gpu-rasterization/images/color-profile-clip-expected.png
Oops, something went wrong.
Binary file added
BIN
+33.7 KB
...orm/mac-retina/virtual/gpu-rasterization/images/color-profile-clip-expected.png
Oops, something went wrong.
Binary file removed
BIN
-31.6 KB
...ests/platform/mac/virtual/gpu-rasterization/images/cHRM_color_spin-expected.png
Diff not rendered.
Binary file removed
BIN
-113 KB
...mac/virtual/gpu-rasterization/images/color-jpeg-with-color-profile-expected.png
Diff not rendered.
Binary file modified
BIN
-4.69 KB
(93%)
...latform/mac/virtual/gpu-rasterization/images/color-profile-animate-expected.png
Oops, something went wrong.
Binary file modified
BIN
-4.49 KB
(93%)
.../mac/virtual/gpu-rasterization/images/color-profile-animate-rotate-expected.png
Oops, something went wrong.
Binary file modified
BIN
-6.11 KB
(95%)
...tual/gpu-rasterization/images/color-profile-background-image-cover-expected.png
Oops, something went wrong.
Binary file modified
BIN
-4.92 KB
(95%)
...ual/gpu-rasterization/images/color-profile-background-image-repeat-expected.png
Oops, something went wrong.
Binary file modified
BIN
-5.9 KB
(92%)
...orm/mac/virtual/gpu-rasterization/images/color-profile-border-fade-expected.png
Oops, something went wrong.
Binary file modified
BIN
-3.45 KB
(95%)
...rm/mac/virtual/gpu-rasterization/images/color-profile-border-image-expected.png
Oops, something went wrong.
Binary file modified
BIN
-505 Bytes
(98%)
...virtual/gpu-rasterization/images/color-profile-border-image-source-expected.png
Oops, something went wrong.
Binary file modified
BIN
+68 Bytes
(100%)
...m/mac/virtual/gpu-rasterization/images/color-profile-border-radius-expected.png
Oops, something went wrong.
Binary file modified
BIN
-699 Bytes
(99%)
...form/mac/virtual/gpu-rasterization/images/color-profile-drag-image-expected.png
Oops, something went wrong.
Binary file modified
BIN
-1.25 KB
(99%)
...platform/mac/virtual/gpu-rasterization/images/color-profile-filter-expected.png
Oops, something went wrong.
Binary file modified
BIN
-1.71 KB
(97%)
...platform/mac/virtual/gpu-rasterization/images/color-profile-iframe-expected.png
Oops, something went wrong.
Binary file modified
BIN
-3.31 KB
(97%)
...rm/mac/virtual/gpu-rasterization/images/color-profile-image-canvas-expected.png
Oops, something went wrong.
Binary file modified
BIN
-7.47 KB
(95%)
...irtual/gpu-rasterization/images/color-profile-image-canvas-pattern-expected.png
Oops, something went wrong.
Binary file modified
BIN
+140 Bytes
(100%)
...ac/virtual/gpu-rasterization/images/color-profile-image-canvas-svg-expected.png
Oops, something went wrong.
Binary file modified
BIN
+1.44 KB
(100%)
.../platform/mac/virtual/gpu-rasterization/images/color-profile-image-expected.png
Oops, something went wrong.
Binary file modified
BIN
-2.77 KB
(98%)
...ac/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
Oops, something went wrong.
Binary file modified
BIN
-2.17 KB
(92%)
...ac/virtual/gpu-rasterization/images/color-profile-image-object-fit-expected.png
Oops, something went wrong.
Binary file modified
BIN
+5.47 KB
(110%)
...virtual/gpu-rasterization/images/color-profile-image-profile-match-expected.png
Oops, something went wrong.
Binary file modified
BIN
-1.3 KB
(95%)
...irtual/gpu-rasterization/images/color-profile-image-pseudo-content-expected.png
Oops, something went wrong.
Binary file modified
BIN
-2.25 KB
(92%)
...orm/mac/virtual/gpu-rasterization/images/color-profile-image-shape-expected.png
Oops, something went wrong.
Binary file modified
BIN
-407 Bytes
(99%)
...tual/gpu-rasterization/images/color-profile-image-svg-resource-url-expected.png
Oops, something went wrong.
Binary file modified
BIN
-714 Bytes
(98%)
...rtual/gpu-rasterization/images/color-profile-munsell-adobe-to-srgb-expected.png
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
...orm/mac/virtual/gpu-rasterization/images/color-profile-munsell-adobe-to-srgb-expected.txt
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
-1.36 KB
(95%)
...irtual/gpu-rasterization/images/color-profile-munsell-srgb-to-srgb-expected.png
Oops, something went wrong.
50 changes: 25 additions & 25 deletions
50
...form/mac/virtual/gpu-rasterization/images/color-profile-munsell-srgb-to-srgb-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.67 KB
(100%)
...platform/mac/virtual/gpu-rasterization/images/color-profile-object-expected.png
Oops, something went wrong.
Binary file modified
BIN
-1.57 KB
(95%)
.../virtual/gpu-rasterization/images/color-profile-svg-foreign-object-expected.png
Oops, something went wrong.
Binary file modified
BIN
-38 Bytes
(99%)
...rm/mac/virtual/gpu-rasterization/images/cross-fade-background-size-expected.png
Oops, something went wrong.
Binary file modified
BIN
-36 Bytes
(99%)
...outTests/platform/mac/virtual/gpu-rasterization/images/embed-image-expected.png
Oops, something went wrong.
Binary file modified
BIN
-4.94 KB
(93%)
...tform/mac/virtual/gpu-rasterization/images/jpeg-with-color-profile-expected.png
Oops, something went wrong.
Binary file modified
BIN
-36 Bytes
(99%)
...utTests/platform/mac/virtual/gpu-rasterization/images/object-image-expected.png
Oops, something went wrong.
Binary file modified
BIN
-23 Bytes
(99%)
...tTests/platform/mac/virtual/gpu-rasterization/images/paint-subrect-expected.png
Oops, something went wrong.
Binary file removed
BIN
-2.99 KB
...c/virtual/gpu-rasterization/images/paletted-png-with-color-profile-expected.png
Diff not rendered.
Binary file removed
BIN
-3.13 KB
...ac/virtual/gpu-rasterization/images/png-color-profile-ignore-gamma-expected.png
Diff not rendered.
Binary file modified
BIN
-88 Bytes
(100%)
...Tests/platform/mac/virtual/gpu-rasterization/images/png-suite/test-expected.png
Oops, something went wrong.
Binary file modified
BIN
-4.94 KB
(93%)
...atform/mac/virtual/gpu-rasterization/images/png-with-color-profile-expected.png
Oops, something went wrong.
Binary file modified
BIN
-7 Bytes
(100%)
...rm/mac/virtual/gpu-rasterization/images/png_per_row_alpha_decoding-expected.png
Oops, something went wrong.
Binary file modified
BIN
-940 Bytes
(98%)
...m/mac/virtual/gpu-rasterization/images/webp-color-profile-lossless-expected.png
Oops, something went wrong.
Binary file modified
BIN
+129 Bytes
(100%)
...ac/virtual/gpu-rasterization/images/webp-color-profile-lossy-alpha-expected.png
Oops, something went wrong.
Binary file modified
BIN
+4.81 KB
(110%)
...form/mac/virtual/gpu-rasterization/images/webp-color-profile-lossy-expected.png
Oops, something went wrong.
Binary file removed
BIN
-32 KB
...ests/platform/win/virtual/gpu-rasterization/images/cHRM_color_spin-expected.png
Diff not rendered.
Binary file removed
BIN
-114 KB
...win/virtual/gpu-rasterization/images/color-jpeg-with-color-profile-expected.png
Diff not rendered.
Binary file modified
BIN
+4.56 KB
(110%)
...latform/win/virtual/gpu-rasterization/images/color-profile-animate-expected.png
Oops, something went wrong.
Binary file modified
BIN
+4.87 KB
(110%)
.../win/virtual/gpu-rasterization/images/color-profile-animate-rotate-expected.png
Oops, something went wrong.
Binary file modified
BIN
+9.65 KB
(110%)
...tual/gpu-rasterization/images/color-profile-background-image-cover-expected.png
Oops, something went wrong.
Binary file modified
BIN
+9.39 KB
(110%)
...ual/gpu-rasterization/images/color-profile-background-image-repeat-expected.png
Oops, something went wrong.
Binary file modified
BIN
+5.23 KB
(110%)
...orm/win/virtual/gpu-rasterization/images/color-profile-border-fade-expected.png
Oops, something went wrong.
Binary file modified
BIN
+5.13 KB
(110%)
...rm/win/virtual/gpu-rasterization/images/color-profile-border-image-expected.png
Oops, something went wrong.
Binary file modified
BIN
+8.91 KB
(110%)
...m/win/virtual/gpu-rasterization/images/color-profile-border-radius-expected.png
Oops, something went wrong.
Binary file modified
BIN
+8.56 KB
(130%)
...s/platform/win/virtual/gpu-rasterization/images/color-profile-clip-expected.png
Oops, something went wrong.
Binary file modified
BIN
+1.79 KB
(100%)
...platform/win/virtual/gpu-rasterization/images/color-profile-filter-expected.png
Oops, something went wrong.
Binary file modified
BIN
+11.1 KB
(120%)
...platform/win/virtual/gpu-rasterization/images/color-profile-iframe-expected.png
Oops, something went wrong.
Binary file modified
BIN
+6.92 KB
(110%)
...rm/win/virtual/gpu-rasterization/images/color-profile-image-canvas-expected.png
Oops, something went wrong.
Binary file modified
BIN
+5.39 KB
(100%)
...irtual/gpu-rasterization/images/color-profile-image-canvas-pattern-expected.png
Oops, something went wrong.
Binary file modified
BIN
+2.28 KB
(100%)
...in/virtual/gpu-rasterization/images/color-profile-image-canvas-svg-expected.png
Oops, something went wrong.
Binary file modified
BIN
+8.69 KB
(110%)
.../platform/win/virtual/gpu-rasterization/images/color-profile-image-expected.png
Oops, something went wrong.
Binary file modified
BIN
+2.05 KB
(100%)
...in/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
Oops, something went wrong.
Binary file modified
BIN
+1.36 KB
(110%)
...in/virtual/gpu-rasterization/images/color-profile-image-object-fit-expected.png
Oops, something went wrong.
Binary file modified
BIN
+5.14 KB
(120%)
...irtual/gpu-rasterization/images/color-profile-image-pseudo-content-expected.png
Oops, something went wrong.
Binary file modified
BIN
+1.37 KB
(100%)
...orm/win/virtual/gpu-rasterization/images/color-profile-image-shape-expected.png
Oops, something went wrong.
Binary file modified
BIN
+2.16 KB
(100%)
...tual/gpu-rasterization/images/color-profile-image-svg-resource-url-expected.png
Oops, something went wrong.
Binary file modified
BIN
+33 Bytes
(100%)
...rtual/gpu-rasterization/images/color-profile-munsell-adobe-to-srgb-expected.png
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
...orm/win/virtual/gpu-rasterization/images/color-profile-munsell-adobe-to-srgb-expected.txt
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
+10.7 KB
(110%)
...platform/win/virtual/gpu-rasterization/images/color-profile-object-expected.png
Oops, something went wrong.
Binary file modified
BIN
+5.87 KB
(120%)
.../virtual/gpu-rasterization/images/color-profile-svg-foreign-object-expected.png
Oops, something went wrong.
Binary file modified
BIN
+111 Bytes
(100%)
...rm/win/virtual/gpu-rasterization/images/cross-fade-background-size-expected.png
Oops, something went wrong.
Binary file modified
BIN
+5.05 KB
(110%)
...tform/win/virtual/gpu-rasterization/images/jpeg-with-color-profile-expected.png
Oops, something went wrong.
Binary file removed
BIN
-2.87 KB
...n/virtual/gpu-rasterization/images/paletted-png-with-color-profile-expected.png
Diff not rendered.
Binary file removed
BIN
-3.13 KB
...in/virtual/gpu-rasterization/images/png-color-profile-ignore-gamma-expected.png
Diff not rendered.
Binary file modified
BIN
+7 Bytes
(100%)
...Tests/platform/win/virtual/gpu-rasterization/images/png-suite/test-expected.png
Oops, something went wrong.
Binary file modified
BIN
+5.05 KB
(110%)
...atform/win/virtual/gpu-rasterization/images/png-with-color-profile-expected.png
Oops, something went wrong.
Binary file modified
BIN
-94 Bytes
(100%)
...m/win/virtual/gpu-rasterization/images/webp-color-profile-lossless-expected.png
Oops, something went wrong.
Binary file modified
BIN
+68 Bytes
(100%)
...in/virtual/gpu-rasterization/images/webp-color-profile-lossy-alpha-expected.png
Oops, something went wrong.
Binary file modified
BIN
+3.87 KB
(100%)
...form/win/virtual/gpu-rasterization/images/webp-color-profile-lossy-expected.png
Oops, something went wrong.
Binary file added
BIN
+31.9 KB
...ebKit/LayoutTests/virtual/gpu-rasterization/images/cHRM_color_spin-expected.png
Oops, something went wrong.
Binary file added
BIN
+114 KB
...sts/virtual/gpu-rasterization/images/color-jpeg-with-color-profile-expected.png
Oops, something went wrong.
Binary file modified
BIN
-179 Bytes
(97%)
...ests/virtual/gpu-rasterization/images/cross-fade-overflow-position-expected.png
Oops, something went wrong.
Binary file modified
BIN
+40 Bytes
(100%)
...bKit/LayoutTests/virtual/gpu-rasterization/images/cross-fade-tiled-expected.png
Oops, something went wrong.
Binary file added
BIN
+2.82 KB
...s/virtual/gpu-rasterization/images/paletted-png-with-color-profile-expected.png
Oops, something went wrong.