Commit Graph

8803 Commits

Author SHA1 Message Date
Бранимир Караџић 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
Бранимир Караџић aace41236f Updated spirv-tools. 2024-05-27 21:09:50 -07:00
Бранимир Караџић 962e48febe Updated spirv-headers. 2024-05-27 21:09:41 -07:00
Бранимир Караџић 3e2188c27d Updated glslang. 2024-05-27 21:09:28 -07:00
Бранимир Караџић 887dbc8ffe Updated cgltf. 2024-05-27 19:52:14 -07:00
Бранимир Караџић c08fa3da56 Updated ImGui. 2024-05-27 19:49:43 -07:00
Бранимир Караџић da5f27f9ce X11: Workaround DISPLAY not being set. 2024-05-25 09:10:05 -07:00
Бранимир Караџић 87fd766c33 shaderc: Fix integer vecs. 2024-05-24 16:42:41 -07:00
Бранимир Караџић 4f1728dfb8 Updated README. 2024-05-17 18:57:14 -07:00
mclohessy 5c17eb6836
Support /Zc:preprocessor on MSVC for standard compliant preprocessor. (#3294) 2024-05-16 08:02:00 -07:00
Alastair 3bcaaccd29
use BX_MAKEFOURCC in shaderc_hlsl.cpp (#3293) 2024-05-13 12:06:34 -07:00
Бранимир Караџић 662071f333 Cleanup. 2024-05-11 22:02:23 -07:00
Бранимир Караџић cbdc8bf77c Cleanup. 2024-05-10 07:37:28 -07:00
Nikolay Ivanov 2d17b9866b
Fixed incorrect mipmap generation on Vulkan for Cubemaps (#3236) (#3290) 2024-05-10 07:34:44 -07:00
Бранимир Караџић 3a116a90e5 Fixed docs. 2024-05-04 23:58:36 -07:00
kschoice-fr 2dfc9d14b6
Changes to API reference (#3286)
* Update bgfx.rst

Added Texture Flags BGFX_TEXTURE_* in Textures section under TextureFormat

* Update bgfx.h

Added a specific mention that Texture creation BGFX_TEXTURE_* flags can be used, in both relevant createFrameBuffer prototypes
2024-05-04 23:52:43 -07:00
Martijn Courteaux 1437b5c966
Restore support for older macOS/iOS version. Determine features at init, and use at runtime. (#3284)
* Restore support for older macOS/iOS version. Determine features at init, and use at runtime.

* Fix typo for visionOS macro expansion.

* Silence warnings with pragmas and pointer casts where possible.

* Pragma macros.
2024-05-03 07:35:20 -07:00
Бранимир Караџић 9d9ca4f8f6 Cleanup. 2024-05-02 20:00:58 -07:00
João Matos 57d8a0838b
Fixes Emscripten wasm64 compile error in glcontext_html5.cpp. (#3282)
Fixes compile error:

```
glcontext_html5.cpp:74:45: error: cast from pointer to smaller type
'EMSCRIPTEN_WEBGL_CONTEXT_HANDLE' (aka 'int') loses information
74 |                 EMSCRIPTEN_WEBGL_CONTEXT_HANDLE context =
reinterpret_cast<EMSCRIPTEN_WEBGL_CONTEXT_HANDLE>(g_platformData.context);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2024-04-30 07:16:20 -07:00
Aleksandr Bazhin 1138cc0cc9
Examples: change order of calls in loadTexture() (#3281)
Fixes possible concurrency issue - makes code usable in a multithreaded environment. imageReleasCb releases imageContainer after bgfx::createTexture...() is called. If bgfx::frame() is called from another thread, the release can happen before imageContainer is used in bgfx::calcTextureSize(), leading to a crash. Although loadTexture() is not used in multithreaded environment in the examples, calling bgfx::calcTextureSize() before bgfx::createTexture...() is a better reference for users.
2024-04-24 21:25:35 -07:00
Бранимир Караџић 932302d8f4 Compute: Rename Write Only suffix _WR to _WO. 2024-04-18 10:07:40 -07:00
Martijn Courteaux 0ed3ac95aa
More vulkan profiling. (#3279) 2024-04-17 07:24:11 -07:00
Бранимир Караџић 0ddba0bcf4 Updated Vulkan headers. 2024-04-12 21:21:46 -07:00
Бранимир Караџић e315f647d6 Updated spirv-cross. 2024-04-12 21:21:46 -07:00
Бранимир Караџић 9287b7cd18 Updated spirv-tools. 2024-04-12 21:21:46 -07:00
Бранимир Караџић 03279fe3c1 Updated spirv-headers. 2024-04-12 21:21:46 -07:00
Бранимир Караџић 406c8deaba Updated glslang. 2024-04-12 21:21:46 -07:00
Бранимир Караџић de2f308b98 Updated meshoptimizer. 2024-04-12 21:21:46 -07:00
Бранимир Караџић 93a24cae1f Updated ImGui. 2024-04-12 21:21:46 -07:00
Saracen 87603361fd
Corrected Tomb4Plus description. (#3277) 2024-04-10 21:26:42 -07:00
Saracen 39df83496d
Added #madewithbgfx entry for Tomb4Plus (#3276) 2024-04-10 20:48:08 -07:00
Бранимир Караџић 3afb43090f Fixed #3274. 2024-04-02 07:50:19 -07:00
Бранимир Караџић 632489bef5 Fixed #3274. 2024-04-01 09:51:57 -07:00
Бранимир Караџић 0244cc4af2 Updated version. 2024-03-29 17:17:31 -07:00
Бранимир Караџић 2ad67a4dfd Cleanup. 2024-03-29 16:36:55 -07:00
Бранимир Караџић 8ec4b71303 D3D11: Made use staging buffer configurable. 2024-03-28 09:49:02 -07:00
Branimir Karadžić dc2bb19519 Cleanup. 2024-03-27 19:59:59 -07:00
Бранимир Караџић 5818e34e21 Updated README. 2024-03-23 08:21:09 -07:00
Marukyu 0679b98938
Added Crypt of the NecroDancer to README. (#3273) 2024-03-23 08:15:24 -07:00
IchorDev e1077e376e
D bindings: Mark enum conversion functions `nothrow @nogc pure @safe` (#3272)
* 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`
2024-03-21 07:49:01 -07:00