104 Commits

Author SHA1 Message Date
Mitchell Hashimoto
241bfee7d4 wasm: use shared, imported memory
This switches our wasm build to use "shared" memory. Shared memory can
be shared across multiple web workers, which is something we'll want to
support for our multi-threaded behaviors later.

Shared memory has a number of different restrictions so this updates
zig-js to support it as well as updates some of our functions that need
to be aware of it.
2022-12-24 16:24:43 -08:00
Mitchell Hashimoto
61450fce25 Test wasm builds in CI 2022-12-24 11:04:35 -08:00
Mitchell Hashimoto
6f3bc5186d update to latest zig 2022-12-21 18:30:21 -08:00
Mitchell Hashimoto
e210c91d10 update zig version, update @call for newer zig version 2022-12-16 22:34:54 -08:00
Mitchell Hashimoto
5e9dd02eab font: add method for drawing atlas to canvas 2022-12-05 15:01:34 -08:00
Mitchell Hashimoto
84f6f37450 face: web canvas glyph rendering appears to work! 2022-12-05 14:28:10 -08:00
Mitchell Hashimoto
19e326dab6 font: working on rendering glyphs in canvas 2022-12-05 10:54:40 -08:00
Mitchell Hashimoto
d3b46eeeaf fix zig-js so wasm-test works 2022-12-04 22:07:50 -08:00
Mitchell Hashimoto
df302fc2b6 calculate font metrics via canvas 2022-12-04 22:01:58 -08:00
Mitchell Hashimoto
c48d8cd151 hook up logging to wasm, example uses new zig-js package 2022-12-04 13:16:54 -08:00
Mitchell Hashimoto
21faf0b6fb add zig-js 2022-12-03 21:46:00 -08:00
Mitchell Hashimoto
7c4d024aba update mach for macOS Ventura 2022-11-29 10:13:21 -08:00
Mitchell Hashimoto
ef65b261de vendor/pixman and basic building 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
18bc5b2e9a No need to use a mach fork anymore 2022-11-15 13:24:15 -08:00
Mitchell Hashimoto
89a4c59f3c make opengl loader context-aware 2022-10-23 19:39:02 -07:00
Mitchell Hashimoto
f29393bca6 Imgui (#20)
* vendor/cimgui

* Add a "dev mode" window which for now is just imgui demo
2022-10-16 16:20:08 -07:00
Mitchell Hashimoto
c681a197d2 use old version of mach 2022-10-15 10:56:23 -07:00
Mitchell Hashimoto
846c9db0c3 get rid of stage2 workaround for now 2022-10-15 10:43:39 -07:00
Mitchell Hashimoto
225de43062 update mach to fix stage2 issue 2022-10-13 11:06:43 -07:00
Mitchell Hashimoto
699da6fcfe update mach 2022-10-13 11:03:23 -07:00
Mitchell Hashimoto
72105fc6cd update to the latest stage2 compiler we can 2022-09-23 12:08:06 -07:00
Mitchell Hashimoto
77851b30a2 Revert "update to latest Zig nightly"
This reverts commit f3f2c3df268db905b6af6588e5e5008da0f48b60.
2022-09-14 19:39:10 -07:00
Mitchell Hashimoto
f3f2c3df26 update to latest Zig nightly 2022-09-14 19:34:19 -07:00
Mitchell Hashimoto
59191b05cd build fontconfig 2022-09-13 14:34:40 -07:00
Mitchell Hashimoto
d422d1ee78 pkg/fontconfig: starting, not working 2022-09-13 13:53:20 -07:00
Mitchell Hashimoto
367aba62c4 Add harfbuzz build (not used yet) 2022-08-28 10:09:39 -07:00
Mitchell Hashimoto
3774972caf update mach 2022-08-23 10:07:18 -07:00
Mitchell Hashimoto
32d96dd49b add utf8proc so we can detect unicode char width 2022-08-20 10:48:54 -07:00
Mitchell Hashimoto
43e42a54cd vendor 2022-08-20 10:25:19 -07:00
Mitchell Hashimoto
8ba9209f64 update mach vendor 2022-08-06 11:10:56 -07:00
Mitchell Hashimoto
adba7aae22 Add sdk submodule 2022-07-26 11:33:15 -07:00
Mitchell Hashimoto
e4dd940c98 vendor: update mach for glfw 2022-07-26 11:24:36 -07:00
Mitchell Hashimoto
2893da8b0b update mach 2022-06-27 09:19:02 -07:00
Mitchell Hashimoto
208bed34ad update tracy 2022-05-17 12:17:50 -07:00
Mitchell Hashimoto
b6bf0a329c update zig 2022-05-04 11:11:25 -07:00
Mitchell Hashimoto
aae3eb88de vendor: add tracy v0.7.8 2022-04-29 08:38:49 -07:00
Mitchell Hashimoto
fdde63cd36 vendor: remove stb 2022-04-29 08:28:58 -07:00
Mitchell Hashimoto
8a42336741 remove vendor/cglm 2022-04-29 08:28:25 -07:00
Mitchell Hashimoto
21ee510471 starting libuv bindings 2022-04-21 09:33:32 -07:00
Mitchell Hashimoto
4da0c789de update mach 2022-04-19 12:59:35 -07:00
Mitchell Hashimoto
5e919cee2d remove freetype-gl 2022-04-05 19:55:30 -07:00
Mitchell Hashimoto
27f3e89316 Makefile with task for updating glad 2022-04-04 14:52:47 -07:00
Mitchell Hashimoto
ef55c1ac97 vendor: freetype-gl 2022-04-04 13:59:03 -07:00
Mitchell Hashimoto
626a4d2e20 remove raylib 2022-04-04 13:58:25 -07:00
Mitchell Hashimoto
84cc6df1a5 vendor: cglm 2022-04-04 09:44:06 -07:00
Mitchell Hashimoto
61f3007d86 submodule: freetype 2022-04-03 12:50:56 -07:00
Mitchell Hashimoto
49ff9b4ae9 add stb 2022-04-01 19:33:09 -07:00
Mitchell Hashimoto
96cc167d53 add raylib 2022-03-31 17:13:14 -07:00
Mitchell Hashimoto
b23136fdaa build gpu-dawn 2022-03-30 17:36:18 -07:00
Mitchell Hashimoto
112b13ae4d build mach-glfw 2022-03-30 11:38:06 -07:00