Commit Graph

8822 Commits

Author SHA1 Message Date
Бранимир Караџић
132266c1bd Updated spirv-cross. 2024-10-18 20:28:47 -07:00
Бранимир Караџић
4157813255 Updated spirv-tools. 2024-10-18 20:28:32 -07:00
Бранимир Караџић
0796d4ffab Updated spirv-headers. 2024-10-18 20:28:15 -07:00
Бранимир Караџић
2e511a7d4c Updated glslang. 2024-10-18 20:27:35 -07:00
Бранимир Караџић
437c6e21eb Updated meshoptimizer. 2024-10-18 20:27:23 -07:00
Бранимир Караџић
dd4199bcb3 Updated version. 2024-10-08 21:58:43 -07:00
Бранимир Караџић
96391d0b59 Cleanup. 2024-10-08 18:59:34 -07:00
Martijn Courteaux
fdb09ca401
Insert vkDeviceWaitIdle to prevent VK_DEVICE_LOST. (#3363) 2024-10-08 07:00:02 -07:00
Бранимир Караџић
0a5fe7024c Bump minimum GLFW version to 3.4. 2024-10-07 09:59:47 -07:00
Martijn Courteaux
edd145fe4f
Build documentation improvements (#3362)
* Some documentation improvements: extra info on using GENie.

* Some grammer.
2024-10-05 23:14:07 -07: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
Daniel Kalmar
7e5bb54a3e
Improve NX Vulkan support. (#3357)
This change was developed using publicly available information found in Vulkan headers and official documentation. No proprietary NX resources were used.

Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2024-10-01 09:02:06 -07:00
Martijn Courteaux
3303b451a1
Properly support Wayland under EGL and Vulkan. (#3358) 2024-10-01 09:01:44 -07:00
Бранимир Караџић
f8b20616de Rebuilt spir-v shaders. 2024-09-28 10:14:37 -07:00
Бранимир Караџић
0e275e2d7b Revert "Updated spirv-tools."
This reverts commit 7cda7c988f.
2024-09-28 10:10:43 -07:00
Бранимир Караџић
e4073f0259 Imgui: Add ability to link external STB libs. 2024-09-28 09:48:37 -07:00
James Fulop
e464102960
fix typo (scrach -> scratch) (#3353) 2024-09-12 19:19:10 -07:00
IchorDev
f29c1b7cde
D bindings: Fix a casing error (#3350)
* Fix error in dynamic version of D bindings

Dazed and confused but trying to continue

* Fix dispatch_indirect still using uint16_t in bgfx.idl

* D bindings: Mark enum conv. functions `nothrow @nogc pure @safe`

* D bindings: Fix a casing error
2024-09-04 09:01:09 -07:00
Daniel Kalmar
eaec8ddf3b
Fix a crash in renderer_d3d12.cpp (#3349)
If querying the debug1 interface fails, don't attempt to release it.
2024-08-31 11:15:28 -07:00
Бранимир Караџић
4fb2edfee5 Updated Vulkan headers. 2024-08-30 20:22:21 -07:00
Бранимир Караџић
ec4220ae44 Updated spirv-cross. 2024-08-30 20:21:18 -07:00
Бранимир Караџић
7cda7c988f Updated spirv-tools. 2024-08-30 20:21:05 -07:00
Бранимир Караџић
cce563101d Updated spirv-headers. 2024-08-30 20:20:53 -07:00
Бранимир Караџић
cb50d2873f Updated glslang. 2024-08-30 20:20:38 -07:00
Бранимир Караџић
0c26b42851 Updated ImGui. 2024-08-30 20:18:23 -07:00
Бранимир Караџић
69eb4a54f3 Updated meshoptimizer. 2024-08-30 20:18:09 -07:00
Бранимир Караџић
8fc9516dcd Updated cgltf. 2024-08-30 20:18:01 -07:00
Aleš Mlakar
6622b4d26f
Update Who is using it? part of README.md with World Of Goo 2 (#3348)
* Updated README (with World Of Goo 2).

* Updated README (with World Of Goo 2).

---------

Co-authored-by: Aleš Mlakar <ales.ambits@gmail.com>
2024-08-29 02:06:55 -07:00
Oskar Kwaśniewski
ed03259c41
fix: visionOS 1.2 build errors (#3347) 2024-08-28 09:22:38 -07:00
Daniel Kalmar
ff1fa8dd39
Use the correct options enum when checking D3D12 features. (#3346) 2024-08-28 09:21:59 -07:00
Oskar Kwaśniewski
0b73e8c7e2
fix: layer rendering (#3339) 2024-08-12 07:55:15 -07:00
Sim Saëns
3f3d3b4433
feat: optional immersive rendering in visionOS (#3335)
* Implements optional code path for immersive rendering based on the type of nwh

* Reverted change in SwapChainMtl destructor
2024-08-09 23:25:47 -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
Sandy
409fbc5d14
Replace ALooper_pollAll with ALooper_pollOnce (#3334) 2024-08-02 15:38:56 -07:00
Oskar Kwaśniewski
aa4f8c5833
feat: add world tracking provider to render on acutal device (#3326) 2024-07-30 08:15:23 -07:00
Sim Saëns
0de1f036d8
Fixed Doxygen warnings (#3330) 2024-07-28 04:17:56 -07:00
Oskar Kwaśniewski
b4df15f848
fix: properly set viewports and render targets (#3325)
fix: do not use STL
2024-07-25 01:17:47 -07:00
Sandy
987a6f89de
Fix issue with visionOS not being defined (#3327)
VisionOS SDK was introduced in xcode 15.2.
xcode 15.0, 15.1 do not have the visionOS platform defined.
Additionally, if you use a different llvm such as llvm 17 or 18 from
homebrew, the platform might not be defined even when using xocde 15.2 or
newer.
2024-07-19 20:54:44 -07:00
Бранимир Караџић
e41cbebf16 Set define for USE_ENTRY. 2024-07-09 07:28:59 -07:00
Raziel Alphadios
500e03ffcb
Change ImGuiKey_Mod* to new names ImGuiMod_* (#3322) 2024-07-09 07:17:35 -07:00
elvencache
74e7edccdc
Fix issues with controller in entry_sdl.cpp. (#3321)
SDL2's concept of GameController is a like a PS or Xbox controller, two sticks, four face buttons, etc. These are the same as the bgfx example's Gamepad.

SDL also has a concept of Joystick, which could be anything, like a flight stick. Game Controllers are implemented by these lower level joystick's.

Entry SDL gets duplicate events, for both controller and the joystick implementing it. Game controller buttons are remapped to bgfx gamepad, but joystick buttons are not. This causes incorrect button presses.

Additionally, the joystick z axis behaves differently than game controller or bgfx gamepad. With at-rest value being negative, not zero.

Due to all of this, it seems like the best approach would be to ignore joystick events and only handle game controller events.

Also, minor additional fix to get handle's index when using it as array index. Fixes compilation in Visual Studio.
2024-07-07 18:52:23 -07:00
Бранимир Караџић
6f79fe00e9
Update README.md 2024-07-04 22:44:54 -07:00
Бранимир Караџић
af12904d8c Noop: Added missing caps. 2024-06-28 08:16:26 -07:00
Бранимир Караџић
2529e1abc7 Sorted caps. 2024-06-28 08:16:09 -07:00
Бранимир Караџић
a476c5b9a4 Cleanup. 2024-06-26 13:17:28 -07:00
Бранимир Караџић
85b33a0f63 Updated meshoptimizer. 2024-06-25 22:36:46 -07:00
Daniel Kalmar
14750e1392
Minimal changes for Vulkan support on NX. (#3317) 2024-06-25 07:19:59 -07:00