Commit graph

1502 commits

Author SHA1 Message Date
Stephen Gutekanst
f74faf90df ecs: add support for module global values
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-04 09:12:19 -07:00
Stephen Gutekanst
3fddb687bc ecs: add modules concept
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-04 09:12:19 -07:00
Stephen Gutekanst
5c4c2d3850 ecs: add namespaced components
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-04 09:12:19 -07:00
Stephen Gutekanst
87ecd8b29e ecs: correct build pkg filepath
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-04 09:12:19 -07:00
Stephen Gutekanst
6227f11af4 ecs: correct public symbols set
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-04 09:12:19 -07:00
Stephen Gutekanst
25afe5ccf4 ecs: make [set/remove/get]Component globally type safe
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-04 09:12:19 -07:00
Stephen Gutekanst
1f7ea529f4 ecs: pass an all_components parameter to everything
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-04 09:12:19 -07:00
Ayush
858c14bbae
{mach,examples}: Fix memory leaks (#384) 2022-07-03 08:47:47 -07:00
Stephen Gutekanst
39e07df150 audio: link against AudioToolbox on macOS (required at least with macOS 12+)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-01 19:05:27 -07:00
Stephen Gutekanst
b9dd94698d glfw: update macOS system_sdk to include AudioToolbox
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-01 19:05:27 -07:00
alichraghi
fe8614d4d6 audio: add soundio-sine-wave example 2022-07-01 19:05:27 -07:00
alichraghi
0e3461e25f audio: increase soundio binding coverage for running sine-wine example 2022-07-01 19:05:27 -07:00
alichraghi
d3b7df882e audio: add options parameter to link() 2022-07-01 19:05:27 -07:00
dweiller
f406f42005 ecs: fix memory leak in ArchetypeStorage 2022-07-01 16:48:35 -07:00
dweiller
2d923ea9b7 ecs: fix memory corruption in set/removeComponent 2022-07-01 16:48:35 -07:00
dweiller
0893c14893 mach: native: deinit gpa for leak detection in debug builds 2022-07-01 16:48:35 -07:00
Jamie Brandon
5bb740f89e
mach: flesh out mach.Event (#377)
* Flesh out mach.Event
2022-07-01 16:47:06 -07:00
Stephen Gutekanst
da046f340d audio: rename 'mach-audio' pkg to just 'audio' 2022-06-29 20:58:14 -07:00
alichraghi
84f8532c43 audio: make buildSoundIo private and point package to ./main.zig 2022-06-29 20:58:14 -07:00
PiergiorgioZagaria
0e8b53d840 glfw: allow to choose platform in InitHints 2022-06-29 20:54:04 -07:00
PiergiorgioZagaria
bb503b6928 glfw: do not link to wayland-client (no longer necessary, loaded at runtime by GLFW) 2022-06-29 20:54:04 -07:00
PiergiorgioZagaria
d8f89efef2 glfw: update "getName" test comment 2022-06-29 20:54:04 -07:00
PiergiorgioZagaria
2692513ff1 glfw: disable "getName" test for now because of undefined behaviour in GLFW caught by UBSan 2022-06-29 20:54:04 -07:00
PiergiorgioZagaria
f92afebcb3 glfw: update system_sdk for wayland and catch wayland test errors 2022-06-29 20:54:04 -07:00
PiergiorgioZagaria
fee949c4a1 glfw: support compiling for wayland 2022-06-29 20:54:04 -07:00
alichraghi
553eb7f628 audio: soundio partial SoundIo and Device binding 2022-06-28 21:57:13 -07:00
alichraghi
41f42e3ffd audio: soundio enums 2022-06-28 21:57:13 -07:00
alichraghi
5358b1c15d audio: soundio error handling 2022-06-28 21:57:13 -07:00
alichraghi
0980ba838a audio: init 2022-06-28 21:57:13 -07:00
Release automation
b8a7c4ba94 gpu-dawn: update to latest binary release 2022-06-27 06:54:48 +00:00
PiergiorgioZagaria
e9bdf86ef9 gpu-dawn: support compiling with stage2 (-fno-stage1) 2022-06-26 23:11:19 -07:00
iddev5
f80161bc72 mach: Use math.inf instead of math.floatMax for indefinite wait of events 2022-06-25 08:26:13 -07:00
Ali Chraghi
ff69efea52 mach: check application signature 2022-06-25 08:25:28 -07:00
Ali Chraghi
c831840094 wasm: Arrange key codes in numberical order of value 2022-06-25 08:25:28 -07:00
dweiller
1b32552e73 mach: re-export log_level and scope_levels from App 2022-06-24 12:58:07 -07:00
Stephen Gutekanst
e4cca0127e freetype: README: explain brotli/WOFF2 support
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-06-24 12:26:15 -07:00
Ali Chraghi
97870dc8eb freetype: update upstream 2022-06-24 12:18:04 -07:00
Ali Chraghi
285bf81bf9 freetype: brotli support for woff2 fonts 2022-06-24 12:18:04 -07:00
dweiller
134c2019b1 gpu: remove Queue.WorkDownCallback lifetime footgun
The previous implementation required the specific Queue struct that
submit() was called on to be valid when the callback is triggered. By
storing a pointer instead, the Queue does not need to be valid, only the
callback itself.
2022-06-24 10:14:19 -07:00
PiergiorgioZagaria
7bb877bd55
glfw: support compiling with stage2 (-fno-stage1) (#365) 2022-06-24 10:12:45 -07:00
Daniel
786e0d6263
glfw: fix segfault in getPhysicalDevicePresentationSupport (#364) 2022-06-24 10:10:06 -07:00
iddev5
71b25dc2a6 mach: ResourceManager: implement auto convertion of files into assets based on given info 2022-06-24 10:07:16 -07:00
iddev5
b0a00c5581 mach: ResourceManager: implement storage and unload of resources 2022-06-24 10:07:16 -07:00
iddev5
e58fd44ec0 mach: Implement basic resource loading system
Curently no real management has been implemented. It just loads the
resource from the list of paths present and provides the raw data from
it.
2022-06-24 10:07:16 -07:00
iddev5
6ed04c1e65 mach: Implement basic URI parser for resource system 2022-06-24 10:07:16 -07:00
iddev5
6b64c865bf mach: build: Install folders containing resources as a build step 2022-06-24 10:07:16 -07:00
dweiller
fa5afee5bc ecs: allow components to have type void 2022-06-18 20:56:36 -07:00
Ali Chraghi
52a67b1809 freetype/harfbuzz: implement freetype integration functions 2022-06-18 07:59:10 -07:00
Ali Chraghi
ef7904bf27 freetype: improve build system 2022-06-18 07:59:10 -07:00
Ali Chraghi
997328ddc6 freetype/harfbuzz: shape_plan binding 2022-06-18 07:59:10 -07:00