|
New gamut GM, to test gamut conversion in various code-paths
After several different strategies, this one appears to work
well. The basic test:
1) For a variety of drawing techniques, we render fixed size
rectangles. (Solid colors via paint color, bitmap, etc...)
2) For each method in #1, we render to both an sRGB and
WideGamutRGB offscreen surface. (AdobeRGB isn't wide enough
to clearly demonstrate if things are working or not).
3) Use readPixels to fetch the raw (still in wide gamut) pixel
data, then draw that directly to the final canvas.
So, for each pair of squares, they should look clearly
different. Currently, with the GPU backend, only the bicubic
bitmap paths have that behavior. Adding more test cases (and
fixing the ones that are already incorrect) will be the long
tail of gamut transformation.
Current output (with my other patchset, which fixes all
bitmap draws): https://screenshot.googleplex.com/wsL3x7eCtWE.png
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2293173002
Committed: https://skia.googlesource.com/skia/+/2c4b64e92a3e589764336a91e06cebaa35ba5eb0
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+923 lines, -6 lines) |
Patch |
|
A |
gm/gamut.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+209 lines, -0 lines |
1 comment
|
Download
|
|
M |
infra/bots/recipes/swarm_test.py
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Android-GCC-AndroidOne-GPU-Mali400MP2-Arm7-Release.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Android-GCC-Nexus10-GPU-MaliT604-Arm7-Release.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Android-GCC-Nexus9-CPU-Denver-Arm64-Debug.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Android-GCC-NexusPlayer-CPU-SSE4-x86-Release.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Debug.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Debug.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+21 lines, -1 line |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+21 lines, -1 line |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+21 lines, -1 line |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+21 lines, -1 line |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+60 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-Vulkan.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Trybot.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-Win8-MSVC-ShuttleB-GPU-GTX960-x86_64-Debug-ANGLE.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/adb_in_path.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/big_issue_number.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/download_and_push_skimage.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/download_and_push_skps.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/download_and_push_svgs.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/failed_dm.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+21 lines, -1 line |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/failed_get_hashes.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/missing_SKP_VERSION_device.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/missing_SK_IMAGE_VERSION_device.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/missing_SVG_VERSION_device.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+21 lines, -1 line |
0 comments
|
Download
|
Total messages: 26 (18 generated)
|