mame/3rdparty/bgfx/examples/common/entry
Julian Sikorski ba6f5853e9
Cherry-pick wayland improvements from upstream bgfx (#13070)
* Properly support Wayland under EGL and Vulkan. (#3358)

* Dynamically load libwayland-egl.so.1 when dealing with Wayland to remove dependencies at program startup. (#3359)

* Cleanup.

* 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.

* Adapt to latest bgfx wayland code

* Cleanup.

* Fix Vulkan swapchain invalidation issue. (#3379)

* Fix Vulkan swapchain invalidation issue.

* Always clamp render pass to frame buffer size.

* Fix formatting.

* Hopefully fix macOS build

* Hopefully fix macOS build, attempt 2

---------

Co-authored-by: Martijn Courteaux <courteauxmartijn@gmail.com>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2025-01-02 13:50:37 +01:00
..
cmd.cpp Revert "Updated bgfx, bx and bimg to current upstream versions. (#11493)" 2023-09-08 05:14:35 +10:00
cmd.h Revert "Updated bgfx, bx and bimg to current upstream versions. (#11493)" 2023-09-08 05:14:35 +10:00
dbg.h Revert "Updated bgfx, bx and bimg to current upstream versions. (#11493)" 2023-09-08 05:14:35 +10:00
dialog_darwin.mm Revert "Updated bgfx, bx and bimg to current upstream versions. (#11493)" 2023-09-08 05:14:35 +10:00
dialog.cpp Revert "Updated bgfx, bx and bimg to current upstream versions. (#11493)" 2023-09-08 05:14:35 +10:00
dialog.h Revert "Updated bgfx, bx and bimg to current upstream versions. (#11493)" 2023-09-08 05:14:35 +10:00
entry_android.cpp 3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539) 2023-09-29 01:14:29 +10:00
entry_glfw.cpp Cherry-pick wayland improvements from upstream bgfx (#13070) 2025-01-02 13:50:37 +01:00
entry_html5.cpp 3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539) 2023-09-29 01:14:29 +10:00
entry_ios.mm 3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539) 2023-09-29 01:14:29 +10:00
entry_noop.cpp 3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539) 2023-09-29 01:14:29 +10:00
entry_osx.mm 3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539) 2023-09-29 01:14:29 +10:00
entry_p.h Cherry-pick wayland improvements from upstream bgfx (#13070) 2025-01-02 13:50:37 +01:00
entry_sdl.cpp Cherry-pick wayland improvements from upstream bgfx (#13070) 2025-01-02 13:50:37 +01:00
entry_windows.cpp Cherry-pick wayland improvements from upstream bgfx (#13070) 2025-01-02 13:50:37 +01:00
entry_x11.cpp 3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539) 2023-09-29 01:14:29 +10:00
entry.cpp Cherry-pick wayland improvements from upstream bgfx (#13070) 2025-01-02 13:50:37 +01:00
entry.h 3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539) 2023-09-29 01:14:29 +10:00
input.cpp Revert "Updated bgfx, bx and bimg to current upstream versions. (#11493)" 2023-09-08 05:14:35 +10:00
input.h Revert "Updated bgfx, bx and bimg to current upstream versions. (#11493)" 2023-09-08 05:14:35 +10:00