skia2/experimental/wasm-skp-debugger
Kevin Lubick 102dbf9c43 [canvaskit] Disable dynamic execution
This required an update to emscripten, due to there being
a few bug fixes regarding the non-dynamic code and the
Closure compiler/minifier.

Change-Id: Icc922bd98cdd52a6923a9367da3747dac2b897b3
Bug: skia:12795
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/492916
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2022-02-01 13:15:22 +00:00
..
debugger Upgrade to emscripten 1.39.16 2020-05-21 18:31:21 +00:00
fonts
tests Upgrade to emscripten 1.39.16 2020-05-21 18:31:21 +00:00
.gitignore
compile.sh [canvaskit] Disable dynamic execution 2022-02-01 13:15:22 +00:00
cpu.js
debugger_bindings.cpp handle different bounds for every frame 2020-12-07 20:52:10 +00:00
externs.js Add supporting function for finding image use in layers 2020-11-24 17:04:56 +00:00
gpu.js Use WebGL2, not EGL, and don't use replace clip op. 2021-06-02 17:00:19 +00:00
helper.js missed minification bug 2020-08-14 17:06:05 +00:00
karma.conf.js
Makefile update debugger wasm makefile 2020-11-19 16:45:10 +00:00
package.json
README.md

WASM SKP Debugger

The wasm skp debugger is a wasm binary that uses DebugCanvas to show SKP and MSKP files. It is embedded in the javascript code in debugger-assets from the infra buildbot repository.

The live version is available at debugger.skia.org

Build

make debug
make move-assets

note that make move-assets just copies the two output files over to the infra repo where they can be served locally. This requires SKIA_INFRA_ROOT to be set to the root of your checkout of that repo.

For more information on running the debugger locally, see infra/debugger-assets/README.md in the buildbot repo.

Test

tests are run with

make test-continuous

tests are defined by files in tests/*.spec.js