android13/external/skia/experimental/wasm-skp-debugger
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
debugger initial 2024-06-22 20:45:49 +08:00
fonts initial 2024-06-22 20:45:49 +08:00
tests initial 2024-06-22 20:45:49 +08:00
Makefile initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
compile.sh initial 2024-06-22 20:45:49 +08:00
cpu.js initial 2024-06-22 20:45:49 +08:00
debugger_bindings.cpp initial 2024-06-22 20:45:49 +08:00
externs.js initial 2024-06-22 20:45:49 +08:00
gpu.js initial 2024-06-22 20:45:49 +08:00
helper.js initial 2024-06-22 20:45:49 +08:00
karma.conf.js initial 2024-06-22 20:45:49 +08:00
package.json initial 2024-06-22 20:45:49 +08:00

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