Commit Graph

1004 Commits

Author SHA1 Message Date
Branimir Karadžić
f0ff45697b Fix include paths. (#3849) 2026-07-25 12:44:29 -07:00
Branimir Karadžić
ce18bdb6c6 Allow negative x/y in bgfx::setViewRect. (#3848) 2026-07-25 15:04:06 +00:00
Branimir Karadžić
ef73539985 GL: Added support for external texture. (#3839) 2026-07-17 20:44:37 +00:00
Branimir Karadžić
435627021d Added clear texture API. (#3836) 2026-07-16 05:41:58 +00:00
Branimir Karadžić
a4555482f9 Increased number of texcoord attributes, increased instance data, added int32/uint32 vertex attributes. (#3832) 2026-07-14 05:15:13 +00:00
Branimir Karadžić
6eb09a4a9b Added setImage with array layer range for compute images. (#3829) 2026-07-13 04:19:07 +00:00
Branimir Karadžić
7c6a7e5f00 D3D11/VK/Metal/GL: Fixed dangling framebuffer handle on destroy. (#3827) 2026-07-12 20:30:42 -07:00
Branimir Karadžić
7b38346442 Added stencil write mask. (#3821) 2026-07-11 23:46:38 -07:00
vrimar
aa176c7763 Compare layout handle in vertex-stream rebind gate (#3811)
The gate compares (handle, startVertex) but not the layout handle, so draws
colliding on startVertex with different-stride layouts wrongly skip the rebind.
Fix hasVertexStreamChanged() and OpenGL's inline copy. Matches #2562.
2026-07-04 14:31:07 +00:00
Branimir Karadžić
73629ada72 Dedup bindings per encoder. (#3772) 2026-06-20 05:22:12 +00:00
Branimir Karadžić
ba2177ac1d Fixed OOB stream access on setVertexCount draw. Closes #3762. (#3763) 2026-06-16 16:15:08 +00:00
Branimir Karadžić
1dac10c2ad Fixed transcoded texture update using wrong decode/copy pitch with explicit source pitch. (#3747) 2026-06-08 23:02:33 -07:00
Branimir Karadžić
5ce8af5d4f GL: Fix texture format conversion in TextureGL::update. Closes #2956. (#3738) 2026-06-07 09:29:29 -07:00
Branimir Karadžić
e92490c3f7 Added _layer parameter to bgfx::readTexture for texture array/cubemap readback. Closes #3235. (#3737) 2026-06-07 09:22:37 -07:00
Branimir Karadžić
2962f60576 GL, Metal: Honor stream vertex layout override when computing auto vertex count. Follow up to PR #3250. (#3731) 2026-06-06 20:51:45 -07:00
Branimir Karadžić
91805892e9 Unified StateCache implementation. (#3729) 2026-06-06 18:19:56 -07:00
Branimir Karadžić
11151de78d Added setTexture view API. (#3728) 2026-06-06 17:34:02 +00:00
Branimir Karadžić
7b8927049a Fix updateTexture2D pitch handling for compressed textures. Fixed #3705. (#3722) 2026-06-02 04:22:46 +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ć
50bf41b224 Fixed stremMask check. (#3682) 2026-04-21 11:21:40 -07:00
Branimir Karadžić
0b0ddb7f6b Added generate mips on frame buffer resolve. (#3664) 2026-04-17 05:04:57 +00:00
Branimir Karadžić
cc109f587b GLES: Fixed D32 RBO format. (#3662) 2026-04-14 03:59:42 +00:00
Branimir Karadžić
2e49e0e38a GLES: Fixed ANGLE issues. (#3658) 2026-04-10 04:05:34 +00:00
Branimir Karadžić
a73c12db8f Added bgfx::AttribType::Int8/Uint16. (#3626) 2026-03-09 06:13:51 +00:00
Branimir Karadžić
91814c9729 Added flag for texture formats that can be used as back-buffer format. (#3605) 2026-02-22 02:44:26 +00:00
Branimir Karadžić
856208328c Use back buffer format when capturing screen shot. (#3603) 2026-02-20 00:46:41 +00:00
Branimir Karadžić
40e614c45d Added external texture parameter. (#3596)
* Added external texture parameter.

* Use uint64_t instead of uintptr_t for external texture because VkImage is always 64-bit.
2026-02-18 20:12:37 +00:00
Branimir Karadžić
4baed6e076 Happy New Year! (#3550) 2026-01-14 16:26:51 +00:00
Branimir Karadžić
241e9c3330 Added Init.fallback option. Cleanup. (#3522) 2025-12-24 04:29:32 +00:00
Branimir Karadžić
23410d248c Fixed build.a (#3513) 2025-12-13 20:46:12 +00:00
Branimir Karadžić
f510ab6db8 Cleanup. (#3501) 2025-11-20 03:13:42 +00:00
attilaz
c4e0a433f0 gl renderer: Fixed BGFX_RESET_MAXANISOTROPY change (#3494) 2025-11-13 14:38:57 +00:00
attilaz
1aee4faf0f gl renderer: Fixed etc2 srgb formats (#3493) 2025-11-13 14:38:28 +00:00
Branimir Karadžić
9e8ecf4af4 Added EAC texture formats. (#3487) 2025-11-11 08:39:24 -08:00
Branimir Karadžić
35911ac2d9 Added uniform frequency. (#3485)
* Added uniform frequency.

* Cleanup.

* Cleanup.
2025-11-10 23:41:33 +00:00
Branimir Karadžić
5d8eb6d67c Cleanup. 2025-10-31 08:44:02 -07:00
Бранимир Караџић
fb27483652 Cleanup. 2025-10-31 07:03:44 -07:00
ProPuke
df53a7ca84 Fixed: BGFX_TEXTURE_MSAA_SAMPLE and msaa sampling bugs with gl (#3351)
* fixed: multiple BGFX_TEXTURE_MSAA_SAMPLE attachments could not be present in a framebuffer at once (sample locations were not fixed)
I've just set the sample location as always fixed for now, although technically this can be false if only 1 msaa texture attachment is present

* fixed: framebuffer with a resolved msaa AND a sample msaa at the same time would result in an invalid framebuffer
it would try to also resolve the sample-msaa texture at the same, leading to an invalid target type

* fixed: depth attachments could not be sample-msaa
this is valid, they don't resolving

* fixed: shader error sampking msaa textures in gl
parameter duplication on texelFetch(sampler2DMS,*) led to failed shaders
2025-10-30 00:29:36 +00:00
Бранимир Караџић
959cab248e Added ability to configure backbuffer depth/stencil. 2025-10-29 12:10:41 -07:00
Бранимир Караџић
cd3749dac9 Cleanup. 2025-10-25 22:18:15 -07:00
Gary Hsu
e7c2c69edb Add optional layerIndex argument to overrideInternal (#3477)
* Add optional layerIndex argument to overrideInternal

* Run genie idl
2025-10-26 05:12:34 +00:00
Branimir Karadžić
f3cab4d2d8 Detect nVidia Nsight debugger presence. 2025-10-23 10:06:24 -07:00
Mike
c733598edb Fix #3464 (#3465) 2025-09-26 00:43:04 +00:00
Branimir Karadžić
f268ce5c96 Update assert API to latest bx. 2025-08-23 09:21:18 -07:00
Matt Tytel
2b1c73f348 Fix only one frame rendered in mobile opengles with intermediate frame buffer (#3405) 2025-01-30 10:13:02 -08:00
Martijn Courteaux
abe193a407 Fix UniformBuffer UB regarding UniformType::Enum with extra bits. (#3398) 2025-01-28 09:58:22 -08:00
Бранимир Караџић
860bafb23f Happy New Year! 2025-01-13 15:45:40 -08:00
Бранимир Караџић
896c610b72 Removing alloca compat include. 2024-12-21 19:25:00 -08:00
Бранимир Караџић
042ebe8814 Cleanup. 2024-12-07 22:49:45 -08:00