Commit Graph

23 Commits

Author SHA1 Message Date
Martijn Courteaux
e488a07f1b
Support both X11 and Wayland in the same build. (#3360)
* Support both X11 and Wayland in the same build.

 - Works for both Vulkan and OpenGL.
 - Remove --with-wayland from genie options.
 - Vulkan loads all three extensions for surface creation instead of only one.
 - Add width and height parameter to GlContext::createSwapChain(), which is needed for EGL to create
   a SwapChain with the given window size.
 - Dirty-fix the example-22-windows to recreate the FrameBuffer by first destroying and then
   recreating to make sure the window is released of its swapchain.
 - Fix dbgText glitch in example-22-windows.
 - Remove old X11-related dependencies for GLFW3.

* Formatting.
2024-10-05 14:33:22 -07:00
Бранимир Караџић
61c770b0f5 Added option to build bimg with libheif. 2024-06-11 17:58:57 -07:00
Julian Sikorski
8b6a6bdf0e
Fix building for glfw and wayland (#3151)
Co-authored-by: Julian Sikorski <belegdol@fedoraproject.org>
2023-07-31 07:14:04 -07:00
Бранимир Караџић
949142a75f Metal: Added GPU vendorId/deviceId detection. Fixed #2688. 2021-12-19 23:11:33 -08:00
Бранимир Караџић
8392a44b3a Fixed assert macros, and improved error handling. 2021-10-25 18:59:32 -07:00
Julian Sikorski
39cdaace39
Fix building with wayland (#2412) 2021-02-28 10:15:09 -08:00
Бранимир Караџић
76f3e0590f OSX: Added separate osx-arm64 build configuration. 2020-12-31 18:17:39 -08:00
juj
098e6194d9
Update examples to build on Emscripten Wasm. Add separate wasm and wasm2js targets. (#2145) 2020-05-16 19:45:55 -07:00
Бранимир Караџић
1b524195d7 Revert "OSX: Fixed GLFW3 linkage."
This reverts commit 9aa77262dd.
2019-05-25 19:21:58 -07:00
Бранимир Караџић
9aa77262dd OSX: Fixed GLFW3 linkage. 2019-05-25 17:13:55 -07:00
Andrew Willmott
15c94d69a0 Generalise genie xcode4 cases to apply to all xcode project versions. 2019-05-13 17:13:53 +01:00
Бранимир Караџић
53fcf83440 Cleanup. 2019-04-27 07:40:12 -07:00
Branimir Karadžić
464a555101 texturev: Added winapi support for openFileSelectionDialog. 2019-02-19 22:42:46 -08:00
Branimir Karadžić
0a00831e4b Fixed GLFW lib name. 2018-08-25 15:18:21 -07:00
Branimir Karadžić
7612f88426 Cleanup. 2018-07-19 20:29:03 -07:00
Branimir Karadžić
f7fea65bec Removed obsolete platforms. 2017-12-14 20:40:30 -08:00
Branimir Karadžić
0d1cf61bb1 Fixed UWP build. 2017-12-13 23:40:39 -08:00
Branimir Karadžić
8ce85d2462 Added bimg dependency. 2017-04-03 22:42:27 -07:00
Branimir Karadžić
25dd8377d5 examples/common: Cleanup dealing with textures. 2017-03-09 21:20:45 -08:00
Branimir Karadžić
c992291e94 Updating code to match bx. 2017-01-08 15:55:14 -08:00
Branimir Karadžić
32a9594134 Cleanup. 2016-04-30 11:08:56 -07:00
Branimir Karadžić
694a862c2c Cleanup. 2016-04-22 15:02:16 -07:00
Branimir Karadžić
a94089e29f Added simple texture viewer tool. 2016-04-21 22:12:35 -07:00