Stephen Gutekanst
b6a512ebac
dev: update subproject paths to have libs/ prefix
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-26 15:12:04 -07:00
Ali Chraghi
f6f1187526
freetype: complete *Quick retrieval of advance value* binding
2022-08-25 09:57:19 -07:00
Ali Chraghi
b471a9cc98
freetype: fix flags integer size
2022-08-25 09:57:19 -07:00
Ali Chraghi
e13921c355
freetype: complete outline processing binding
2022-08-25 09:57:19 -07:00
Ali Chraghi
241892ad86
freetype: import structs from namespace
...
this is *Not a Breaking* change
2022-08-25 09:57:19 -07:00
Ali Chraghi
4a0802639c
basisu: add bindings for basis-universal (supercompressed textures) ( #477 )
2022-08-25 03:56:06 -07:00
Stephen Gutekanst
88558b7d52
README: document supported Zig version caveats more clearly
2022-08-24 11:16:26 -07:00
Stephen Gutekanst
0d5b853443
all: ensure .git* files are standard across subprojects
...
Produced via:
```sh
zig run ./dev/ensure-standard-files.zig
```
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-23 08:36:51 -07:00
Stephen Gutekanst
60220cbe4f
dev: ensure .git* files are standardized across subprojects
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-23 08:36:22 -07:00
Stephen Gutekanst
e43695f8ff
all: ensure LICENSE files are byte-for-byte consistent
...
Produced via:
```sh
zig run ./dev/ensure-standard-files.zig
```
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-23 08:17:21 -07:00
Stephen Gutekanst
1c4f4e4c90
ev: add script ensuring standard files across subprojects
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-23 08:16:17 -07:00
Stephen Gutekanst
f0d483507b
dev/template: make LICENSE year consistent
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-23 08:13:54 -07:00
Stephen Gutekanst
c712016ac2
basisu: initialise basisu (supercompressed textures) sub-project
...
Copied `dev/template` and renamed `foobar` -> `basisu`
Helps hexops/mach#474
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-22 21:06:28 -07:00
Stephen Gutekanst
19fa5cee8c
dev/template: add template for creating new sub-projects
...
Fixes hexops/mach#473
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-22 20:49:44 -07:00
Stephen Gutekanst
da9b08940a
sysaudio: gitignore generated config.h
...
Fixes hexops/mach#469
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-22 20:17:39 -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
praschke
d9f10d25d0
shaderexp: use one triangle for fullscreen
2022-08-22 19:52:05 -07:00
praschke
c57f0575ea
shaderexp: push vertex data into shader
2022-08-22 19:52:05 -07:00
Stephen Gutekanst
4199d2a001
all: clarify self-hosted compiler TODOs
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 23:37:48 -07:00
Stephen Gutekanst
f56606a3c3
gpu: workaround issue in self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 23:28:28 -07:00
Stephen Gutekanst
c4421840cb
examples: improve compatibility with self-hosted compiler; zigimg updates
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 22:58:18 -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
37c3045314
examples: update zigimg usage
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 22:43:04 -07:00
Stephen Gutekanst
dc00067ec1
examples: update zigimg for self-hosted compatibility
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 22:40:21 -07:00
Stephen Gutekanst
a4ddfb6bda
examples: make map-async compatible with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 13:17:52 -07:00
Stephen Gutekanst
1cc15e92a0
mach: add objc_message.zig dependency
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 12:03:17 -07:00
Stephen Gutekanst
a707894113
glfw: pretranslate @cImport to workaround self-hosted compiler bug
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 12:03:17 -07:00
Stephen Gutekanst
51932241c1
gpu: pretranslate @cImport to workaround self-hosted compiler bug
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 12:03:17 -07:00
Stephen Gutekanst
80e127b5ae
gpu: eliminate objc/message.h @cImport
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 12:03:17 -07:00
Stephen Gutekanst
0e14764ab2
examples: make advanced-gen-texture-light compatible with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 12:02:58 -07:00
Stephen Gutekanst
192de6946e
mach: improve compatibility with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 12:02:01 -07:00
Stephen Gutekanst
1c43f0f1e8
sysjs: improve compatibility with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 11:41:28 -07:00
Stephen Gutekanst
7bc7caaec4
sysaudio: improve compatibility with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 11:41:15 -07:00
Stephen Gutekanst
72b081c97a
mach: improve compatibility with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 11:41:01 -07:00
Stephen Gutekanst
e92572b776
gpu: examples: remove unused import
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 11:01:30 -07:00
Stephen Gutekanst
9d29563d3b
glfw: improve compatibility with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 10:35:03 -07:00
Stephen Gutekanst
9c1f31072f
gpu: zig fmt
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 01:19:30 -07:00
Stephen Gutekanst
ca028ea038
gpu: improve compatibility with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-19 20:44:11 -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
Stephen Gutekanst
6c401b6067
gpu: decouple SDK from dependencies
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-19 13:12:57 -07:00
Stephen Gutekanst
bfe9408da3
gpu-dawn: decouple SDK from dependencies
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-19 13:12:57 -07:00
Stephen Gutekanst
d03078fbd6
mach: fix conflicting symbol name (recent change in Zig)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-19 12:34:08 -07:00
Stephen Gutekanst
381f2fe9c5
gpu: fix redeclaration of function parameter errors
...
This changed in the latest version of Zig to be more strict.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-19 12:34:08 -07:00
Eric Joldasov
9406326cd8
glfw: fix instructions for Gyro in README.md
...
"--build-dep" has been recently renamed to "--build_dep"
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2022-08-18 21:02:09 -07:00
Stephen Gutekanst
631d3eadbb
{mach,gpu}: correct unused parameter
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-18 11:29:07 -07:00
Stephen Gutekanst
f5d34e1247
{mach,gpu}: fix accidental inclusion of objc/message.h on non-darwin platforms
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-18 11:22:51 -07:00
Stephen Gutekanst
eb0eceb707
mach: correct vsync mode setting
...
This correctly sets presentation modes for vsync, both at startup and at runtime via
a `setOptions` request.
Note: There may still be platforms where setting vsync is not enough, and a frame rate
limiter is needed to achieve proper synchronization. This is tracked in hexops/mach#444
and not fixed by this change.
Fixes hexops/mach#307
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-18 10:33:34 -07:00
Stephen Gutekanst
edc3b5d60e
examples: use default values, gpu helper APIs
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-17 01:42:27 -07:00
Stephen Gutekanst
7227e9a13f
gpu: example: use default values, gpu helper APIs
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-17 01:26:52 -07:00