skia2/tools
Brian Osman 53136aa93f First stab at JSON event tracer
Not yet thread safe (so it forces threading off).
Builds JSON on the fly, so overhead is certainly bad.
Plan to fix all of that, but this at least "works".

There is now one tracing flag: 'trace'.
- 'debugf' installs the SkDebugf tracer.
- 'atrace' installs the Android ATrace tracer.
- Any other value is interpreted as a filename, and
  produces a JSON file for chrome://tracing.

All three modes work in DM, nanobench, and Viewer.

Bug: skia:
Change-Id: I3fbc22382b99418a508c670be2770195c0a1c364
Reviewed-on: https://skia-review.googlesource.com/24781
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2017-07-20 20:11:22 +00:00
..
copyright
debugger guard references to SkColorTable 2017-07-18 15:50:43 +00:00
fiddle Revert "Revert "Change image encode api to return sk_sp"" 2017-07-12 15:44:35 +00:00
flags First stab at JSON event tracer 2017-07-20 20:11:22 +00:00
gpu Remove GrBackendTextureDesc 2017-07-20 00:21:18 +00:00
lua Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
skdiff Revert "Revert "Delete copyTo(Allocator), hide copyTo() behind flag"" 2017-04-28 15:49:04 +00:00
skiaserve deprecate odd variants of SkCanvas::readPixels 2017-04-17 15:22:42 +00:00
skp Do not move over webpage archives, they are needed for capturing SKPs 2017-07-18 17:29:14 +00:00
skpbench Update gpu caps for valid sample counts. 2017-07-19 19:13:25 +00:00
svg
timer
trace First stab at JSON event tracer 2017-07-20 20:11:22 +00:00
viewer First stab at JSON event tracer 2017-07-20 20:11:22 +00:00
__init__.py
add_codereview_message.py
AndroidSkDebugToStdOut.cpp
BigPathBench.inc
build_command_buffer.py
BUILD_simulator.py
check-headers-self-sufficient header cleanup 2017-07-05 15:18:52 +00:00
chrome_fuzz.cpp Fix SkFILEStream. 2017-03-10 19:58:46 +00:00
colorspaceinfo.cpp ICC: SkICCGetColorProfileTag supports special cases 2017-07-10 17:08:28 +00:00
compare_codereview.py
CrashHandler.cpp
CrashHandler.h
create_flutter_test_images.cpp Add tool to create test images with interesting color profiles 2017-05-17 18:15:20 +00:00
create_test_font.cpp
doxygen_footer.txt
dump_record.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
DumpRecord.cpp
DumpRecord.h
embed_resources.py
find_run_binary.py
fix_pythonpath.py
gcov_shim
generate_fir_coeff.py
generate_vk_interface.sh
get_current_monitor_profile.cpp
get_images_from_skps.cpp Fixes for get_images_from_skps 2017-07-10 16:37:45 +00:00
git-sync-deps tools/git-sync-deps: less verbose when fetch is needed 2017-02-13 19:53:27 +00:00
gpuveto.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
gyp
imgblur.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
imgslice.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
install_dependencies.sh
ios_utils.h iOS: cd into Documents folder at startup 2017-02-06 15:06:45 +00:00
ios_utils.m iOS: cd into Documents folder at startup 2017-02-06 15:06:45 +00:00
iOSShell.cpp
iOSShell.h
jsondiff.py
LsanSuppressions.cpp
merge_static_libs.py
milestone.py
mirror-dev.sh
misc_utils.py
monobench.cpp Add sRGB support to monobench. 2017-05-15 20:24:26 +00:00
ok_dsts.cpp ok: add 8888 and rp dsts 2017-06-13 14:25:41 +00:00
ok_srcs.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
ok_test.cpp ok, most features can be vias 2017-03-31 03:03:18 +00:00
ok_vias.cpp add memory via to ok 2017-06-19 19:32:52 +00:00
ok.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
ok.h ok, most features can be vias 2017-03-31 03:03:18 +00:00
OverwriteLine.h
parse_llvm_coverage.py
pathops_sorter.htm add nonsquare scale to pathops sorter tool 2017-06-02 19:30:07 +00:00
pathops_visualizer.htm keep integral rectangle intersections integral 2017-04-18 16:40:48 +00:00
picture_utils.cpp convert over to 2d-mode 2017-07-20 19:50:32 +00:00
picture_utils.h
pinspect.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
ProcStats.cpp Fix getMaxResidentSetSizeMB() on iOS. 2017-02-06 17:06:11 +00:00
ProcStats.h
public_headers_warnings_check.cpp
random_parse_path.cpp
random_parse_path.h
reformat-json.py
Registry.h
Resources.cpp Add new SkImageGenerator::getPixels() API, deprecate the old 2017-05-12 16:48:17 +00:00
Resources.h
retrieve_from_googlesource.py
sanitize_source_files.py Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
sk_tool_utils_flags.h
sk_tool_utils_font.cpp
sk_tool_utils.cpp remove references to kIndex_8_SkColorType from our tools/tests 2017-07-12 20:25:44 +00:00
sk_tool_utils.h add srgb gamma colorfilters 2017-07-05 20:16:27 +00:00
skhello.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
SkJSONCPP.h
skp_parser.cpp
skpinfo.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
skpmaker.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
SkShaper_harfbuzz.cpp
SkShaper_primitive.cpp
SkShaper.h
Stats.h
test_all.py
test_font_data_chars.cpp
test_font_data.cpp
test_font_index.inc
test_font_monospace.inc
test_font_sans_serif.inc
test_font_serif.inc
test_gpuveto.py
test_pdfs.py
ThermalManager.cpp
ThermalManager.h
UrlDataManager.cpp
UrlDataManager.h
using_skia_and_harfbuzz.cpp
valgrind.supp Valgrind suppressions for new Debian 9 GPU bot 2017-06-30 14:53:38 +00:00
whitelist_typefaces.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
win_dbghelp.cpp
win_dbghelp.h
win_lcid.cpp
xsan.blacklist