Commit Graph

8792 Commits

Author SHA1 Message Date
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
Faaux 93961afcfd
Use correct GLSL shader version if onyl gl_VertexID is used (#3315) 2024-06-23 08:59:37 -07:00
Бранимир Караџић 06d0e2af2f Cleanup. 2024-06-21 07:37:44 -07:00
Martijn Courteaux 1109f3c5bf
Vulkan: improve staging data performance by using scratch buffers per frame. (#3295)
* Vulkan: improve staging data performance by using scratch buffers per frame.

* vulkan: Add alignment parameter to request scratch space.

* Align staging buffers to texel block size.

* Fix scratch buffer allocation bug.

* Fix some non-deterministic behavior found by Valgrind. Paranoid printing.

* Remove debugging printing

* Fix alignment of converted formats.

* Remove forgotten debug print.
2024-06-21 07:32:00 -07:00
Бранимир Караџић d9c74e9412 Removed bx.h dependency for embedded shader. 2024-06-16 09:41:16 -07:00
Бранимир Караџић 4c74c06661 Cleanup. 2024-06-15 20:23:44 -07:00
Бранимир Караџић 32866e9e75 texturev: Added horizontal and vertical flip. 2024-06-15 17:14:24 -07:00
Бранимир Караџић acfad63e8f Cleanup. 2024-06-15 16:53:08 -07:00
Branimir Karadžić d1feabe319 Rebuilt shaders. 2024-06-15 14:47:08 -07:00
Бранимир Караџић 72d5832998 spirv-tools: Disable bad validation. 2024-06-15 12:40:50 -07:00
Бранимир Караџић a02d9b541b Updated version. 2024-06-15 10:34:51 -07:00
Бранимир Караџић f37ffe9750 Updated Vulkan headers. 2024-06-15 10:34:17 -07:00
Бранимир Караџић e5ffd1ede8 Updated spirv-cross. 2024-06-15 10:33:47 -07:00
Бранимир Караџић ba632e83b8 Updated spirv-tools. 2024-06-15 10:33:35 -07:00
Бранимир Караџић 2ca2bbc20e Updated spirv-headers. 2024-06-15 10:33:24 -07:00
Бранимир Караџић ad28ab88ab Updated glslang. 2024-06-15 10:33:05 -07:00
Бранимир Караџић ee481af66c Updated meshoptimizer. 2024-06-15 10:29:43 -07:00
Бранимир Караџић 961bbfa295 Updated cgltf. 2024-06-15 10:29:36 -07:00
Бранимир Караџић 739b1156e7 Updated ImGui. 2024-06-15 10:28:55 -07:00
Branimir Karadžić 8432a0a76d MSVC: Enable preprocessor conformance mode. 2024-06-15 10:14:01 -07:00
Бранимир Караџић 9547e79867 VK: Disabled allocator callbacks. 2024-06-13 20:32:12 -07:00
Бранимир Караџић 61c770b0f5 Added option to build bimg with libheif. 2024-06-11 17:58:57 -07:00
Бранимир Караџић b66f60cba0 Cleanup. 2024-06-05 20:27:29 -07:00
Martijn Courteaux 763732e828
Make the semaphore pool larger, such that there are enough for any number of swapchain images AND frames in flight. (#3307) 2024-06-05 20:24:31 -07:00
Бранимир Караџић eedda8e5cf VK: Added latency info. 2024-06-05 15:43:41 -07:00
Tao 0ba23f9b13
Fix adapter object leak when there are more than 4 graphics cards (#3306)
when my computer have more than 4 gpu, it's debug break on
2024-06-05 07:33:49 -07:00
Бранимир Караџић 530a558b11 Cleanup. 2024-06-03 08:27:44 -07:00
Oskar Kwaśniewski 3195593d8d
feat: base visionOS bgfx implementation (#3289)
Co-authored-by: mani3xis <mariusz.pas+dev@protonmail.com>

fix: properly set storageMode

cleanup: remove unused variables

fix crash while releasing m_drawable on visionOS

fix: remove unused timing variable

fix: file name cases, cleanup

feat: integrate visionOS into bgfx examples
2024-06-03 08:14:53 -07:00
Бранимир Караџић 00fa5ad179 Updated SPIR-V shaders. 2024-05-27 22:32:47 -07:00
Бранимир Караџић 793a426d6d Updated Vulkan headers. 2024-05-27 21:10:50 -07:00
Бранимир Караџић ad4a3e095b Updated spirv-cross. 2024-05-27 21:10:01 -07:00