Commit Graph
1416 Commits
Author SHA1 Message Date
Branimir Karadžić fe3f08fb0e Added Vulkan HDR10, fixed D3D11/D3D12 HDR10 color space, and ImGui colors in HDR10. (#4061) 2026-10-17 09:57:27 -07:00
Branimir Karadžić 227eac0d75 Metal: Fixed occlusion queries and depth texture data, added HDR10 and unretained command buffers. Closes #2356, #2017, #1827, #2974, #3642. (#4060) 2026-10-17 07:10:37 +00:00
Branimir Karadžić fa2d4b56f3 Fixed ImGui text input, and other trivial issues. (#4058) 2026-10-16 23:32:59 +00:00
Branimir Karadžić a7c0e5b426 Main window rebinding: every renderer follows a new nwh, entry on every platform (#4056) 2026-10-16 10:35:20 -07:00
Thomas Edvalson 99b7977fe2 Android: restore main-window EGL surface recreation (#4055)
Use the main swap-chain native window on Android EGL reset so a replacement ANativeWindow can receive a new EGLSurface without destroying the existing EGLContext and GPU resources.

Forward native-window lifecycle events through the Android example event queue and include the current window in its reset descriptor. Document Android main-window rebinding support.

Restores the intent of #796 after the example harness platform-data removal (72cbe8327) and swap-chain API refactor (#3959).
2026-10-16 08:47:05 -07:00
Branimir Karadžić a2191968ff macOS: Fixed Cmd+Q not quitting, and terminate called off the main thread. Closes #2655. (#4053) 2026-10-15 05:05:17 +00:00
Branimir Karadžić 537d53f145 Tools: Use UTF-8 command line arguments on Windows. (#4030) 2026-10-07 20:05:42 -07:00
Branimir Karadžić 500f916540 Relaxed view maximum, made view storage grow with use, up-to 4096 view ids. (#4014) 2026-10-02 16:00:20 -07:00
Branimir Karadžić d79de7ac63 examples: Added --fixed-fps and --screenshot for deterministic captures. (#3998) 2026-09-25 15:29:53 -07:00
Branimir Karadžić 90f0995f8e Rebuilt shaders. (#3972) 2026-09-10 23:39:39 -07:00
Branimir Karadžić 2e51cb6aa9 Added depth control, sample mask, and read-only depth/stencil attachments. (#3971) 2026-09-11 05:22:53 +00:00
Branimir Karadžić 9b636df330 GL: Don't toggle primitive restart on WebGL. Fixes #3967. (#3969) 2026-09-07 20:58:25 +00:00
Branimir Karadžić 78ee247bf5 S2H cleanup. (#3964) 2026-09-05 19:46:00 +00:00
eres-j 6cfb803865 Example s2h (#3941)
* Add s2h example

* Add s2h Hello Screen example

* Add gather feature example

* Add Arrow, Coordinate System and Table S2H examples

* Add generate user font s2h example

* Add 2D s2h example

* Add 3D s2h example

* Add clear s2h example

* Add Quad Post s2h example

* Add Use User Font s2h example

* Add Debug Zoom s2h example

* Add Quad VS/PS s2h example

* Add Scatter s2h example

* Update s2h_scatter.hlsl (more readable)

* Add Zoom 2D s2h example

* Update s2h samples order to corespong to GiGi one

Enhance Gather sample to looks more like the original one

* Handle bottom-left fragment origins in S2H shaders

* Fix S2H rendering across OpenGL, Vulkan, and DX12

* Removed the redundant u_s2hScreen uniform

- S2H now derives the top-left pixel coordinate from bgfx’s u_viewRect and OpenGL’s built-in bgfx_ndc.z
- Removed its creation, per-view uploads, and destruction from s2h.cpp

* Update 54-s2h shaders to match bgfx shader style

`float2/3/4` → `vec2/3/4`
`float4x4` → `mat4`
`int2 / uint2` → `ivec2 / uvec2`
2026-09-05 17:56:41 +00:00
Branimir Karadžić 01dbbbc08c Added swap-chain. (#3959) 2026-09-05 01:44:33 +00:00
Branimir Karadžić ad4a0173d6 X11: Fixed keyboard input after layout switch. (#3958) 2026-09-04 22:22:03 +00:00
Branimir Karadžić fcdc7116a6 X11: Implemented fullscreen toggle, fixed exit segfault. (#3957) 2026-09-04 04:07:56 +00:00
Nolram a4af1f49dc Re-capitalised "nVidia" to "NVIDIA" where applicable. A minor change, but it aids consistency and is now in-line with NVIDIA's own naming policy. You're welcome Jensen. (#3945) 2026-08-31 01:17:29 +00:00
Branimir Karadžić 87ec6b86c6 Fix API selection in standalone example. (#3944) 2026-08-30 23:29:36 +00:00
Branimir Karadžić dd961560d5 Raw buffers (#3920)
* Added raw compute buffers, resource type/dimension now comes from shader reflection. Bumped shader version to 12.

* Rebuild internal embedded shaders.

* Updated bindings.

* Rebuild embedded shaders.

* Rebuilt shaders.

* Updated bindings.
2026-08-22 20:03:12 -07:00
Branimir Karadžić 6d0d15f2a5 Entry: Fixed keymapings. (#3917) 2026-08-21 23:07:36 -07:00
Branimir Karadžić fde976604c Raised minimum OpenGL version to 4.3. OpenGLES to 3.0. Removed glsl-optimizer. (#3905) 2026-08-19 10:12:25 -07:00
Branimir Karadžić 35a98dd645 Grow per-frame storage on-demand instead statically allocating for the maximum. (#3900) 2026-08-16 17:26:25 -07:00
Branimir Karadžić 3d3b08778e Support depth-1 volume textures. (#3883) 2026-08-12 18:24:25 -07:00
Branimir Karadžić 9849a30930 Added improved command line handling. (#3877) 2026-08-09 01:52:55 -07:00
Branimir Karadžić af4015db29 Add BGFX_CONFIG_GL_NORMALIZE_NDC_CONVENTION. (#3875) 2026-08-06 05:30:06 -07:00
Branimir Karadžić f0ff45697b Fix include paths. (#3849) 2026-07-25 12:44:29 -07:00
Branimir Karadžić 80bee4959c Added example name to title bar. Added WebGPU vendor info. (#3820) 2026-07-12 04:07:10 +00:00
Branimir Karadžić 67893bcf71 Rebuilt embedded shaders. (#3796) 2026-06-28 00:39:44 -07:00
Alessandro Muntoni 682bc3ca64 add vertex pulling to example 28 (#3785) 2026-06-26 07:22:04 +00:00
Branimir Karadžić 116e155660 shader makefile: Don't rebuild twice. (#3768) 2026-06-19 06:29:15 +00:00
Branimir Karadžić f671eb83bf Removed bgfx/platform.h (#3761) 2026-06-16 04:10:12 +00:00
Branimir Karadžić 24c37e6eca Fixed debugdraw drawFrustum near plane under non-homogeneous NDC. Closes #1299. (#3746) 2026-06-08 22:38:02 -07:00
Branimir Karadžić 5f85da1e59 Added .ktx2 support. (#3721) 2026-05-28 20:38:10 -07:00
Branimir Karadžić ba17ab3825 Added webp support. (#3718) 2026-05-27 05:03:03 +00:00
Branimir Karadžić 65f9425d8c Updated to new SIMD. (#3699) 2026-05-03 18:51:10 +00:00
Branimir Karadžić 331783cf9a Renamed bx::uint32_min/max/clamp/cntlz/cnttz/mod to typed equivalents. (#3692) 2026-04-27 04:19:08 +00:00
Branimir Karadžić 6c820091e4 macOS: Fixed deprecated warning. (#3672) 2026-04-19 01:36:19 +00:00
Branimir Karadžić f3ad0e91af Removed bgfx::weldVertices. (#3659) 2026-04-13 01:30:57 +00:00
Branimir Karadžić a7016487e5 Added 51-gpufont example. (#3641) 2026-03-23 02:34:05 +00:00
Branimir Karadžić 681320668d Add GPU device info. (#3639) 2026-03-21 22:39:57 +00:00
Branimir Karadžić 0499759e8c Fixed runtime renderer selection. (#3637) 2026-03-21 16:57:04 +00:00
Branimir Karadžić 90d61887ac D3D11: Renamed dx11 to dxbc. (#3586) 2026-02-08 01:45:18 +00:00
Branimir Karadžić 6d8e61b16a D3D11: Fixed shaderc. (#3559) 2026-01-20 06:06:05 +00:00
Branimir Karadžić 33541e4bab D3D12: Added DXIL support. (#3558)
* Added DXIL support.

* Fixed Linux build.

* Fixed mingw build.

* Fixed build.
2026-01-20 01:43:31 +00:00
Branimir Karadžić 4baed6e076 Happy New Year! (#3550) 2026-01-14 16:26:51 +00:00
Branimir Karadžić 868c66e1ed Added WebGPU. (#3544) 2026-01-10 04:09:39 +00:00
Branimir Karadžić 967f7629b6 Added WGSL shaders. (#3543) 2026-01-10 03:31:01 +00:00
Branimir Karadžić 509129b5d7 Rebuild shaders (#3537)
* shaderc: Removed instMul.

* Rebuilt shaders.
2026-01-09 06:41:06 +00:00
Бранимир Караџић d57bc8c46b Fixed ImGui ID issues. 2026-01-02 08:40:56 -08:00