Stephen Gutekanst
72997552e3
glfw: update TODO
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
Stephen Gutekanst
ed2d9942cc
glfw: default Linux to GLESv3
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-16 18:39:57 -07:00
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
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
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
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
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
15c072c20c
glfw: correct comment style
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:52:38 -07:00
Stephen Gutekanst
09674bc655
glfw: move constants into separate modules
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:34:18 -07:00
Stephen Gutekanst
f28f8ec253
glfw: handle windows \r\n in Apple SDK prompt
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
5ee5f14195
glfw: link libc
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
0e9c54e529
glfw: use cross-platform getEnvVarOwned
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
dac591b468
glfw: remove symlinks from SDKs (using them on windows is annoying)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
31604cae3f
glfw: be sure to clone SDKs with symlinks
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 17:26:32 -07:00
Stephen Gutekanst
d3abf7babb
glfw: correct Linux -> MacOS cross compilation (header includes)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 16:07:41 -07:00
Stephen Gutekanst
182030df2d
glfw: fix -Dtarget=x86_64-macos compilation
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 14:47:10 -07:00
Stephen Gutekanst
c5d8758588
glfw: build Linux sources
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 11:25:04 -07:00
Stephen Gutekanst
a5eadec686
glfw: tidy up Options struct
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 10:04:18 -07:00
Stephen Gutekanst
ef4e335ccd
glfw: build windows sources
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 10:04:18 -07:00
Stephen Gutekanst
f9150de8d0
glfw: macOS cross compilation with automatic setup
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 01:01:51 -07:00
Stephen Gutekanst
8421f21e3a
glfw: add basic example, building+linking on macOS is working
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-06 20:53:10 -07:00