Stephen Gutekanst
dd7305bd1e
glfw: add glfw.getInstanceProcAddress
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
f602603aee
glfw: add vulkan headers
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
d2bf86e0ce
glfw: default to GLES v3 instead of v2.
...
GLES v3 has >70% device support.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
10225ecd44
glfw: add glfw.extensionSupported
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
17fc430766
glfw: add glfw.getProcAddress
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
9e4a784d70
glfw: add glfw.swapInterval
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
cb5463d603
glfw: add glfw.getCurrentContext
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
a78bf81cd6
glfw: add glfw.makeContextCurrent
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
7ba458d25b
glfw: add TODOs for tracking 100% GLFW API coverage
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
477240681b
glfw: add Window.requestAttention
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
aaa7747e18
glfw: add Window.focus
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
8bb8227b89
glfw: add Window.hide
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
789a9224b7
glfw: add Window.show
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
b3df40bdb9
glfw: add Window.maximize
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
78a048d82e
glfw: add Window.restore
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
7002717773
glfw: remove libglfw3.a (should not have been comitted)
2021-10-05 22:46:06 -07:00
Aksel Hjerpbakk
72d6debb35
fix key.press being set to release ( #27 )
...
A very minor fix to correct key.press being set to GLFW_RELEASE instead of GLFW_PRESS
2021-09-17 15:46:26 -07:00
Stephen Gutekanst
ff49e34c6c
glfw: fix panic when pressing enter on Apple SDK license prompt ( fixes #22 )
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-09-13 20:49:34 -07:00
Stephen Gutekanst
76ecf85d54
new approach to mac SDK inclusion
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-09-12 12:56:51 -07:00
Stephen Gutekanst
e5143ebc49
glfw: remove macOS sysroot workaround (not needed in latest Zig)
...
Also, removing is required in order to workaround an issue with includes.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-09-12 12:56:51 -07:00
Matthew Knight
53d81db18f
remove intermediate static lib ( #24 )
2021-09-05 18:49:45 -07:00
Stephen Gutekanst
31e3750872
glfw: disable setWindowIcon test for now
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-08-02 23:46:22 -07:00
Stephen Gutekanst
c127d4976b
glfw: add Linux SDK / cross compilation support
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-29 21:18:19 -07:00
Stephen Gutekanst
732ca31181
glfw: add preliminary Linux support
...
Helps #4
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-26 01:29:47 -07:00
Stephen Gutekanst
99eff884e4
glfw: macos: add Metal support
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-26 01:12:00 -07:00
Stephen Gutekanst
831a1153da
glfw: windows: correct opengl32/GLESv2 linkage
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-26 01:11:12 -07:00
Stephen Gutekanst
d2ef671f04
glfw: always linkLibC
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-26 01:09:19 -07:00
Stephen Gutekanst
109c4e1d3b
glfw: add Windows x86_64 support
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 22:59:08 -07:00
Stephen Gutekanst
9a7f6a956c
glfw: add Window.iconify
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 19:44:04 -07:00
Stephen Gutekanst
57a2f73273
glfw: add Window.setOpacity
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 19:38:06 -07:00
Stephen Gutekanst
b636a040b3
glfw: add Window.getOpacity
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 19:36:41 -07:00
Stephen Gutekanst
c632ecc834
glfw: add Window.getContentScale
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 19:34:09 -07:00
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
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
15e887fd7c
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
71541e48d4
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
b94be879fc
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
c3daa3bbdf
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
83d9219d0c
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
14ab07d5eb
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
2b04907c43
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
820edbd3fb
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