Commit Graph

9139 Commits

Author SHA1 Message Date
Бранимир Караџић
85cecd5a5c Updated docs. 2025-08-30 19:53:53 -07:00
Jaziel Guerrero
9dfcab69f7 Add bindings for C3 Lang (#3456)
* Added bindings for C3 lang

* Fix sub-struct generation. Fix empty struct. Fix doc comments. These issues didn't allow the c3 compilation

* Add @extern for each function to match C API

* Add gen suffix to keep naming consistency
2025-08-31 02:44:28 +00:00
Бранимир Караџић
7bb77b5ce9 Updated README. 2025-08-28 07:49:36 -07:00
Бранимир Караџић
e1f5938f4a ImGui: Disable id conflict highlight in release build. 2025-08-27 22:38:42 -07:00
Branimir Karadžić
6b8c1072aa Cleanup. 2025-08-23 20:53:26 -07:00
Branimir Karadžić
30331f4142 Fixed MSVC warnings. 2025-08-23 19:54:08 -07:00
Бранимир Караџић
cbe6789a93 Setup exception handler in examples. 2025-08-23 19:29:49 -07:00
Branimir Karadžić
f268ce5c96 Update assert API to latest bx. 2025-08-23 09:21:18 -07:00
Martin Friedli
fab28297e0 Fix Metal: Persist new window handle (Metal layer) when swapping view (#3452)
* When using the Metal rendering backend and updating the window handle
via setPlatformData(), the passed in Metal layer was not stored.
* Instead, the old window handle was still used.
* The fix addresses a scenario where two BGFX-backed Metal views on iOS
are created and rendering needs to happen either on one view or the other.
2025-08-08 14:46:21 +00:00
Бранимир Караџић
23baae9e00 macOS: Fixed open dialog crash. 2025-07-26 08:05:18 -07:00
Martijn Courteaux
d3dd8fb457 Slightly better surface creation logic for Vulkan. (#3447) 2025-07-22 16:27:21 +00:00
Loppin Vincent
a76903d622 Fix some DXBC opcode info (#3443)
Co-authored-by: Vincent Loppin <vincent.loppin@csgroup.eu>
2025-07-17 17:37:15 +02:00
Scott Campbell
14426c32c9 Beef binding using int instead of int32 (#3440)
* int32_t changed to int, should have been int32

* Update bgfx.bf from idl gen
2025-07-11 08:34:54 +01:00
Aleš Mlakar
7cce5fb12d Beef bindings int as int32 (#3415)
* Updated README (with World Of Goo 2).

* Updated README (with World Of Goo 2).

* Updated cgltf.

* Updated meshoptimizer.

* Updated ImGui.

* Updated glslang.

* Updated spirv-headers.

* Updated spirv-tools.

* Updated spirv-cross.

* Updated Vulkan headers.

* Fix a crash in renderer_d3d12.cpp (#3349)

If querying the debug1 interface fails, don't attempt to release it.

* 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

* fix typo (scrach -> scratch) (#3353)

* Imgui: Add ability to link external STB libs.

* Revert "Updated spirv-tools."

This reverts commit 7cda7c988f.

* Rebuilt spir-v shaders.

* Properly support Wayland under EGL and Vulkan. (#3358)

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

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

* Cleanup.

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

* Build documentation improvements (#3362)

* Some documentation improvements: extra info on using GENie.

* Some grammer.

* Bump minimum GLFW version to 3.4.

* Insert vkDeviceWaitIdle to prevent VK_DEVICE_LOST. (#3363)

* Cleanup.

* Updated version.

* Updated meshoptimizer.

* Updated glslang.

* Updated spirv-headers.

* Updated spirv-tools.

* Updated spirv-cross.

* Updated Vulkan headers.

* Cleanup.

* Updated ImGui.

* shaderc: Fixed build.

* wasm: Fixed build.

* Cleanup.

* Fixed clang-debug target trying to build with gcc. (#3368)

Co-authored-by: -- <-->

* Fix compiling entry_noop (#3369)

* Updated GHA containers.

* Use DXGI_SWAP_CHAIN_DESC1 if available for additional scaling options. (#3370)

* Fix: Fix Uniform buffer doing too many iterations when updating renderer uniforms (#3372)

* Fixed IDL, added C++ IDL template.

* Updated version.

* Cleanup.

* Silent clang warnings.

* Updated README.md, fix typo(s) (#3376)

* Disable mingw-clang due broken winnt.h header.

* Fix various typos (#3377)

Found via `codespell -q 3 -S "./3rdparty,*.ttf,*.bin,./examples/common/imgui,./examples/common/font" -L attribut,ba,clude,conly,constan,espace,hashin,indext,inout,lod,nclude,retur,ser,sroll,struc,te,truct,unknwn,usin,utput,varyin`

* Assert on OOM.

* Fix Vulkan swapchain invalidation issue. (#3379)

* Fix Vulkan swapchain invalidation issue.

* Always clamp render pass to frame buffer size.

* Fix formatting.

* Cleanup.

* shaderc: Show correct error line.

* Cleanup.

* Format files to remove trailing spaces (#3384)

* Updated bindings.

* Updated docs.

* Cleanup.

* Cleanup.

* Fixed MSVC warnings.

* Removing alloca compat include.

* Fixed build.

* Fixed warning.

* Updated ImGui.

* Updated cgltf.

* Updated meshoptimizer.

* Updated glslang.

* Updated spirv-headers.

* Updated spirv-tools.

* Updated spirv-cross.

* Updated version.

* Revert "Fix: Fix Uniform buffer doing too many iterations when updating rende…" (#3391)

This reverts commit 4bc652939f.

* Happy New Year!

* Update README.md (#3394)

Added Off The Road 2

* Fix #3344 (#3399)

* Fix UniformBuffer UB regarding UniformType::Enum with extra bits. (#3398)

* Fix only one frame rendered in mobile opengles with intermediate frame buffer (#3405)

* Another fix for crashing with VK_DEVICE_LOST (#3404)

* Fix wasm tinystl compile error (#3406)

* utilize bx::strLen instead of C function

* utilize bx::strCopy instead of C function

* Updated ImGui.

* Updated meshoptimizer.

* Updated cgltf.

* Updated glslang.

* Updated spirv-headers.

* Updated spirv-tools.

* Updated spirv-cross.

* mini-fix: update docs config for doxygen (#3411)

* Remove STB nonsense todo assert.

* docs: clarify Android API version requirement in README (#3414)

Change Android version notation from "14+" to "4.0+ (API 14 or later)" for better clarity among Android developers

* Fixed C++20 deprecated lambda capture.

* Updated cgltf.

* Updated meshoptimizer.

* Updated glslang.

* Updated spirv-headers.

* Updated spirv-tools.

* Updated spirv-cross.

* Rebuilt metal & spir-v shaders.

* Add a file formatting script (#3383)

* Updated version.

* Beef bindings: Fix int32_t as int32

---------

Co-authored-by: Aleš Mlakar <ales.ambits@gmail.com>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
Co-authored-by: Daniel Kalmar <1355747+kalmard0@users.noreply.github.com>
Co-authored-by: IchorDev <15670465+ichordev@users.noreply.github.com>
Co-authored-by: James Fulop <40307536+jamesfAnet@users.noreply.github.com>
Co-authored-by: Martijn Courteaux <courteauxmartijn@gmail.com>
Co-authored-by: imaginaryPineapple <hannespalomaki@gmail.com>
Co-authored-by: Raziel Alphadios <64050682+RazielXYZ@users.noreply.github.com>
Co-authored-by: Matt Tytel <matt@vital.audio>
Co-authored-by: Nuno Silva <little.coding.fox@gmail.com>
Co-authored-by: Bob Conan <sufssl03@gmail.com>
Co-authored-by: luzpaz <luzpaz@users.noreply.github.com>
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
Co-authored-by: attilaz <kocsisa78@gmail.com>
Co-authored-by: nathanstouffer <nathanstouffer1999@gmail.com>
Co-authored-by: Kevin J. <jerebicakevin@gmail.com>
Co-authored-by: Dipendra Sharma <17643682+dipendra-sharma@users.noreply.github.com>
2025-07-11 08:34:29 +01:00
Francisco Facioni
14e0aa5aff [emscripten] Fix MEMORY64 mode (#3437)
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE is 64bit when using MEMORY64 but it's stored as an int 32 bit causing overflow
2025-06-28 21:31:59 +02:00
Бранимир Караџић
b0b9c90b47 Updated Vulkan headers. 2025-06-07 10:28:02 -07:00
Бранимир Караџић
7c79acf98e Updated spirv-cross. 2025-06-07 10:26:12 -07:00
Бранимир Караџић
88e74f02bf Updated spirv-tools. 2025-06-07 10:25:58 -07:00
Бранимир Караџић
c198dc278d Updated spirv-headers. 2025-06-07 10:25:45 -07:00
Бранимир Караџић
93a001377d Updated glslang. 2025-06-07 10:25:31 -07:00
Бранимир Караџић
37e43f6a9e Updated meshoptimizer. 2025-06-07 10:21:55 -07:00
Бранимир Караџић
ac59dc5887 Updated cgltf. 2025-06-07 10:21:48 -07:00
Бранимир Караџић
78c61936b0 Updated ImGui. 2025-06-07 10:21:03 -07:00
Vincent Bousquet
d763739516 Fix blitting between texture array layers (#3428) 2025-05-31 00:46:12 +00:00
Бранимир Караџић
11e222bd44 Updated README. 2025-05-29 18:11:29 -07:00
luzpaz
4109e14b43 Fix various typos (#3427)
Found via `codespell -q 3 -S "./3rdparty,*.ttf,*.bin,*.bin.h,./examples/common/imgui,./examples/common/font,./examples/runtime/text/sherlock_holmes_a_scandal_in_bohemia_arthur_conan_doyle.txt" -L attribut,ba,clude,conly,constan,dne,espace,hashin,hart,indext,inout,lod,nclude,reduct,retur,ser,sroll,statics,struc,te,tolen,truct,unknwn,usin,utput,varyin`
2025-05-28 19:12:06 +00:00
Бранимир Караџић
1bd641c7bc Updated docs with minimum required version of Visual Studio. 2025-05-26 12:22:49 -07:00
Бранимир Караџић
4d53b55ce2 Updated spirv-cross. 2025-05-17 21:44:40 -07:00
Бранимир Караџић
9433b566c0 Updated spirv-tools. 2025-05-17 21:44:30 -07:00
Бранимир Караџић
2c99e5f623 Updated spirv-headers. 2025-05-17 21:44:14 -07:00
Бранимир Караџић
53307a82f3 Updated ImGui. 2025-05-17 21:16:12 -07:00
Synaptor
9dc992147a Initialize color palette at start (#3425) 2025-05-13 14:40:57 +00:00
Бранимир Караџић
636a860b0e Updated ImGui. 2025-05-10 19:59:27 -07:00
Бранимир Караџић
56dd9f4ae1 Rebuilt metal & spir-v shaders. 2025-05-10 19:58:27 -07:00
Бранимир Караџић
5cb08f414f Updated shaderc. 2025-05-10 19:57:30 -07:00
Бранимир Караџић
3ef67d3eb0 Updated spirv-tools. 2025-05-10 19:57:06 -07:00
Бранимир Караџић
486853494e Updated spirv-headers. 2025-05-10 19:56:51 -07:00
Бранимир Караџић
8894a9df0f Updated glslang. 2025-05-10 19:56:39 -07:00
Hinageshi
42062ba0b5 18-ibl: Fix widgets id conflict (#3424) 2025-05-07 14:33:15 +00:00
Бранимир Караџић
7f8d422599 Updated meshoptimizer. 2025-05-03 10:29:20 -07:00
Бранимир Караџић
1d7d9b049c Updated ImGui. 2025-05-03 10:26:58 -07:00
Martijn Courteaux
0e734522cd Vulkan memory allocation LRU cache (#3422)
* First version of a memory allocation cache for Vulkan.

* Increase maximal cached memory allocations to 1024. Add configuration parameter.
2025-04-12 00:21:34 +00:00
Бранимир Караџић
27ce54a1e4 Regenerated bindings from IDL. 2025-04-11 16:55:59 -07:00
Luigi Malomo
c8f237a39b Add u_invModelView uniform to shader and documentation (#3421) 2025-04-11 23:54:42 +00:00
Бранимир Караџић
01dc8c59b4 Cleanup. 2025-04-01 15:05:30 -07:00
Martijn Courteaux
6e76442979 Fix TextVideoMemBlitter staging buffer issue. (#3419)
* Fix TextVideoMemBlitter staging buffer issue, and broken vkFlushMappedMemoryRange.

* Merge flush and reset.

* Rename flush_and_reset() to flush(_reset=true).
2025-04-01 22:00:06 +00:00
Бранимир Караџић
dd49a5742d X11: Fixed send modifier keys when no other keys are pressed. 2025-03-31 21:59:25 -07:00
Бранимир Караџић
72f9b8b516 Workaround VK scratch buffer issue. 2025-03-29 08:21:28 -07:00
Biswapriyo Nath
93e6125b30 docs: Fix supported Android version (#3416)
This matches with README now.
2025-03-20 14:19:13 +00:00
Бранимир Караџић
8a07b4edac Updated version. 2025-03-15 12:25:55 -07:00