Commit graph

104 commits

Author SHA1 Message Date
Ali Chraghi
1a6a82e11b build: ensure cubemap assets submodule 2022-09-20 02:30:45 -07:00
Ali Chraghi
9f6c4bf7b1 build: fix compilation errors
this should make linux CI green
2022-09-20 02:30:45 -07:00
Ali Chraghi
2ab3516795 gamemode: use zig build 2022-09-18 17:09:54 -07:00
Ali Chraghi
6043c7eae6
mach: add is_app option to disable gamemode in desktop applications; use parseIp4 (#544)
* mach: add `is_app` option to disable gamemode in desktop applications
* use parseIp4 instead of resolveIp (which throws a compile error in windows)
2022-09-16 23:32:27 -07:00
Diego Arias
eef76effe3 examples: add pixel post processing effect example 2022-09-16 16:49:20 -07:00
Ali Chraghi
8b50f076a6 {build,wasmserve}: improvements
build: use parseIp4 instead resolveIp
wasmserve: use ansi_to_html.js instead ansi_up.js
wasmserve: handle build procces unexpected exits and more
2022-09-15 07:42:59 -07:00
praschke
b0cd4ec1a0
all: fix pointless discards; typo; fix libmach compilation on Linux (#541) 2022-09-15 07:41:05 -07:00
Ali Chraghi
aaddd4dbeb {build,wasmserve}: show error on browser + improvements 2022-09-14 12:32:03 -07:00
Ali Chraghi
5be9f04d85 {build,wasmserve}: use wasmserve, drop apple_pie 2022-09-14 12:32:03 -07:00
Stephen Gutekanst
8af0c9a6a8 mach: correctly link sysaudio to all Apps
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-09-11 00:17:52 -07:00
NewbLuck
f15cea9492
examples: add cubemap example (#523)
Co-authored-by: Scott Johnson <scott.johnson@furniturerow.com>
2022-09-09 22:41:24 -07:00
Stephen Gutekanst
2ba7e48ac2 {sysjs,mach}: correctly pass sysjs dependency to sdk
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-09-09 21:55:38 -07:00
Stephen Gutekanst
4a421b8130 mach: update to latest sysaudio SDK API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-09-10 04:06:16 +00:00
NewbLuck
46c4ea4ebd
all: update to use latest Zig master APIs (#521)
Co-authored-by: Scott Johnson <scott.johnson@furniturerow.com>
2022-09-10 02:07:30 +00:00
Ali Chraghi
06b0609ada examples: add triangle-msaa 2022-09-07 21:25:35 -07:00
Ali Chraghi
0c54bc740f build: add glfw test step 2022-09-07 21:24:47 -07:00
praschke
125aeff7f1 gpu-dawn: default to release version of Dawn 2022-09-06 20:54:22 -07:00
Ali Chraghi
80266c577e build: make libs tests seprate step 2022-08-29 05:59:52 -07:00
Stephen Gutekanst
587ea05d1e examples: add sysaudio piano example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-28 23:37:56 -07:00
Stephen Gutekanst
2e61125601 mach: expose sysaudio/sysjs packages
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-28 23:37:56 -07:00
Ali Chraghi
5cf7569767 build: fix gamemode package path 2022-08-27 11:05:36 -07:00
Ali Chraghi
b9e00fdbb6 build: fix memory leaks 2022-08-27 11:05:36 -07:00
Stephen Gutekanst
6e881b21a6 mach: reference new libs/ subproject path
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-26 15:12:04 -07:00
Ali Chraghi
4a0802639c
basisu: add bindings for basis-universal (supercompressed textures) (#477) 2022-08-25 03:56:06 -07:00
LordMZTE
a001d53576 examples: fix old example assets directory paths
This commit fixes a bug where the build script would look for
an assets directory that has been moved.
2022-08-22 19:52:46 -07:00
Stephen Gutekanst
bc5e2fe9bf examples: workaround change in @embedFile not working with relative paths
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 22:48:19 -07:00
Stephen Gutekanst
8ec53c7446 mach: improve compatibility with self-hosted compiler (thisDir() -> comptime thisDir())
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-19 15:15:33 -07:00
Stephen Gutekanst
fe4e721508 mach: use new SDK API for dependencies instead of @bitCast
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-19 13:12:57 -07:00
Ali Chraghi
2045142057 build: remove gpu-dawn test step 2022-08-06 08:20:18 -07:00
PiergiorgioZagaria
00ef0a639e gamemode: Fix gamemode package path in build.zig 2022-08-03 11:01:31 -07:00
PiergiorgioZagaria
2612684ef3 gamemode: Fix root build.zig test with symlinks 2022-07-28 04:12:25 -07:00
PiergiorgioZagaria
bd68745106 gamemode: Add licenses 2022-07-28 04:12:25 -07:00
PiergiorgioZagaria
4ee9ba1000 gamemode: Fix overcomplications and @import with symlinks 2022-07-28 04:12:25 -07:00
PiergiorgioZagaria
d256d071e0 gamemode: WIP building gamemode from source 2022-07-28 04:12:25 -07:00
PiergiorgioZagaria
509ebd13ab mach: Initial commit for gamemode 2022-07-28 04:12:25 -07:00
Ali Chraghi
b500b04c41 all: build: install tests exe 2022-07-25 11:21:37 -07:00
Stephen Gutekanst
fbc9cee4cc libmach: respect build target / mode flags
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-21 19:41:33 -07:00
alichraghi
fc90fa6689 build: renable tests target option 2022-07-21 19:41:06 -07:00
Zachary Huang
5d86314fbb libmach: update API again, factors out init/update/deinit from native.zig main function 2022-07-20 18:59:29 -07:00
alichraghi
e6adc3e350 build: add mode paramater to testStep functions 2022-07-20 18:55:59 -07:00
Lucas Romanó
7de47a8f2d examples: add map-async example
Signed-off-by: Lucas Romanó <9062026+lucasromanosantos@users.noreply.github.com>
2022-07-17 09:27:29 -07:00
Lucas Romanó
a787265af2 examples: add image-blur example
Signed-off-by: Lucas Romanó <9062026+lucasromanosantos@users.noreply.github.com>
2022-07-15 12:02:17 -07:00
Zachary Huang
9ece370059 libmach: initial API bindings for mach core 2022-07-14 22:44:44 -07:00
iddev5
02c7fe9a75 mach: build: Add sysaudio dependency package 2022-07-14 21:55:32 -07:00
iddev5
7a0d39c274 mach: Rename `js-runtime subproject to sysjs` 2022-07-13 01:30:10 -07:00
iddev5
7b27544cce mach: build: Add platform field in App to simplify target checking
Also now add js-runtime package to app for web platform.
2022-07-12 06:55:40 -07:00
iddev5
0ff8edebd9 mach: Add js-runtime as a dependency for wasm applications
This is a workaround for a limitation right now. The html-generator has
no way to dynamically add JS sources (and that can't be done without
using a preprocessor library) so we hardcode js-runtime in it.

In the future, I think the correct behavior would be to move tools/
inside js-runtime along with a wasm application building SDK and get rid
of any direct JS access we have today (which is just
src/platform/wasm.zig and src/platform/mach.js).
2022-07-07 04:35:19 -07:00
iddev5
81e6de55f8 mach: wasm: Build textured-cube and ecs-app examples 2022-07-06 05:55:04 -07:00
iddev5
5f0d54bd1b mach: wasm: Specify base dir to be mach root dir for html-generator
tools/html-generator references www/template.html which was outside the
main-pkg-path of html-generator
2022-07-06 05:55:04 -07:00
Stephen Gutekanst
d3b03901fb examples: add initial ecs-app
This is a temporary application to begin iterating on high-level ECS applications.

Eventually, this will be removed - for now it's just here so we can see how this API
looks today and improve it.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-04 22:25:39 -07:00