skia2/example
Kevin Lubick 196b172650 [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.

This is a reland of https://skia-review.googlesource.com/c/skia/+/528837

Bug: skia:12541
Change-Id: I79612c69fdbefd3db9822a2b66df7552f7c13865
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/529278
Reviewed-by: John Stiles <johnstiles@google.com>
2022-04-12 13:59:25 +00:00
..
BUILD.bazel [sksl] Make sksl tracing optional 2022-04-12 13:59:25 +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