Joshua Holmes
f7e5ca8320
core: add x11 headers
2024-09-17 10:59:30 -07:00
Joshua Holmes
36280a0980
core: fix linking issues
2024-09-17 10:59:30 -07:00
Joshua Holmes
88d14b5c04
core: get wayland to compile
2024-09-17 10:59:30 -07:00
Stephen Gutekanst
cd85a2d623
core: basic Linux structure
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 19:00:22 -07:00
Stephen Gutekanst
470a84909b
core: more code refactoring / improvements
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 15:45:43 -07:00
Stephen Gutekanst
c2767b4e01
core: fix build with Null backend
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 11:52:36 -07:00
Hordur Johannsson
4c8fbb2bf0
Add docs build step. ( #1261 )
2024-08-25 11:36:06 -07:00
Stephen Gutekanst
17450fde65
core: remove linux support
...
The `mach.Core` API needs major design changes, and every backend that it supports
today must be updated to account for those API design changes. Unless someone is
actively maintaining and improving the state of a given backend, it slows down our
ability to make those critical changes.
Unfortunately, the backends for X11 and Wayland today are half-baked, nobody is
actively maintaining on or contributing to them, and the Linux CI tests have been
broken for over a month as a result which harms overall stability of Mach.
As a result, this PR removes Linux support from `mach.Core`
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-24 23:42:37 -07:00
Stephen Gutekanst
51e996db72
remove unmaintained WASM support
...
Same reasoning as outlined in #1254
> nobody is interested in actively maintaining or contributing to that today.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-24 23:22:52 -07:00
Stephen Gutekanst
a5a3d31411
core: remove WASM support
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-24 22:33:15 -07:00
Stephen Gutekanst
66e56f037b
initial macOS backend ( #1249 )
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
Co-authored-by: Michael Bradshaw <github@mjb.io>
2024-08-18 16:45:37 -07:00
Stephen Gutekanst
6e2f937026
core: add Null backend to show what implementing a backend looks like
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-07-13 15:48:07 -07:00
Hordur Johannsson
c32e763e11
add new win32 platform implementation ( #1224 )
...
* Buffer resources from swap chain were not being released.
* sysgpu Texture.getWidth() should return width not height.
* d3d12: Fixing issues with d3d12 on sysgpu.
* Initial win32 platform
2024-07-13 15:33:45 -07:00
Ali Cheraghi
c254337e4b
{core, build}: remove glfw
2024-07-13 09:06:35 -07:00
Stephen Gutekanst
98801a258e
remove Dawn / WebGPU support in favor of sysgpu
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-07-07 22:08:16 -07:00
Stephen Gutekanst
b72f0e11b6
build: update Zig version check
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-06-02 19:00:43 -07:00
Stephen Gutekanst
707e5cc756
update to Zig 2024.05
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-06-02 18:57:45 -07:00
Wrench[bot]
c64bc513b9
all: update Zig to version 0.13.0-dev.351+64ef45eb0
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2024-06-02 18:57:45 -07:00
Stephen Gutekanst
4ac8de4692
examples: move core examples into core/ folder; add triangle example
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-06-02 10:15:01 -07:00
Stephen Gutekanst
b09b462ef1
src/sysjs: move sysjs@v0 to here
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-06-02 09:34:39 -07:00
Stephen Gutekanst
ffd03c3b0b
remove examples that require model3d
...
See hexops/mach#969
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-06-02 09:01:09 -07:00
Stephen Gutekanst
18e32ee6bf
build: use ReleaseFast for opus decoding
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-05-18 17:06:20 +02:00
Stephen Gutekanst
393320aa68
build: do not force install/build of core- examples
...
CoreApp users can call b.installArtifact(app.compile) themselves if
they desire that behavior
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-05-14 00:12:26 +02:00
Stephen Gutekanst
92086d8d66
examples: add hardware-check
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-05-12 16:27:52 +02:00
Stephen Gutekanst
0200bed7ec
examples: simplify dependencies, mach depends on Opus
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-05-11 14:35:54 -07:00
Stephen Gutekanst
9a96820926
build: simplify link() usage
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-05-06 14:00:55 -07:00
Stephen Gutekanst
2c77c16356
build: correct .mach only build option (i.e. do not build examples/libs)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-05-06 14:00:54 -07:00
Ali Chraghi
5bd6d0cf3d
add play-opus example
2024-05-05 21:10:07 +03:30
Stephen Gutekanst
487beaabde
examples: rename sysaudio example -> piano
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-21 16:38:15 -07:00
Stephen Gutekanst
38fb23e22a
build: fix core example imports
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-21 15:01:45 -07:00
Stephen Gutekanst
c26d9a40d1
build: use lazy dependencies
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-21 15:01:45 -07:00
Stephen Gutekanst
51f5721f8b
build: remove currently-unused basisu dependency
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-21 15:01:45 -07:00
Stephen Gutekanst
e8b95d5076
build: cleanup sysjs dependency utilization
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-21 15:01:45 -07:00
Stephen Gutekanst
a681a10170
build: use lazyDependency to only download required dependencies
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-21 15:01:45 -07:00
Stephen Gutekanst
2889468c6b
build: remove App (not CoreApp)
...
This removes the old `App` builder, leaving only `CoreApp` as something
to resolve/remove.
Helps hexops/mach#1186
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-21 15:01:45 -07:00
Stephen Gutekanst
6a2358baf8
build: fix WASM builds
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-19 19:34:40 -07:00
Stephen Gutekanst
78edb10446
build: fix duplicate symbol machDawnGetProcTable
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-19 18:46:04 -07:00
Stephen Gutekanst
09c01a79b0
build: fix test build
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-19 17:08:36 -07:00
Stephen Gutekanst
d045b34f70
{gfx,examples}: update all to new mach.Core module API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-17 11:27:48 -07:00
Stephen Gutekanst
2c73f8c518
examples: remove gkurve test-bed for now (will come back later)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-16 19:31:42 -07:00
Stephen Gutekanst
282c83877e
audio: redesign audio module
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-16 19:14:37 -07:00
Stephen Gutekanst
2cf68adcc7
src/gpu: move github.com/hexops/mach-gpu here
...
This moves github.com/hexops/mach-gpu@528dad0823dafeae5d474c88cc658b091bf2e605 to
this repository in the src/gpu directory. It can be imported via `@import("mach").gpu`.
Soon we will move away from mach-gpu entirely as part of #1166 - but in the meantime
I am giving a workshop at https://sycl.it and it would be nice for people using the
`mach.gpu.*` API to be able to search the API in this single repository.
There's not much harm to moving this code here.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-13 11:25:45 -07:00
Stephen Gutekanst
27fd19271c
examples: migrate custom-renderer to mach.Core module API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-08 23:49:38 -07:00
Stephen Gutekanst
013546b189
core: add mach.Core module API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-08 23:49:38 -07:00
Stephen Gutekanst
279290bbf2
update zig version check for 2024.3.0-mach
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-03-09 00:24:25 -07:00
Stephen Gutekanst
b7fb2057f7
fix x86_64-linux-gnu build
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-03-08 23:44:33 -07:00
Stephen Gutekanst
a433937d39
update to Zig 2024.03-mach
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-03-08 22:34:28 -07:00
Wrench[bot]
74fac0f8d0
all: update Zig to version 0.12.0-dev.3180+83e578a18
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2024-03-08 22:04:29 -07:00
Stephen Gutekanst
7d1b5e4466
move examples into this repository
...
Helps hexops/mach#1165
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-03-06 11:09:13 -07:00
Stephen Gutekanst
f12f48b166
build: fix sysaudio.c path
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-03-05 00:48:26 -07:00