skia2/example
Kevin Lubick 6bc4bdf645 [sksl] Make sksl tracing optional
This removes the required dependency on our JSON code. In the Bazel
rules, this dependency is pushed down into sksl instead of required
by the cc_binary rules.

It adds a stub version of SkVMDebugTrace.cpp and removes
SkVMDebugTracePlayer unless the appropriate GN or Bazel flag
is set (skia_enable_sksl_tracing and enable_sksl_tracing,
respectively). There was an existing #define that CanvasKit
used (CK_INCLUDE_SKSL_TRACE) and this was changed to
SKSL_ENABLE_TRACING.

Users of //:skia_core no longer need to specify a JSON dep,
if sksl needs it (e.g. for tracing), then it will specify
the dependency.

Change-Id: I2fcd29cde118fc391c269ba2d8f8a40a6f164c99
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528837
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-04-11 15:22:41 +00:00
..
BUILD.bazel [sksl] Make sksl tracing optional 2022-04-11 15:22:41 +00:00
HelloWorld.cpp [bazel] Add support for Dawn (via Vulkan) 2022-03-22 13:05:52 +00:00
HelloWorld.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
VulkanBasic.cpp Add basic Vulkan setup and draw example program. 2022-04-08 18:26:21 +00:00