This repo is not used anymore. Development of Orca was moved here: https://github.com/orca-app/orca
https://orca-app.dev/
Martin Fouilleul
e4d9955e83
- Allow orca app to request either Canvas or GLES surfaces - Add bounds check specifications to the json bindings spec format and to the bindings generator scripts. - Generate GLES API json bindings spec from gl.xml - Remove APIs that can't be bound with current wasm memory model (ie buffer mapping) - Manually link remaining APIs, except glGetString - Add fluid simulation sample - Add abort messages for wasm loading and runtime fatal errors - Adapt orca build tool to generate GLES json spec from gl.xml - Adapt glesTriangle and fluid samples build scripts to new orca build tool |
||
---|---|---|
cstdlib | ||
ext/wasm3 | ||
milepost@d01dc832fb | ||
resources | ||
samples | ||
scripts | ||
sdk | ||
src | ||
test/bulkmem | ||
.gitignore | ||
.gitmodules | ||
.orcaroot | ||
Readme.md | ||
orca | ||
orca.bat |
Readme.md
Install
Clone the repo with the --recurse-submodules
option.
Get and build ANGLE (see milepost/ext/angle_install_notes.md
), and put libEGL.dylib
and libGLESv2.dylib
in milepost/bin
.
Cd to orca and build milepost (the platform layer), wasm3 (the wasm runtime), then orca:
cd Orca
./build.sh milepost
./build.sh wasm3
./build.sh orca
Build the sample orca app:
pushd samples/pong ; ./build.sh ; popd
This creates a Pong.app
bundle in samples/pong
that you can double click to run.
You can also build milepost example apps like so:
cd milepost
pushd examples/canvas ; ./build.sh ; popd
pushd examples/perf_text ; ./build.sh ; popd
pushd examples/tiger ; ./build.sh ; popd