Switch sense of opList splitting flag and employ it on the NVIDIA_Shield bot
Bug: skia:9036 Change-Id: I0e8b44a0c586abd982e7301d1b366c04d69aff0b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211421 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Eric Boren <borenet@google.com>
This commit is contained in:
parent
70f159a8b3
commit
6c8f5b31ac
@ -585,7 +585,7 @@
|
||||
"--json-output",
|
||||
"/path/to/tmp/json",
|
||||
"copy",
|
||||
"set -x; /data/local/tmp/nanobench -i /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/nanobench --svgs /sdcard/revenge_of_the_skiabot/svgs --pre_log --images --gpuStatsDump true --scales 1.0 1.1 --nocpu --config gl glsrgb glmsaa4 glnvpr4 --match ~blurroundrect ~patch_grid ~desk_carsvg ~skinning ~inc0.gif ~inc1.gif ~incInterlaced.gif ~inc0.jpg ~incGray.jpg ~inc0.wbmp ~inc1.wbmp ~inc0.webp ~inc1.webp ~inc0.ico ~inc1.ico ~inc0.png ~inc1.png ~inc2.png ~inc12.png ~inc13.png ~inc14.png ~inc0.webp ~inc1.webp --outResultsFile /sdcard/revenge_of_the_skiabot/perf/nanobench_abc123_1337000001.json --properties gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456 --key arch arm64 compiler Clang cpu_or_gpu GPU cpu_or_gpu_value TegraX1 extra_config Android model NVIDIA_Shield os Android; echo $? >/data/local/tmp/rc",
|
||||
"set -x; /data/local/tmp/nanobench -i /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/nanobench --svgs /sdcard/revenge_of_the_skiabot/svgs --pre_log --images --gpuStatsDump true --scales 1.0 1.1 --nocpu --config gl glsrgb glmsaa4 glnvpr4 --dontReduceOpListSplitting --match ~blurroundrect ~patch_grid ~desk_carsvg ~inc0.gif ~inc1.gif ~incInterlaced.gif ~inc0.jpg ~incGray.jpg ~inc0.wbmp ~inc1.wbmp ~inc0.webp ~inc1.webp ~inc0.ico ~inc1.ico ~inc0.png ~inc1.png ~inc2.png ~inc12.png ~inc13.png ~inc14.png ~inc0.webp ~inc1.webp --outResultsFile /sdcard/revenge_of_the_skiabot/perf/nanobench_abc123_1337000001.json --properties gitHash abc123 swarming_bot_id skia-bot-123 swarming_task_id 123456 --key arch arm64 compiler Clang cpu_or_gpu GPU cpu_or_gpu_value TegraX1 extra_config Android model NVIDIA_Shield os Android; echo $? >/data/local/tmp/rc",
|
||||
"[START_DIR]/tmp/nanobench.sh"
|
||||
],
|
||||
"env": {
|
||||
|
@ -144,6 +144,10 @@ def nanobench_flags(api, bot):
|
||||
# Ensure that the bot framework does not think we have timed out.
|
||||
args.extend(['--keepAlive', 'true'])
|
||||
|
||||
# skia:9036
|
||||
if 'NVIDIA_Shield' in bot:
|
||||
args.extend(['--dontReduceOpListSplitting'])
|
||||
|
||||
# Some people don't like verbose output.
|
||||
verbose = False
|
||||
|
||||
@ -155,8 +159,6 @@ def nanobench_flags(api, bot):
|
||||
match.append('~desk_carsvg')
|
||||
if 'Nexus5' in bot:
|
||||
match.append('~keymobi_shop_mobileweb_ebay_com.skp') # skia:5178
|
||||
if 'NVIDIA_Shield' in bot:
|
||||
match.append('~skinning') # skia:9036
|
||||
if 'iOS' in bot:
|
||||
match.append('~blurroundrect')
|
||||
match.append('~patch_grid') # skia:2847
|
||||
|
@ -677,7 +677,7 @@
|
||||
"--json-output",
|
||||
"/path/to/tmp/json",
|
||||
"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-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android buildbucket_build_id 123454321 task_id task_12345 swarming_bot_id skia-bot-123 swarming_task_id 123456 --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm64 compiler Clang configuration Debug cpu_or_gpu GPU cpu_or_gpu_value MaliT760 extra_config Android model GalaxyS6 os Android style default --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 _ test _ ProcessorCloneTest _ test _ GLPrograms _ test _ ProcessorOptimizationValidationTest _ svg _ svgparse_ glessrgb image _ _ _ image gen_platf error _ 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 --match ~SpecialImage ~skbug6653 --nonativeFonts --reduceOpListSplitting --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-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android buildbucket_build_id 123454321 task_id task_12345 swarming_bot_id skia-bot-123 swarming_task_id 123456 --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm64 compiler Clang configuration Debug cpu_or_gpu GPU cpu_or_gpu_value MaliT760 extra_config Android model GalaxyS6 os Android style default --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 _ test _ ProcessorCloneTest _ test _ GLPrograms _ test _ ProcessorOptimizationValidationTest _ svg _ svgparse_ glessrgb image _ _ _ image gen_platf error _ 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 --match ~SpecialImage ~skbug6653 --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
||||
"[START_DIR]/tmp/dm.sh"
|
||||
],
|
||||
"env": {
|
||||
|
@ -677,7 +677,7 @@
|
||||
"--json-output",
|
||||
"/path/to/tmp/json",
|
||||
"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-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android_NoGPUThreads buildbucket_build_id 123454321 task_id task_12345 swarming_bot_id skia-bot-123 swarming_task_id 123456 --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm64 compiler Clang configuration Debug cpu_or_gpu GPU cpu_or_gpu_value MaliT760 extra_config Android_NoGPUThreads model GalaxyS6 os Android style default --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 --gpuThreads 0 --blacklist _ test _ ProcessorCloneTest _ test _ GLPrograms _ test _ ProcessorOptimizationValidationTest _ svg _ svgparse_ glessrgb image _ _ _ image gen_platf error _ 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 --match ~SpecialImage ~skbug6653 --nonativeFonts --reduceOpListSplitting --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-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android_NoGPUThreads buildbucket_build_id 123454321 task_id task_12345 swarming_bot_id skia-bot-123 swarming_task_id 123456 --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm64 compiler Clang configuration Debug cpu_or_gpu GPU cpu_or_gpu_value MaliT760 extra_config Android_NoGPUThreads model GalaxyS6 os Android style default --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 --gpuThreads 0 --blacklist _ test _ ProcessorCloneTest _ test _ GLPrograms _ test _ ProcessorOptimizationValidationTest _ svg _ svgparse_ glessrgb image _ _ _ image gen_platf error _ 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 --match ~SpecialImage ~skbug6653 --nonativeFonts --verbose; echo $? >/data/local/tmp/rc",
|
||||
"[START_DIR]/tmp/dm.sh"
|
||||
],
|
||||
"env": {
|
||||
|
@ -677,7 +677,7 @@
|
||||
"--json-output",
|
||||
"/path/to/tmp/json",
|
||||
"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-GalaxyS7_G930FD-GPU-MaliT880-arm64-Release-All-Android_Vulkan buildbucket_build_id 123454321 task_id task_12345 swarming_bot_id skia-bot-123 swarming_task_id 123456 --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm64 compiler Clang configuration Release cpu_or_gpu GPU cpu_or_gpu_value MaliT880 extra_config Android_Vulkan model GalaxyS7_G930FD os Android style default --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config vk vkmsaa4 --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ _ image gen_platf error _ 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 --reduceOpListSplitting --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-GalaxyS7_G930FD-GPU-MaliT880-arm64-Release-All-Android_Vulkan buildbucket_build_id 123454321 task_id task_12345 swarming_bot_id skia-bot-123 swarming_task_id 123456 --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm64 compiler Clang configuration Release cpu_or_gpu GPU cpu_or_gpu_value MaliT880 extra_config Android_Vulkan model GalaxyS7_G930FD os Android style default --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --dont_write pdf --nocpu --config vk vkmsaa4 --src tests gm image colorImage svg --blacklist _ svg _ svgparse_ _ image gen_platf error _ 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"
|
||||
],
|
||||
"env": {
|
||||
|
@ -449,7 +449,6 @@
|
||||
"~^WritePixels_Gpu$",
|
||||
"~^WritePixelsMSAA_Gpu$",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -431,7 +431,6 @@
|
||||
"~VkHeapTests",
|
||||
"~GLPrograms",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -400,7 +400,6 @@
|
||||
"_",
|
||||
".SRW",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -401,7 +401,6 @@
|
||||
"_",
|
||||
".SRW",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -343,7 +343,6 @@
|
||||
"_",
|
||||
".SRW",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -297,7 +297,6 @@
|
||||
"_",
|
||||
".SRW",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -337,7 +337,6 @@
|
||||
"--match",
|
||||
"~Threaded",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose",
|
||||
"--abandonGpuContext"
|
||||
],
|
||||
|
@ -307,7 +307,6 @@
|
||||
"~Threaded",
|
||||
"~multipicturedraw_",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose",
|
||||
"--preAbandonGpuContext"
|
||||
],
|
||||
|
@ -421,7 +421,6 @@
|
||||
"_",
|
||||
".SRW",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose"
|
||||
],
|
||||
"env": {
|
||||
|
@ -426,7 +426,6 @@
|
||||
"_",
|
||||
".SRW",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose",
|
||||
"--releaseAndAbandonGpuContext"
|
||||
],
|
||||
|
@ -433,7 +433,6 @@
|
||||
"~BlurMaskBiggerThanDest",
|
||||
"~^ProcessorOptimizationValidationTest$",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose"
|
||||
],
|
||||
"env": {
|
||||
|
@ -603,7 +603,6 @@
|
||||
"_",
|
||||
"textblobmixedsizes_df",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose"
|
||||
],
|
||||
"env": {
|
||||
|
@ -428,7 +428,6 @@
|
||||
"--match",
|
||||
"~BlurMaskBiggerThanDest",
|
||||
"--nonativeFonts",
|
||||
"--reduceOpListSplitting",
|
||||
"--verbose"
|
||||
],
|
||||
"env": {
|
||||
|
@ -820,20 +820,6 @@ def dm_flags(api, bot):
|
||||
if 'GDI' in bot:
|
||||
args.append('--gdi')
|
||||
|
||||
if ('QuadroP400' in bot or
|
||||
'Adreno540' in bot or
|
||||
'IntelHD2000' in bot or # gen 6 - sandy bridge
|
||||
'IntelHD4400' in bot or # gen 7 - haswell
|
||||
'IntelHD405' in bot or # gen 8 - cherryview braswell
|
||||
'IntelIris6100' in bot or # gen 8 - broadwell
|
||||
'IntelIris540' in bot or # gen 9 - skylake
|
||||
'IntelIris640' in bot or # gen 9 - kaby lake
|
||||
'IntelIris655' in bot or # gen 9 - coffee lake
|
||||
'MaliT760' in bot or
|
||||
'MaliT860' in bot or
|
||||
'MaliT880' in bot):
|
||||
args.extend(['--reduceOpListSplitting'])
|
||||
|
||||
# Let's make all bots produce verbose output by default.
|
||||
args.append('--verbose')
|
||||
|
||||
|
@ -31,7 +31,7 @@ bool CollectImages(CommandLineFlags::StringArray dir, SkTArray<SkString>* output
|
||||
* --noGS
|
||||
* --pr
|
||||
* --disableDriverCorrectnessWorkarounds
|
||||
* --reduceOpListSplitting
|
||||
* --dontReduceOpListSplitting
|
||||
*/
|
||||
void SetCtxOptionsFromCommonFlags(struct GrContextOptions*);
|
||||
|
||||
|
@ -30,7 +30,7 @@ static DEFINE_string(pr, "",
|
||||
static DEFINE_bool(disableDriverCorrectnessWorkarounds, false,
|
||||
"Disables all GPU driver correctness workarounds");
|
||||
|
||||
static DEFINE_bool(reduceOpListSplitting, false, "Improve opList sorting");
|
||||
static DEFINE_bool(dontReduceOpListSplitting, false, "Allow more opList splitting");
|
||||
|
||||
|
||||
static GpuPathRenderers get_named_pathrenderers_flags(const char* name) {
|
||||
@ -91,7 +91,7 @@ void SetCtxOptionsFromCommonFlags(GrContextOptions* ctxOptions) {
|
||||
ctxOptions->fGpuPathRenderers = collect_gpu_path_renderers_from_flags();
|
||||
ctxOptions->fDisableDriverCorrectnessWorkarounds = FLAGS_disableDriverCorrectnessWorkarounds;
|
||||
|
||||
if (FLAGS_reduceOpListSplitting) {
|
||||
ctxOptions->fReduceOpListSplitting = GrContextOptions::Enable::kYes;
|
||||
if (FLAGS_dontReduceOpListSplitting) {
|
||||
ctxOptions->fReduceOpListSplitting = GrContextOptions::Enable::kNo;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user