Stephen Gutekanst
34776c80e3
glfw: correct cross compilation
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 17:04:51 -07:00
Stephen Gutekanst
36eae62fea
glfw: correct cross compilation
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 17:04:51 -07:00
Stephen Gutekanst
79db884e50
README: aarch64-macos -> aarch64-macos now tested via CI
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 16:09:28 -07:00
Stephen Gutekanst
dca5085f5e
CI: rename mac -> x86_64-macos
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 16:09:28 -07:00
Stephen Gutekanst
ac3ddc4a5a
CI: add aarch64-macos / M1 self-hosted runner
...
Fixes #7
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 16:09:28 -07:00
Stephen Gutekanst
c57a2374ab
README: update state of macOS support
...
Closes #3
2021-07-25 15:33:52 -07:00
Stephen Gutekanst
93b42d3aad
glfw: add SDK_PATH for easier testing of changes to SDKs ( #6 )
...
This change makes it easier to test SDKs locally, e.g. if you have:
```
% tree projects/
projects
├── mach
│ └── glfw
└── sdk-macos-11.3
```
In the `projects/mach/glfw` directory it is now easy to test changes to `sdk-macos-11.3` using:
```sh
SDK_PATH="$(pwd)/../.." zig build test -Dtarget=aarch64-macos
```
And it'll use your local SDK, instead of the one in the appdata dir.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-24 13:38:43 -07:00
Stephen Gutekanst
f9e098c442
glfw: add SDK_PATH for easier testing of changes to SDKs ( #6 )
...
This change makes it easier to test SDKs locally, e.g. if you have:
```
% tree projects/
projects
├── mach
│ └── glfw
└── sdk-macos-11.3
```
In the `projects/mach/glfw` directory it is now easy to test changes to `sdk-macos-11.3` using:
```sh
SDK_PATH="$(pwd)/../.." zig build test -Dtarget=aarch64-macos
```
And it'll use your local SDK, instead of the one in the appdata dir.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-24 13:38:43 -07:00
Stephen Gutekanst
15e887fd7c
glfw: add Window.getFrameSize
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 17:43:24 -07:00
Stephen Gutekanst
d1591f6b46
glfw: add Window.getFrameSize
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 17:43:24 -07:00
Stephen Gutekanst
1efdad8d0c
glfw: add Window.getFramebufferSize
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 17:35:33 -07:00
Stephen Gutekanst
96ee2a1dc6
glfw: add Window.getFramebufferSize
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 17:35:33 -07:00
Stephen Gutekanst
71541e48d4
glfw: add Window.setSize
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 15:02:13 -07:00
Stephen Gutekanst
7cbe13941e
glfw: add Window.setSize
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 15:02:13 -07:00
Stephen Gutekanst
d7edb72c3b
glfw: add Window.setAspectRatio
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 14:43:04 -07:00
Stephen Gutekanst
88aa5f4516
glfw: add Window.setAspectRatio
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 14:43:04 -07:00
Stephen Gutekanst
b94be879fc
glfw: add Window.setSizeLimits
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 14:29:14 -07:00
Stephen Gutekanst
3894e707a5
glfw: add Window.setSizeLimits
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 14:29:14 -07:00
Stephen Gutekanst
45d239f65f
glfw: add Window.getSize
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 14:18:34 -07:00
Stephen Gutekanst
cbd2cb7e78
glfw: add Window.getSize
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 14:18:34 -07:00
Stephen Gutekanst
c3daa3bbdf
glfw: add Window.setPos
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 14:08:42 -07:00
Stephen Gutekanst
403070ac2a
glfw: add Window.setPos
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 14:08:42 -07:00
Stephen Gutekanst
0ac88fa29d
glfw: better handle Wayland limitations
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 14:05:54 -07:00
Stephen Gutekanst
a690b84732
glfw: better handle Wayland limitations
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 14:05:54 -07:00
Stephen Gutekanst
83d9219d0c
glfw: add Window.getPos
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 13:56:28 -07:00
Stephen Gutekanst
8ccae4cb1a
glfw: add Window.getPos
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-23 13:56:28 -07:00
Stephen Gutekanst
ac50eaee42
glfw: add Window.setIcon
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-20 21:28:00 -07:00
Stephen Gutekanst
20c9110d9b
glfw: add Window.setIcon
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-20 21:28:00 -07:00
Stephen Gutekanst
14ab07d5eb
glfw: add Image type
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-20 21:00:05 -07:00
Stephen Gutekanst
4f1c6d1b58
glfw: add Image type
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-20 21:00:05 -07:00
Stephen Gutekanst
fbf3855adc
glfw: add Window.setTitle
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-19 19:09:53 -07:00
Stephen Gutekanst
2b75b13123
glfw: add Window.setTitle
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-19 19:09:53 -07:00
Stephen Gutekanst
2b04907c43
glfw: inline Window wrapper functions
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 22:04:03 -07:00
Stephen Gutekanst
1f193ff018
glfw: inline Window wrapper functions
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 22:04:03 -07:00
Stephen Gutekanst
a7447e64b6
glfw: add Window.setShouldClose
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 22:01:18 -07:00
Stephen Gutekanst
458f93095e
glfw: add Window.setShouldClose
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 22:01:18 -07:00
Stephen Gutekanst
820edbd3fb
glfw: add Window.shouldClose
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 21:57:46 -07:00
Stephen Gutekanst
a9446f4ed6
glfw: add Window.shouldClose
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 21:57:46 -07:00
Stephen Gutekanst
73f75fdaf3
glfw: add Window.destroy
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 21:45:25 -07:00
Stephen Gutekanst
badc8939b5
glfw: add Window.destroy
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 21:45:25 -07:00
Stephen Gutekanst
c8984e28f9
glfw: cleanup two tests
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 21:37:05 -07:00
Stephen Gutekanst
04a213b411
glfw: cleanup two tests
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 21:37:05 -07:00
Stephen Gutekanst
938c097d8a
glfw: use Window.create in basic test
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 21:36:14 -07:00
Stephen Gutekanst
c2af312200
glfw: use Window.create in basic test
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 21:36:14 -07:00
Stephen Gutekanst
ea031d34cf
glfw: add Window.create
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 21:35:52 -07:00
Stephen Gutekanst
9359bdc273
glfw: add Window.create
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 21:35:52 -07:00
Stephen Gutekanst
4564dea072
glfw: add Window.hintString
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 20:33:04 -07:00
Stephen Gutekanst
1e37864cb8
glfw: add Window.hintString
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 20:33:04 -07:00
Stephen Gutekanst
f4c285f1e8
glfw: add Window.hint
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 20:01:16 -07:00
Stephen Gutekanst
f136ad0031
glfw: add Window.hint
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-18 20:01:16 -07:00