skia2/experimental
Kevin Lubick 22647d0e84 Adventures with Skia, WASM and a JS API for Pathkit
See shell.html::entrypoint() for the JS side of things.

See wasm_main.cpp for the C++ side of things
(EMSCRIPTEN_BINDINGS at the bottom is what glues the two parts
together - in general the strings are for JS and the not strings
are the C++)

To build this yourself, follow the getting started instructions:
https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html

and download this patch.  Then, update compile.sh to point at your
sdk and run it (e.g. $SKIA_ROOT/experimental/wasm/compile.sh)

Then navigate a browser (e.g. Chrome) to
http://localhost:8000/out/wasm/pathkit.html

So far, can compile with compile.sh, but not really with
GN/ninja (the compilation into many object files and a link
at the end seems to mess emscripten up)


Bug: skia:
Change-Id: If6b300e2b102469e17841265c7866f1a81094d70
Reviewed-on: https://skia-review.googlesource.com/137422
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2018-07-11 15:38:08 +00:00
..
c-api-example remove more old cmake files 2016-11-30 20:37:45 +00:00
docs runs some sample animations side by side in canvas and svg 2015-11-16 13:36:08 -08:00
documentation experimental/tools/gerrit-change-id-to-number 2017-12-18 17:21:42 +00:00
go-demo Experimental Go bindings for Skia 2017-05-10 15:32:19 +00:00
go-skia Fix go syntax for Debian compile 2018-03-19 20:26:46 +00:00
Networking Remove a huge pile of views code 2017-11-22 18:59:44 +00:00
svg/model Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
tools experimental/tools: minor code cleanup 2018-04-05 14:16:02 +00:00
wasm Adventures with Skia, WASM and a JS API for Pathkit 2018-07-11 15:38:08 +00:00
xps_to_png experimental/xps_to_png: pass in DPI as program argument 2016-11-14 15:39:09 +00:00