Stephen Gutekanst
c97bcdde0a
mach: improve compatibility with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-09-08 07:26:30 -07:00
Stephen Gutekanst
54719c2de8
ecs: improve compatibility with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-09-08 07:26:15 -07:00
Stephen Gutekanst
98860a67fa
glfw: workaround cImport self-hosted compiler bug ziglang/zig#12784
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-09-08 07:19:36 -07:00
Ali Chraghi
06b0609ada
examples: add triangle-msaa
2022-09-07 21:25:35 -07:00
Ali Chraghi
194971586d
mach: use std.log.(scope) instead of std.debug.print
2022-09-07 21:25:35 -07:00
Ali Chraghi
d8af6740c5
mach: exit if no backend found for adapter
2022-09-07 21:25:35 -07:00
Ali Chraghi
d96cc72859
sysaudio:build: remove 4th argument
2022-09-07 21:24:47 -07:00
Ali Chraghi
0c54bc740f
build: add glfw test step
2022-09-07 21:24:47 -07:00
Ali Chraghi
ad981944d4
all: revert cimport workaround
2022-09-07 21:24:47 -07:00
mlugg
0a32de381e
freetype: correct return type of Face.availableSizes
2022-09-06 20:55:10 -07:00
praschke
125aeff7f1
gpu-dawn: default to release version of Dawn
2022-09-06 20:54:22 -07:00
Ali Chraghi
55e6959f28
mach: supress gamemode dlopen failed error
2022-09-06 20:48:30 -07:00
NewbLuck
b7ea4aeb89
freetype: correct typo in previous fix ( #509 )
...
Co-authored-by: Scott Johnson <scott.johnson@furniturerow.com>
2022-09-02 09:44:46 -07:00
Ali Chraghi
21a0edca03
all: update zig version
2022-09-02 09:42:48 -07:00
Ali Chraghi
2b533f7763
{gpu, gpu-dawn}: update to latest zig
2022-09-02 09:42:48 -07:00
Ali Chraghi
47e90c1a7e
glfw: renable getName test
2022-09-02 09:42:48 -07:00
Ali Chraghi
669ef41219
glfw: fix cimport workaround errors for linux/windows
2022-09-02 09:42:48 -07:00
Ali Chraghi
a945046224
gamemode: add stage2 client
2022-09-02 09:42:48 -07:00
NewbLuck
2451d9e92b
freetype: Update padding size of packed structs ( #507 )
...
Co-authored-by: Ali Chraghi <63465728+alichraghi@users.noreply.github.com>
2022-09-01 23:57:41 -07:00
NewbLuck
5dfd677a37
sysaudio: add missing bool param to soundio call ( #492 )
2022-08-29 23:46:25 -07:00
NewbLuck
d9bd4d7d79
sysaudio: link missing library for Windows ( #493 )
2022-08-29 23:39:01 -07:00
NewbLuck
5d565f1f74
sysaudio: update tests to add needed allocator parameters ( #491 )
2022-08-29 23:37:30 -07:00
Stephen Gutekanst
ca3ac4ddad
sysaudio: update soundio to correct windows build issues
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-29 22:51:32 -07:00
Stephen Gutekanst
e5a7b85e26
ecs: update self-hosted compiler TODO
2022-08-29 05:59:52 -07:00
Ali Chraghi
701f872ecb
gpu-dawn:ci: remove dawn-from-source option from builds
2022-08-29 05:59:52 -07:00
Ali Chraghi
b5e6fb6c4f
basisu: use @bitCast for casting bit fields
2022-08-29 05:59:52 -07:00
Ali Chraghi
1572ed7fc6
freetype: undepend to utils package
2022-08-29 05:59:52 -07:00
Ali Chraghi
157b3b1bd4
glfw:build: rename test steps
2022-08-29 05:59:52 -07:00
Ali Chraghi
9f40516841
ecs:build: use stage1 for tests
2022-08-29 05:59:52 -07:00
Ali Chraghi
80266c577e
build: make libs tests seprate step
2022-08-29 05:59:52 -07:00
Ali Chraghi
af8310f2df
freetype:build: don't run tests with zig build
2022-08-29 05:59:52 -07:00
Stephen Gutekanst
ec0be9294d
mach: fix panic on application exit (invalid free)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-29 01:20:18 -07:00
Stephen Gutekanst
22f14ee1ed
sysaudio: libsoundio backend now functional
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-28 23:37:56 -07:00
Stephen Gutekanst
052be9a684
sysaudio: soundio: add pause wrapper
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-28 23:37:56 -07:00
Stephen Gutekanst
1dc3a4cba8
{sysaudio,examples}: add support for multiple channels
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-28 23:37:56 -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
a18938a84f
sysaudio: various fixes to WebAudio backend
...
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
Stephen Gutekanst
09ec61b5cd
sysaudio: add soundio_pkg as dependency of sysaudio.pkg
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-28 23:37:56 -07:00
Stephen Gutekanst
3e69c54e79
sysjs: Implement Object.copyBytes to copy over a slice to Js array type objects
...
It works with Uint8Array objects only but no type checking is done right
now.
Originally authored by iddev5 :)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-28 23:37:56 -07:00
Stephen Gutekanst
28fb75c7eb
mach: simplify sign function & improve self-hosted compiler support
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-28 23:37:56 -07:00
LordMZTE
adfec5c930
gpu-dawn:build: fix incorrect capitalization
2022-08-28 13:53:21 -07:00
Ali Chraghi
9e1b04770a
gpu-dawn:build: remove dawn-from-source option and build from source
...
by default
2022-08-28 10:45:09 -07:00
Ali Chraghi
ec99abc5d4
ci: fix projects matrix path
2022-08-28 10:45:09 -07:00
Ali Chraghi
47bdb5ea03
build: don't install libs, fix glfw shared lib compilation,
...
standardilize `buildXXX` funcs
2022-08-28 10:45:09 -07:00
Ali Chraghi
16d4e374a9
freetype: drop c package
2022-08-28 10:45:09 -07:00
Stephen Gutekanst
1e0fa20622
all: employ self-hosted @cImport hack only on Darwin targets
...
This is an poor approximation for the host OS running Darwin, which
is good enough for now. In practice this means macOS works but can't
cross-compile (until the cImport issue is fixed in Zig itself), but
Windows/Linux are unaffected and should be able to build natively and
cross-compile.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-27 11:19:57 -07:00
Ali Chraghi
01d8dc5714
glfw:build: undepend to X and OpenGL libs
2022-08-27 11:12:07 -07:00
Ali Chraghi
a0973af030
build: replace depracted functions
2022-08-27 11:12:07 -07:00
Ali Chraghi
cb760cbbf6
freetype: complete *Scanline Converter* binding
2022-08-27 11:12:07 -07:00