skia2/tools/flags
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
..
SkCommandLineFlags.cpp output flags once 2017-07-06 12:56:27 +00:00
SkCommandLineFlags.h Move SkTDArray to private. 2016-02-18 08:53:33 -08:00
SkCommonFlags.cpp First stab at JSON event tracer 2017-07-20 20:11:22 +00:00
SkCommonFlags.h First stab at JSON event tracer 2017-07-20 20:11:22 +00:00
SkCommonFlagsConfig.cpp Add support for GL 565 and 4444 configs to test tools 2017-07-17 17:09:08 +00:00
SkCommonFlagsConfig.h Add support for GL 565 and 4444 configs to test tools 2017-07-17 17:09:08 +00:00
SkCommonFlagsPathRenderer.h Coverage counting path renderer 2017-07-14 21:45:35 +00:00