Revert "Reland "Revert "Update GPU DM/nanobench configs for color testing"""
This reverts commitd5161b9a62
. Reason for revert: This should be okay again. Original change's description: > Reland "Revert "Update GPU DM/nanobench configs for color testing"" > > This reverts commitc0fb3c8b9f
. > > Reason for revert: Had to revert dependent CL. > Original change's description: > > Revert "Revert "Update GPU DM/nanobench configs for color testing"" > > > > This reverts commit2a284de7a5
. > > > > Re-landing without esrgb configs. Going to enable those separately, > > as they require some blacklisting. > > > > Bug: skia: > > Change-Id: I2315849d4f5c45c2e5512f84f9f867d02ff6fe30 > > Reviewed-on: https://skia-review.googlesource.com/136589 > > Reviewed-by: Brian Osman <brianosman@google.com> > > Commit-Queue: Brian Osman <brianosman@google.com> > > TBR=mtklein@google.com,bsalomon@google.com,brianosman@google.com > > Change-Id: I942d4235c17100fd933bf9cbfe923e3ae80657b1 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia: > Reviewed-on: https://skia-review.googlesource.com/137721 > Reviewed-by: Brian Osman <brianosman@google.com> > Commit-Queue: Brian Osman <brianosman@google.com> TBR=mtklein@google.com,bsalomon@google.com,brianosman@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: skia: Change-Id: I280dac49eb74d6c1cbf7c2f52a3f6a68fa2510ae Reviewed-on: https://skia-review.googlesource.com/138301 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
1de4439313
commit
a66f4dad51
@ -35,7 +35,9 @@ static bool draw_path_cell(SkCanvas* canvas, SkImage* img, int expectedCaps) {
|
|||||||
SkImageInfo info = SkImageInfo::MakeN32Premul(w, h);
|
SkImageInfo info = SkImageInfo::MakeN32Premul(w, h);
|
||||||
SkAutoPixmapStorage pmap;
|
SkAutoPixmapStorage pmap;
|
||||||
pmap.alloc(info);
|
pmap.alloc(info);
|
||||||
SkAssertResult(img->readPixels(pmap, 0, 0));
|
if (!img->readPixels(pmap, 0, 0)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// To account for rasterization differences, we scan the middle two rows [y, y+1] of the image
|
// To account for rasterization differences, we scan the middle two rows [y, y+1] of the image
|
||||||
SkASSERT(h % 2 == 0);
|
SkASSERT(h % 2 == 0);
|
||||||
|
@ -182,6 +182,7 @@
|
|||||||
"gl",
|
"gl",
|
||||||
"glsrgb",
|
"glsrgb",
|
||||||
"gles",
|
"gles",
|
||||||
|
"glessrgb",
|
||||||
"--match",
|
"--match",
|
||||||
"~inc0.gif",
|
"~inc0.gif",
|
||||||
"~inc1.gif",
|
"~inc1.gif",
|
||||||
|
@ -106,17 +106,6 @@ def nanobench_flags(api, bot):
|
|||||||
if 'Intel' in bot and api.vars.is_linux:
|
if 'Intel' in bot and api.vars.is_linux:
|
||||||
configs.extend(['gles', 'glessrgb'])
|
configs.extend(['gles', 'glessrgb'])
|
||||||
|
|
||||||
# The following devices do not support glessrgb.
|
|
||||||
if 'glessrgb' in configs:
|
|
||||||
if ('IntelHD405' in bot or
|
|
||||||
'IntelIris640' in bot or
|
|
||||||
'IntelBayTrail' in bot or
|
|
||||||
'IntelHD2000' in bot or
|
|
||||||
'AndroidOne' in bot or
|
|
||||||
'Nexus7' in bot or
|
|
||||||
'NexusPlayer' in bot):
|
|
||||||
configs.remove('glessrgb')
|
|
||||||
|
|
||||||
if 'CommandBuffer' in bot:
|
if 'CommandBuffer' in bot:
|
||||||
configs = ['commandbuffer']
|
configs = ['commandbuffer']
|
||||||
if 'Vulkan' in bot:
|
if 'Vulkan' in bot:
|
||||||
|
@ -718,7 +718,7 @@
|
|||||||
"--json-output",
|
"--json-output",
|
||||||
"/path/to/tmp/json",
|
"/path/to/tmp/json",
|
||||||
"copy",
|
"copy",
|
||||||
"set -x; /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/images/colorspace --nameByHash --properties gitHash abc123 builder Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-All-Android buildbucket_build_id 123454321 swarming_bot_id skia-bot-123 swarming_task_id 123456 --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configuration Release cpu_or_gpu GPU cpu_or_gpu_value Mali400MP2 extra_config Android model AndroidOne os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config gles glesdft glesmsaa4 --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ _ test _ GrShape _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW _ gm _ bigblurs _ gm _ bleed _ gm _ bleed_alpha_bmp _ gm _ bleed_alpha_bmp_shader _ gm _ bleed_alpha_image _ gm _ bleed_alpha_image_shader _ gm _ bleed_image _ gm _ dropshadowimagefilter _ gm _ filterfastbounds gles gm _ imageblurtiled _ gm _ imagefiltersclipped _ gm _ imagefiltersscaled _ gm _ imageresizetiled _ gm _ matrixconvolution _ gm _ strokedlines glesmsaa4 gm _ imageblurtiled glesmsaa4 gm _ imagefiltersbase --match ~WritePixels ~PremulAlphaRoundTrip_Gpu ~ReimportImageTextureWithMipLevels --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
"set -x; /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/images/colorspace --nameByHash --properties gitHash abc123 builder Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-All-Android buildbucket_build_id 123454321 swarming_bot_id skia-bot-123 swarming_task_id 123456 --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configuration Release cpu_or_gpu GPU cpu_or_gpu_value Mali400MP2 extra_config Android model AndroidOne os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config gles glesdft glessrgb glesmsaa4 --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ glessrgb image _ _ _ test _ GrShape _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW _ gm _ bigblurs _ gm _ bleed _ gm _ bleed_alpha_bmp _ gm _ bleed_alpha_bmp_shader _ gm _ bleed_alpha_image _ gm _ bleed_alpha_image_shader _ gm _ bleed_image _ gm _ dropshadowimagefilter _ gm _ filterfastbounds gles gm _ imageblurtiled _ gm _ imagefiltersclipped _ gm _ imagefiltersscaled _ gm _ imageresizetiled _ gm _ matrixconvolution _ gm _ strokedlines glesmsaa4 gm _ imageblurtiled glesmsaa4 gm _ imagefiltersbase --match ~WritePixels ~PremulAlphaRoundTrip_Gpu ~ReimportImageTextureWithMipLevels --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
||||||
"[START_DIR]/tmp/dm.sh"
|
"[START_DIR]/tmp/dm.sh"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
|
@ -720,7 +720,7 @@
|
|||||||
"--json-output",
|
"--json-output",
|
||||||
"/path/to/tmp/json",
|
"/path/to/tmp/json",
|
||||||
"copy",
|
"copy",
|
||||||
"set -x; /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/images/colorspace --nameByHash --properties gitHash abc123 builder Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Release-All-Android buildbucket_build_id 123454321 swarming_bot_id \"\" swarming_task_id \"\" --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configuration Release cpu_or_gpu GPU cpu_or_gpu_value Tegra3 extra_config Android model Nexus7 os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config gles glesdft --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ _ test _ GrShape _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
"set -x; /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/images/colorspace --nameByHash --properties gitHash abc123 builder Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Release-All-Android buildbucket_build_id 123454321 swarming_bot_id \"\" swarming_task_id \"\" --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configuration Release cpu_or_gpu GPU cpu_or_gpu_value Tegra3 extra_config Android model Nexus7 os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config gles glesdft glessrgb --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ glessrgb image _ _ _ test _ GrShape _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
||||||
"[START_DIR]/tmp/dm.sh"
|
"[START_DIR]/tmp/dm.sh"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
|
@ -718,7 +718,7 @@
|
|||||||
"--json-output",
|
"--json-output",
|
||||||
"/path/to/tmp/json",
|
"/path/to/tmp/json",
|
||||||
"copy",
|
"copy",
|
||||||
"set -x; /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/images/colorspace --nameByHash --properties gitHash abc123 builder Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Debug-All-Android buildbucket_build_id 123454321 swarming_bot_id \"\" swarming_task_id \"\" --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configuration Debug cpu_or_gpu GPU cpu_or_gpu_value Tegra3 extra_config Android model Nexus7 os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config gles glesdft --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ _ test _ GrShape _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
"set -x; /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/images/colorspace --nameByHash --properties gitHash abc123 builder Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Debug-All-Android buildbucket_build_id 123454321 swarming_bot_id \"\" swarming_task_id \"\" --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configuration Debug cpu_or_gpu GPU cpu_or_gpu_value Tegra3 extra_config Android model Nexus7 os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config gles glesdft glessrgb --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ glessrgb image _ _ _ test _ GrShape _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
||||||
"[START_DIR]/tmp/dm.sh"
|
"[START_DIR]/tmp/dm.sh"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
|
@ -676,7 +676,7 @@
|
|||||||
"--json-output",
|
"--json-output",
|
||||||
"/path/to/tmp/json",
|
"/path/to/tmp/json",
|
||||||
"copy",
|
"copy",
|
||||||
"set -x; /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/images/colorspace --nameByHash --properties gitHash abc123 builder Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Debug-All-Android buildbucket_build_id 123454321 swarming_bot_id \"\" swarming_task_id \"\" --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configuration Debug cpu_or_gpu GPU cpu_or_gpu_value Tegra3 extra_config Android model Nexus7 os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config gles glesdft --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ _ test _ GrShape _ test _ EGLImageTest _ test _ ES2BlendWithNoTexture _ test _ GrSurfaceRenderability _ test _ WritePixelsMSAA_Gpu _ test _ WritePixelsNonTextureMSAA_Gpu _ test _ WritePixelsNonTexture_Gpu _ test _ WritePixels_Gpu _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW --match ~skbug6653 --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
"set -x; /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/images/colorspace --nameByHash --properties gitHash abc123 builder Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Debug-All-Android buildbucket_build_id 123454321 swarming_bot_id \"\" swarming_task_id \"\" --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configuration Debug cpu_or_gpu GPU cpu_or_gpu_value Tegra3 extra_config Android model Nexus7 os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config gles glesdft glessrgb --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ glessrgb image _ _ _ test _ GrShape _ test _ EGLImageTest _ test _ ES2BlendWithNoTexture _ test _ GrSurfaceRenderability _ test _ WritePixelsMSAA_Gpu _ test _ WritePixelsNonTextureMSAA_Gpu _ test _ WritePixelsNonTexture_Gpu _ test _ WritePixels_Gpu _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW --match ~skbug6653 --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
||||||
"[START_DIR]/tmp/dm.sh"
|
"[START_DIR]/tmp/dm.sh"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
|
@ -676,7 +676,7 @@
|
|||||||
"--json-output",
|
"--json-output",
|
||||||
"/path/to/tmp/json",
|
"/path/to/tmp/json",
|
||||||
"copy",
|
"copy",
|
||||||
"set -x; /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/images/colorspace --nameByHash --properties gitHash abc123 builder Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Debug-All-Android buildbucket_build_id 123454321 swarming_bot_id \"\" swarming_task_id \"\" --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configuration Debug cpu_or_gpu GPU cpu_or_gpu_value Tegra3 extra_config Android model Nexus7 os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config gles glesdft --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ _ test _ GrShape _ test _ SRGBReadWritePixels _ test _ SRGBMipMap _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
"set -x; /data/local/tmp/dm --resourcePath /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/images/colorspace --nameByHash --properties gitHash abc123 builder Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Debug-All-Android buildbucket_build_id 123454321 swarming_bot_id \"\" swarming_task_id \"\" --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configuration Debug cpu_or_gpu GPU cpu_or_gpu_value Tegra3 extra_config Android model Nexus7 os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config gles glesdft glessrgb --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ glessrgb image _ _ _ test _ GrShape _ test _ SRGBReadWritePixels _ test _ SRGBMipMap _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .cr2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .RW2 _ image _ .PEF _ image _ .SRW --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
||||||
"[START_DIR]/tmp/dm.sh"
|
"[START_DIR]/tmp/dm.sh"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
|
@ -166,7 +166,9 @@ def dm_flags(api, bot):
|
|||||||
if 'NativeFonts' in bot:
|
if 'NativeFonts' in bot:
|
||||||
configs.append(gl_prefix)
|
configs.append(gl_prefix)
|
||||||
else:
|
else:
|
||||||
configs.extend([gl_prefix, gl_prefix + 'dft', gl_prefix + 'srgb'])
|
configs.extend([gl_prefix,
|
||||||
|
gl_prefix + 'dft',
|
||||||
|
gl_prefix + 'srgb'])
|
||||||
if sample_count is not '':
|
if sample_count is not '':
|
||||||
configs.append(gl_prefix + 'msaa' + sample_count)
|
configs.append(gl_prefix + 'msaa' + sample_count)
|
||||||
|
|
||||||
@ -193,7 +195,10 @@ def dm_flags(api, bot):
|
|||||||
# Also do the Ganesh threading verification test (render with and without
|
# Also do the Ganesh threading verification test (render with and without
|
||||||
# worker threads, using only the SW path renderer, and compare the results).
|
# worker threads, using only the SW path renderer, and compare the results).
|
||||||
if 'Intel' in bot and api.vars.is_linux:
|
if 'Intel' in bot and api.vars.is_linux:
|
||||||
configs.extend(['gles', 'glesdft', 'glessrgb', 'gltestthreading'])
|
configs.extend(['gles',
|
||||||
|
'glesdft',
|
||||||
|
'glessrgb',
|
||||||
|
'gltestthreading'])
|
||||||
# skbug.com/6333, skbug.com/6419, skbug.com/6702
|
# skbug.com/6333, skbug.com/6419, skbug.com/6702
|
||||||
blacklist('gltestthreading gm _ lcdblendmodes')
|
blacklist('gltestthreading gm _ lcdblendmodes')
|
||||||
blacklist('gltestthreading gm _ lcdoverlap')
|
blacklist('gltestthreading gm _ lcdoverlap')
|
||||||
@ -209,17 +214,6 @@ def dm_flags(api, bot):
|
|||||||
# skbug.com/7523 - Flaky on various GPUs
|
# skbug.com/7523 - Flaky on various GPUs
|
||||||
blacklist('gltestthreading gm _ orientation')
|
blacklist('gltestthreading gm _ orientation')
|
||||||
|
|
||||||
# The following devices do not support glessrgb.
|
|
||||||
if 'glessrgb' in configs:
|
|
||||||
if ('IntelHD405' in bot or
|
|
||||||
'IntelIris640' in bot or
|
|
||||||
'IntelBayTrail' in bot or
|
|
||||||
'IntelHD2000' in bot or
|
|
||||||
'AndroidOne' in bot or
|
|
||||||
'Nexus7' in bot or
|
|
||||||
'NexusPlayer' in bot):
|
|
||||||
configs.remove('glessrgb')
|
|
||||||
|
|
||||||
# Test SkColorSpaceXformCanvas on a few bots
|
# Test SkColorSpaceXformCanvas on a few bots
|
||||||
if 'GTX1070' in bot:
|
if 'GTX1070' in bot:
|
||||||
configs.append('gbr-gl')
|
configs.append('gbr-gl')
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
* found in the LICENSE file.
|
* found in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "SkColorSpacePriv.h"
|
||||||
#include "SkCommonFlagsConfig.h"
|
#include "SkCommonFlagsConfig.h"
|
||||||
#include "SkImageInfo.h"
|
#include "SkImageInfo.h"
|
||||||
#include "SkTHash.h"
|
#include "SkTHash.h"
|
||||||
@ -53,11 +54,15 @@ static const struct {
|
|||||||
{ "gl1010102", "gpu", "api=gl,color=1010102" },
|
{ "gl1010102", "gpu", "api=gl,color=1010102" },
|
||||||
{ "gles1010102", "gpu", "api=gles,color=1010102" },
|
{ "gles1010102", "gpu", "api=gles,color=1010102" },
|
||||||
{ "glsrgb", "gpu", "api=gl,color=srgb" },
|
{ "glsrgb", "gpu", "api=gl,color=srgb" },
|
||||||
{ "glsrgbnl", "gpu", "api=gl,color=srgbnl" },
|
{ "glesrgb", "gpu", "api=gl,color=esrgb" },
|
||||||
|
{ "glnarrow", "gpu", "api=gl,color=narrow" },
|
||||||
|
{ "glenarrow", "gpu", "api=gl,color=enarrow" },
|
||||||
{ "glf16", "gpu", "api=gl,color=f16" },
|
{ "glf16", "gpu", "api=gl,color=f16" },
|
||||||
{ "glf16nl", "gpu", "api=gl,color=f16nl" },
|
|
||||||
{ "glessrgb", "gpu", "api=gles,color=srgb" },
|
{ "glessrgb", "gpu", "api=gles,color=srgb" },
|
||||||
{ "glessrgbnl", "gpu", "api=gles,color=srgbnl" },
|
{ "glesesrgb", "gpu", "api=gles,color=esrgb" },
|
||||||
|
{ "glesnarrow", "gpu", "api=gles,color=narrow" },
|
||||||
|
{ "glesenarrow", "gpu", "api=gles,color=enarrow" },
|
||||||
|
{ "glesf16", "gpu", "api=gles,color=f16" },
|
||||||
{ "glnostencils", "gpu", "api=gl,stencils=false" },
|
{ "glnostencils", "gpu", "api=gl,stencils=false" },
|
||||||
{ "gldft", "gpu", "api=gl,dit=true" },
|
{ "gldft", "gpu", "api=gl,dit=true" },
|
||||||
{ "glesdft", "gpu", "api=gles,dit=true" },
|
{ "glesdft", "gpu", "api=gles,dit=true" },
|
||||||
@ -82,6 +87,10 @@ static const struct {
|
|||||||
,{ "vknostencils", "gpu", "api=vulkan,stencils=false" }
|
,{ "vknostencils", "gpu", "api=vulkan,stencils=false" }
|
||||||
,{ "vk1010102", "gpu", "api=vulkan,color=1010102" }
|
,{ "vk1010102", "gpu", "api=vulkan,color=1010102" }
|
||||||
,{ "vksrgb", "gpu", "api=vulkan,color=srgb" }
|
,{ "vksrgb", "gpu", "api=vulkan,color=srgb" }
|
||||||
|
,{ "vkesrgb", "gpu", "api=vulkan,color=esrgb" }
|
||||||
|
,{ "vknarrow", "gpu", "api=vulkan,color=narrow" }
|
||||||
|
,{ "vkenarrow", "gpu", "api=vulkan,color=enarrow" }
|
||||||
|
,{ "vkf16", "gpu", "api=vulkan,color=f16" }
|
||||||
,{ "vkmsaa4", "gpu", "api=vulkan,samples=4" }
|
,{ "vkmsaa4", "gpu", "api=vulkan,samples=4" }
|
||||||
,{ "vkmsaa8", "gpu", "api=vulkan,samples=8" }
|
,{ "vkmsaa8", "gpu", "api=vulkan,samples=8" }
|
||||||
,{ "vkbetex", "gpu", "api=vulkan,surf=betex" }
|
,{ "vkbetex", "gpu", "api=vulkan,surf=betex" }
|
||||||
@ -141,10 +150,11 @@ static const char configExtendedHelp[] =
|
|||||||
"\t\t4444\t\t\tLinear 4444.\n"
|
"\t\t4444\t\t\tLinear 4444.\n"
|
||||||
"\t\t565\t\t\tLinear 565.\n"
|
"\t\t565\t\t\tLinear 565.\n"
|
||||||
"\t\t1010102\t\t\tLinear 1010102.\n"
|
"\t\t1010102\t\t\tLinear 1010102.\n"
|
||||||
"\t\tsrgb\t\t\tsRGB 8888 (Linear blending).\n"
|
"\t\tsrgb\t\t\tsRGB 8888.\n"
|
||||||
"\t\tsrgbnl\t\t\tsRGB 8888.\n"
|
"\t\tesrgb\t\t\tsRGB 16-bit floating point.\n"
|
||||||
"\t\tf16\t\t\t16-bit floating point (Linear blending).\n"
|
"\t\tnarrow\t\t\tNarrow gamut 8888.\n"
|
||||||
"\t\tf16nl\t\t\t16-bit floating point (sRGB encoded/blended).\n"
|
"\t\tenarrow\t\t\tNarrow gamut 16-bit floating point.\n"
|
||||||
|
"\t\tf16\t\t\tLinearly blended 16-bit floating point.\n"
|
||||||
"\tdit\ttype: bool\tdefault: false.\n"
|
"\tdit\ttype: bool\tdefault: false.\n"
|
||||||
"\t Use device independent text.\n"
|
"\t Use device independent text.\n"
|
||||||
"\tnvpr\ttype: bool\tdefault: false.\n"
|
"\tnvpr\ttype: bool\tdefault: false.\n"
|
||||||
@ -294,18 +304,19 @@ static bool parse_option_gpu_color(const SkString& value,
|
|||||||
*outColorType = kRGBA_1010102_SkColorType;
|
*outColorType = kRGBA_1010102_SkColorType;
|
||||||
*outColorSpace = nullptr;
|
*outColorSpace = nullptr;
|
||||||
} else if (value.equals("srgb")) {
|
} else if (value.equals("srgb")) {
|
||||||
// TODO: kRGBA_sRGB_SkColorType, srgbLinearColorSpace
|
|
||||||
*outColorType = kRGBA_8888_SkColorType;
|
*outColorType = kRGBA_8888_SkColorType;
|
||||||
*outColorSpace = SkColorSpace::MakeSRGB();
|
*outColorSpace = SkColorSpace::MakeSRGB();
|
||||||
} else if (value.equals("srgbnl")) {
|
} else if (value.equals("esrgb")) {
|
||||||
*outColorType = kRGBA_8888_SkColorType;
|
*outColorType = kRGBA_F16_SkColorType;
|
||||||
*outColorSpace = SkColorSpace::MakeSRGB();
|
*outColorSpace = SkColorSpace::MakeSRGB();
|
||||||
|
} else if (value.equals("narrow") || value.equals("enarrow")) {
|
||||||
|
SkMatrix44 narrow_gamut(SkMatrix44::kUninitialized_Constructor);
|
||||||
|
narrow_gamut.set3x3RowMajorf(gNarrow_toXYZD50);
|
||||||
|
*outColorType = value.equals("narrow") ? kRGBA_8888_SkColorType : kRGBA_F16_SkColorType;
|
||||||
|
*outColorSpace = SkColorSpace::MakeRGB(k2Dot2Curve_SkGammaNamed, narrow_gamut);
|
||||||
} else if (value.equals("f16")) {
|
} else if (value.equals("f16")) {
|
||||||
*outColorType = kRGBA_F16_SkColorType;
|
*outColorType = kRGBA_F16_SkColorType;
|
||||||
*outColorSpace = SkColorSpace::MakeSRGBLinear();
|
*outColorSpace = SkColorSpace::MakeSRGBLinear();
|
||||||
} else if (value.equals("f16nl")) {
|
|
||||||
*outColorType = kRGBA_F16_SkColorType;
|
|
||||||
*outColorSpace = SkColorSpace::MakeSRGB();
|
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user