skia2/experimental/wasm-skp-debugger
Nathaniel Nifong a084ef4291 Add supporting function for finding image use in layers
Change-Id: I39d3a95a3854875d15992b73ee16521d3bf28c8b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/337596
Commit-Queue: Nathaniel Nifong <nifong@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-11-24 17:04:56 +00:00
..
debugger Upgrade to emscripten 1.39.16 2020-05-21 18:31:21 +00:00
fonts Initial wasm debugger 2019-03-05 16:10:15 +00:00
tests Upgrade to emscripten 1.39.16 2020-05-21 18:31:21 +00:00
.gitignore Initial wasm debugger 2019-03-05 16:10:15 +00:00
compile.sh Remove unused macros from GrGLConfig.h, GrGLConfig_chrome.h, and scripts 2020-11-18 20:23:35 +00:00
cpu.js Debugger changes to make layer inspection interactive 2019-12-20 14:32:28 +00:00
debugger_bindings.cpp Add supporting function for finding image use in layers 2020-11-24 17:04:56 +00:00
externs.js Add supporting function for finding image use in layers 2020-11-24 17:04:56 +00:00
gpu.js [canvaskit] Bump GPU resource cache to 256MB 2019-04-05 18:06:18 +00:00
helper.js missed minification bug 2020-08-14 17:06:05 +00:00
karma.conf.js Add tests that loads mskp and changes frame. 2019-09-25 18:13:00 +00:00
Makefile update debugger wasm makefile 2020-11-19 16:45:10 +00:00
package.json Basic wasm skp debugger unit test 2019-03-06 14:41:17 +00:00
README.md Make move-assets obey SKIA_INFRA_ROOT 2019-09-27 17:48:35 +00:00
serve.py Initial wasm debugger 2019-03-05 16:10:15 +00:00

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