This repo is not used anymore. Development of Orca was moved here: https://github.com/orca-app/orca https://orca-app.dev/
Go to file
martinfouilleul 238963df0b [wip, win32] got debug overlay ~working, with a couple hacks: use top-level transparent windows as child windows (see milepost), and create a dummy surface just to deselect normal and debug surface before using them in render thread. TODO: make an API for deselecting those surfaces. Investigate multisurface options more... 2023-06-21 19:27:15 +02:00
ext/wasm3 puling logging functionality from milepost into orca 2023-04-18 18:06:47 +02:00
milepost@83f128fb55 [wip, win32] got debug overlay ~working, with a couple hacks: use top-level transparent windows as child windows (see milepost), and create a dummy surface just to deselect normal and debug surface before using them in render thread. TODO: make an API for deselecting those surfaces. Investigate multisurface options more... 2023-06-21 19:27:15 +02:00
resources First draft of in-app debug console 2023-04-20 15:47:18 +02:00
samples/pong [win32, wip] Pong sample running on win32 (but debug overlay crashes the app). 2023-06-19 16:51:43 +02:00
scripts [win32, wip] Pong sample running on win32 (but debug overlay crashes the app). 2023-06-19 16:51:43 +02:00
sdk [win32, wip] Pong sample running on win32 (but debug overlay crashes the app). 2023-06-19 16:51:43 +02:00
src [wip, win32] got debug overlay ~working, with a couple hacks: use top-level transparent windows as child windows (see milepost), and create a dummy surface just to deselect normal and debug surface before using them in render thread. TODO: make an API for deselecting those surfaces. Investigate multisurface options more... 2023-06-21 19:27:15 +02:00
.gitignore Adding printing functions and asserts 2023-04-18 10:46:02 +02:00
.gitmodules silence clang warning on const qualifiers 2023-06-20 10:26:28 +02:00
Readme.md update readme and angle install notes 2023-04-26 15:59:03 +02:00
build.bat [win32] runtime compiles, and boots (without loading wasm module) 2023-06-17 20:10:11 +02:00
build.sh [file io, wip] open/close file API 2023-05-11 19:42:12 +02:00

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