skia2/tools
scroggo 7579786f3b Treat bad values passed to --images as a fatal error
If an option is passed to --images that is either a non-existent path or
a folder with no images matching the supported types, assume this is
an error and exit, so they can supply a valid path instead.

Share code between DM and nanobench in SkCommonFlags.

nanobench now behaves more like DM - it will check a directory for
images that match the supported extensions.

Only consider image paths ending in RAW suffixes as images if
SK_CODE_DECODES_RAW is defined. This prevents us from seeing failure
to decode errors on platforms that cannot decode it.

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1611323004

Review URL: https://codereview.chromium.org/1611323004
2016-01-28 08:41:10 -08:00
..
android Move SkAndroidSDKCanvas to tools and ensure that it is built on all Android builds 2015-12-18 09:34:08 -08:00
copyright
flags Treat bad values passed to --images as a fatal error 2016-01-28 08:41:10 -08:00
json switched to SkJSONCPP for JSON output 2016-01-27 09:06:35 -08:00
kilobench Add a background timing thread to kilobench 2016-01-28 06:26:35 -08:00
lua Add Lua SkXfermode skp scraping support 2016-01-21 09:05:32 -08:00
skiaserve skiaserve: Clean up flags. 2016-01-28 06:24:19 -08:00
skp Add 2 new SKPS to the buildbot repository 2015-12-17 09:40:30 -08:00
timer SkTime::GetNSecs() 2015-10-23 07:02:06 -07:00
VisualBench SampleApp: Remove SkWindow::setColorType 2016-01-18 01:18:35 -08:00
__init__.py
add_codereview_message.py
AndroidSkDebugToStdOut.cpp Change how SkDebugf is sent to stdout on Android. 2014-12-10 10:23:06 -08:00
BigPathBench.inc Factor out VisualBench timing code into a helper class 2015-10-05 07:23:30 -07:00
BUILD_simulator.py Fix Google3 fonts. Use fontconfig rather than custom_directory_factory. Add Google3 font caching. 2015-12-01 11:12:05 -08:00
BUILD.public.expected Start using <type_traits> and <utility> (C++11). 2016-01-05 14:59:40 -08:00
buildbot_spec.json Stop testing builds with runtime-detected NEON 2016-01-21 14:24:10 -08:00
buildbot_spec.py Stop testing builds with runtime-detected NEON 2016-01-21 14:24:10 -08:00
builder_name_schema.json Add builder_spec.py 2015-07-29 07:38:49 -07:00
builder_name_schema.py Add builder_spec.py 2015-07-29 07:38:49 -07:00
chrome_fuzz.cpp Eliminate SkFILE: it always is the same as FILE. 2015-11-20 13:47:49 -08:00
compare_codereview.py
coverage.sh
CrashHandler.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
CrashHandler.h rewrite ambiguous comment 2015-02-10 07:47:31 -08:00
create_test_font.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
dm_flags.json Stop testing SkImageDecoder in DM/nanobench 2016-01-27 08:26:44 -08:00
dm_flags.py Stop testing SkImageDecoder in DM/nanobench 2016-01-27 08:26:44 -08:00
doxygen_footer.txt
dump_record.cpp add SkRecordOptimize2 and an experimental API for more aggressive opts 2015-11-19 10:31:08 -08:00
DumpRecord.cpp teach dump_record to recurse into subpictures 2016-01-20 08:46:40 -08:00
DumpRecord.h
embed_resources.py Add option to embed font data into executable. 2015-03-30 12:53:48 -07:00
find_bad_images_in_skps.py
find_run_binary.py
fix_pythonpath.py
gcov_shim
gen_bench_expectations_from_codereview.py
generate_fir_coeff.py
generate_includes_cpp.py fix for the msvs gyp generator that produces nonposix path separators 2014-11-25 08:25:29 -08:00
git-skia-verify
git-sync-deps tools/git-sync-deps: handle changing origin 2015-11-24 13:10:52 -08:00
gpuveto.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
imgblur.cpp Add imgblur tool to assist BlurMaskFilter debugging 2015-10-19 06:39:17 -07:00
imgconv.cpp version 0 of imgconv tool 2014-12-17 13:08:17 -08:00
imgslice.cpp Add slice tool 2015-09-18 09:04:43 -07:00
install_dependencies.sh doc: add quickstart to linux and macos 2015-04-28 13:06:54 -07:00
iOSShell.cpp Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
iOSShell.h C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
jsondiff.py tools: Remove reference to svndiff. 2014-10-24 17:21:41 -02:00
LazyDecodeBitmap.cpp SkInstallDiscardablePixelRef is deprecated, enforce that 2015-09-25 06:56:57 -07:00
LazyDecodeBitmap.h
llvm_coverage_build llvm_coverage_build: Use CC and CXX variables by default 2015-07-17 07:31:07 -07:00
llvm_coverage_run.py Split llvm_coverage_run into two scripts 2015-07-20 09:43:36 -07:00
llvm_coverage.sh Add scripts for running LLVM coverage 2015-07-06 07:43:58 -07:00
lsan.supp Suppress mystery leak. 2014-09-05 10:36:40 -07:00
merge_static_libs.py
mirror-dev.sh Land Ben's 32-bit symlink script. 2015-02-03 10:43:28 -05:00
misc_utils.py
nanobench_flags.json Add pre_log option to nanobench; make this option default true in nanobench_flags.py and dm_flags.py. 2016-01-25 13:02:40 -08:00
nanobench_flags.py Add pre_log option to nanobench; make this option default true in nanobench_flags.py and dm_flags.py. 2016-01-25 13:02:40 -08:00
OverwriteLine.h ios fixes 2014-07-11 12:14:51 -07:00
parse_llvm_coverage.py Coverage: add a trace for not_covered_lines per file 2015-07-22 08:19:25 -07:00
pathops_sorter.htm More conic-specific tests revealed a few conic-specific bugs. Because javascript / canvas make visualizing conics tricky, new native tools are required. 2015-10-30 12:03:06 -07:00
pathops_visualizer.htm More conic-specific tests revealed a few conic-specific bugs. Because javascript / canvas make visualizing conics tricky, new native tools are required. 2015-10-30 12:03:06 -07:00
picture_utils.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
picture_utils.h Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
pinspect.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
ProcStats.cpp Looks like rssPages * pageSize is overflowing on 32-bit Linux... 2015-04-30 07:35:28 -07:00
ProcStats.h DM+nanobench: print both current and max RSS. 2015-04-30 07:11:22 -07:00
reformat-json.py
Resources.cpp formalize generate->bitmap 2015-09-13 11:03:32 -07:00
Resources.h GMs: change some GMs to use SkImage over SkBitmap 2015-08-21 07:47:23 -07:00
retrieve_from_googlesource.py
sanitize_source_files.py
sk_tool_utils_flags.h Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
sk_tool_utils_font.cpp Revert of Consolidate SK_CRASH and sk_throw into SK_ABORT (patchset #5 id:80001 of https://codereview.chromium.org/1610823002/ ) 2016-01-22 06:50:25 -08:00
sk_tool_utils.cpp default SkPixelSerializer 2015-12-10 12:40:23 -08:00
sk_tool_utils.h default SkPixelSerializer 2015-12-10 12:40:23 -08:00
skdiff_html.cpp
skdiff_html.h
skdiff_image.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
skdiff_main.cpp move SkTDict and SkTSearch into private 2016-01-03 18:36:05 -08:00
skdiff_utils.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
skdiff_utils.h Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
skdiff.cpp
skdiff.h Fix usage of SK_BUILD_* defines. 2014-10-06 10:46:51 -07:00
skhello.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
skpinfo.cpp Bump min picture version. 2014-12-01 06:56:38 -08:00
skpmaker.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
Stats.h Revert of Consolidate SK_CRASH and sk_throw into SK_ABORT (patchset #5 id:80001 of https://codereview.chromium.org/1610823002/ ) 2016-01-22 06:50:25 -08:00
test_all.py skimage, die die die 2014-12-15 12:47:52 -08:00
test_font_data_chars.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
test_font_data.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
test_font_index.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
test_font_monospace.cpp PDF expects fonts to map glyph ID 0 to the missing character. 2015-06-11 09:40:44 -07:00
test_font_sans_serif.cpp PDF expects fonts to map glyph ID 0 to the missing character. 2015-06-11 09:40:44 -07:00
test_font_serif.cpp PDF expects fonts to map glyph ID 0 to the missing character. 2015-06-11 09:40:44 -07:00
test_gpuveto.py
test_image_decoder.cpp
test_pdfs.py
tsan.supp SkPDF: remove suppression 2015-10-02 12:15:55 -07:00
ubsan.supp Add tools/ubsan.supp. 2015-08-05 10:12:33 -04:00
valgrind.supp Suppress jpeg valgrind errors 2016-01-27 12:05:27 -08:00
whitelist_typefaces.cpp Suppress embedding fonts when the skp's fonts match the OS fonts. 2015-08-31 09:22:38 -07:00
win_dbghelp.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
win_dbghelp.h
win_lcid.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
xsan_build
xsan.blacklist Remove size check from SkCodec 2016-01-13 10:54:20 -08:00