skia2/experimental/wasm-skp-debugger
Brian Salomon f4ba4ec796 Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""""
Updated to use sentinel GL context even when GL backend is not built.

This reverts commit 1171d314ef.

Change-Id: Ia94bbe4865ddd4e898446c13886877c539f0eb0b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/277976
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2020-03-20 17:11:58 +00:00
..
debugger [debugger] Use alternate buffer 2019-10-10 15:19:42 +00:00
fonts
tests Add tests that loads mskp and changes frame. 2019-09-25 18:13:00 +00:00
.gitignore
compile.sh Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
cpu.js Debugger changes to make layer inspection interactive 2019-12-20 14:32:28 +00:00
debugger_bindings.cpp Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
externs.js [debugger] Use alternate buffer 2019-10-10 15:19:42 +00:00
gpu.js [canvaskit] Bump GPU resource cache to 256MB 2019-04-05 18:06:18 +00:00
helper.js [debugger] Use alternate buffer 2019-10-10 15:19:42 +00:00
karma.conf.js Add tests that loads mskp and changes frame. 2019-09-25 18:13:00 +00:00
Makefile Make move-assets obey SKIA_INFRA_ROOT 2019-09-27 17:48:35 +00:00
package.json
README.md Make move-assets obey SKIA_INFRA_ROOT 2019-09-27 17:48:35 +00:00
ready.js
serve.py

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