Commit Graph

98 Commits

Author SHA1 Message Date
Бранимир Караџић
8a9bc3ed65 EGL: Improved initialization. 2025-11-08 20:16:08 -08:00
Бранимир Караџић
fb27483652 Cleanup. 2025-10-31 07:03:44 -07:00
Бранимир Караџић
6dfa2ffb0e EGL: Fixed crash when MSAA context is not available. 2025-10-30 21:48:54 -07:00
Бранимир Караџић
71e0db9369 Fixed Android build. 2025-10-29 13:59:22 -07:00
Бранимир Караџић
bf31667394 Fixed Android build. 2025-10-29 13:18:53 -07:00
Бранимир Караџић
959cab248e Added ability to configure backbuffer depth/stencil. 2025-10-29 12:10:41 -07:00
SnapperTT
fca2c0c609 Fix Raspberry Pi Build - EGL_DISPMANX_WINDOW_T not defined (#3470)
See: https://forum.qt.io/topic/88588/qtbase-compilation-error-with-device-linux-rasp-pi3-g-qeglfskmsgbmwindow-cpp/9 for details of the fix
2025-10-07 17:03:05 +00:00
Бранимир Караџић
860bafb23f Happy New Year! 2025-01-13 15:45:40 -08:00
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
Бранимир Караџић
3f9fe0d34e Cleanup. 2024-10-01 16:23:25 -07:00
Бранимир Караџић
54ab573055 Cleanup. 2024-10-01 11:22:25 -07:00
Martijn Courteaux
a6e372ead9 Dynamically load libwayland-egl.so.1 when dealing with Wayland to remove dependencies at program startup. (#3359) 2024-10-01 11:06:56 -07:00
Martijn Courteaux
3303b451a1 Properly support Wayland under EGL and Vulkan. (#3358) 2024-10-01 09:01:44 -07:00
Sami Kyöstilä
85726bcb53 egl: Release per-thread resources before unloading (#3337)
Release EGL's per-thread resources before unloading the EGL library to
avoid a potential crash when the render thread is terminated.

Co-authored-by: Sami Kyöstilä <sami.kyostila@unrealvoodoo.org>
2024-08-08 10:36:45 -07:00
Бранимир Караџић
83dfadf673 Happy New Year! 2024-01-14 01:56:36 -08:00
issam3105
e2c5b1d3e1 Fixed EGL library name on Linux (#3122)
* Fixed EGL library name on Linux

* Cleanup.

---------

Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2023-07-04 09:11:07 -07:00
Бранимир Караџић
93815ab7c7 Cleanup. 2023-06-26 21:16:17 -07:00
Бранимир Караџић
b74da5c643 GL: Removed GLX context code. 2023-06-26 19:18:49 -07:00
issam3105
e8eb9782fa Support OpenGL on EGL (#3115)
Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com>
2023-06-26 17:06:00 -07:00
Бранимир Караџић
fa1897bd1f Added headless validation for bgfx::init and bgfx::reset. 2023-06-23 19:16:32 -07:00
Бранимир Караџић
2af2abda62 Cleanup. 2023-06-23 18:12:40 -07:00
issam3105
47345a3a17 Support OpenGL on EGL and allow headless context creation (#3110)
* allow headless context creation using EGL

* Fixed dynamic lib import

---------

Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com>
2023-06-23 09:51:59 -07:00
Branimir Karadžić
290295136b Added bx::Location, and removed allocator macros. 2023-04-23 19:19:22 -07:00
Бранимир Караџић
466c6a4e95 Happy New Year! 2023-01-14 10:05:12 -08:00
Sandy
30f2920ae5 egl: Fix narrowing warning/error (#2891) 2022-08-24 14:31:55 -07:00
Cedric Guillemet
6aad365c9e Enable MSAA setting at context creation for Android (#2854) 2022-08-04 06:51:38 -07:00
Бранимир Караџић
4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Cedric Guillemet
77f36d79cc no more optional param for bx:write (#2662)
Co-authored-by: Cedric Guillemet <ceguille@microsoft.com>
2021-11-18 13:10:59 -08:00
simon chen
0b179e59e2 fixed GLES3 bug, when "EGL_KHR_create_context" doesn't exist. (#2529)
* fixed gles3 bug

* fixed sdl bug on android platform
2021-06-05 07:54:14 -07:00
Бранимир Караџић
af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Бранимир Караџић
5453faacf1 Fixed issue #2279. 2020-10-09 09:52:00 -07:00
MooZ
9d369ab4a0 Fixed msaa for OpenGL ES targets. (#2277) 2020-10-05 10:17:01 -07:00
Бранимир Караџић
d1685a366a Fixed build. 2020-09-03 23:45:20 -07:00
Бранимир Караџић
8f4750b199 Cleanup. 2020-09-02 20:43:47 -07:00
云风
2480ea3dbe avoid gcc warnings: cast-function-type (#2252) 2020-09-01 20:20:03 -07:00
Бранимир Караџић
3f6d049470 Fixed Emscripten function calls. 2020-06-19 09:31:32 -07:00
Бранимир Караџић
2cbcb6ea90 RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:18 -07:00
juj
75384ccfe1 Add checks for Emscripten API return values to make sure API calls are not failing (#2160) 2020-06-05 07:34:11 -07:00
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
dom607
f1f2d9ff27 Return to the previous surface after swapchain create / destroy. (#1815) 2019-07-12 19:37:51 -07:00
Бранимир Караџић
e574edcd47 Cleanup. 2019-03-22 16:20:56 -07:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Branimir Karadžić
72bf5f9870 Cleanup. 2018-10-22 18:08:01 -07:00
PpluX
82dd183d24 Android supports creating swap chains (#1332) 2018-02-14 09:24:40 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
dd9f1a235f Cleanup. 2017-02-06 08:56:21 -08:00
PpluX
cd3d3c14f9 Added support for EGL_ANDROID_recordable (#1038) 2017-02-06 08:54:43 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
af9122b209 texturev: Added support for loading .exr images. 2016-12-18 17:02:20 -08:00
Sami Kyöstilä
3d23690216 Give a valid display parameter to eglMakeCurrent (#800) 2016-05-30 16:41:11 -07:00