Commit Graph

8580 Commits

Author SHA1 Message Date
Бранимир Караџић
a3f67b6a04 Updated Khronos headers. 2023-09-04 08:26:39 -07:00
Бранимир Караџић
e2ec438633 Updated meshoptimizer. 2023-09-04 08:25:36 -07:00
Бранимир Караџић
525c89ced0 Updated spirv-cross. 2023-09-04 08:25:27 -07:00
Бранимир Караџић
14ebd15e2d Updated spirv-tools. 2023-09-04 08:25:15 -07:00
Бранимир Караџић
04b0560edb Updated spirv-headers. 2023-09-04 08:25:04 -07:00
Бранимир Караџић
cc33a884ff Updated glslang. 2023-09-04 08:24:44 -07:00
Бранимир Караџић
635381293b Updated ImGui. 2023-09-04 08:24:33 -07:00
Markus Stephanides
17ab1e2a62
Update Makefile and Build Docs from VS2017 to VS2019 (#3170)
* Update build.rst

* Update makefile
2023-09-03 12:06:01 -07:00
Hristo Iliev
98f16cd125
Fix an issue where initializing DX11 headless would cause a crash. (#3164) 2023-08-29 05:07:37 +02:00
Nuno Silva
b68dc2b13e
Fix Native Window Type IDL/Bindings; (#3163) 2023-08-26 20:50:34 +02:00
Julian Sikorski
c18122226e
Fix multiple windows handling (#3162) 2023-08-22 19:12:11 +02:00
Бранимир Караџић
12d6f20880 Updated README. 2023-08-19 10:16:23 +02:00
Бранимир Караџић
5f564db0d5 macOS: Fixed deprecated warnings. 2023-08-18 09:17:17 +02:00
Julian Sikorski
0758191563
Use WL_EGL_PLATFORM consistently with Khronos (#3161) 2023-08-17 22:12:14 +02:00
Julian Sikorski
ec84ed60fc
Use BX_UNUSED for cases where Wayland is not an option (#3160) 2023-08-17 21:42:26 +02:00
Бранимир Караџић
cbfea75cfd Cleanup. 2023-08-17 19:28:22 +02:00
Julian Sikorski
f4d463990a
Allow simultaneous X11 and Wayland support (#3152)
* Allow simultaneous X11 and Wayland support

* Add NativeWindowHandleType

* Set default value for g_platformData.type

* Use g_platformData.type to check for a native Wayland window

* Stub getNativeWindowHandleType on platform where Wayland is not an option

* Implement getNativeWindowHandleType for GLFW

* Add getNativeWindowHandleType to the remaining C++ examples

* Add getNativeWindowHandleType to the C example
2023-08-17 16:54:31 +02:00
Jamil Halabi
a16f603e3c
A follow up fix for the PrimitiveID capability (#3159)
* Added a new capability to check for PrimitiveID support

* A fix for PrimitiveID capability not listed in the debug log
2023-08-15 11:33:33 +02:00
Бранимир Караџић
82b70a0230 Cleanup. 2023-08-15 09:27:39 +02:00
Jamil Halabi
64e83a0ec2
Fixed creating MoltenVk surface with agnostic backends such as SDL2 (#3158) 2023-08-15 09:21:25 +02:00
Jamil Halabi
f059531885
Added a new capability to check for PrimitiveID support (#3154) 2023-08-04 16:42:33 +02:00
Julian Sikorski
3101a0d93f
Fix Vulkan renderer on wayland (#3143)
* Initial proof-of-concept of vulkan renderer working on wayland

* Get wayland surface from the window handle
2023-08-02 06:01:54 +02:00
Julian Sikorski
8b6a6bdf0e
Fix building for glfw and wayland (#3151)
Co-authored-by: Julian Sikorski <belegdol@fedoraproject.org>
2023-07-31 07:14:04 -07:00
Бранимир Караџић
2d66d7875f Updated spirv-cross. 2023-07-30 16:29:11 -07:00
Бранимир Караџић
efb7f66a0e Updated spirv-tools. 2023-07-30 16:29:11 -07:00
Бранимир Караџић
d15c26db2a Updated spirv-headers. 2023-07-30 16:29:11 -07:00
Бранимир Караџић
b471939ffb Updated glslang. 2023-07-30 16:29:11 -07:00
Бранимир Караџић
533a1456fc Updated meshoptimizer. 2023-07-30 16:29:11 -07:00
Бранимир Караџић
c25f5c054b Updated ImGui. 2023-07-30 16:29:11 -07:00
Kitchen
20a1e458da
make TimerQueryMtl.m_result match BGFX_CONFIG_MAX_VIEWS size (#3148)
* fix error when create backbuffer with msaa and srgb format

* fix d3d12 error when create backbuffer with msaa and srgb format

* fix TimerQueryMtl result bug
2023-07-28 15:56:28 -07:00
Robin Allen
506da0443c
Metal: Fix framebuffer hash ignoring sampleCount (#3140) 2023-07-21 18:03:30 -07:00
Robin Allen
c8f6d89f88
Fix MSAA texture pointer not being freed (#3138)
Texture::destroy only freed m_ptr, not m_ptrMsaa. This caused
problems when texture IDs were reused, because a newly-
created texture would sometimes have m_ptrMsaa.
2023-07-20 08:29:47 -07:00
Robin Allen
a50db8f8fd
Fix toggling MSAA on Metal. (#3137)
* Fix toggling MSAA on Metal.

m_backBufferColorMsaa was set when sampleCount > 1, but was never reset when
sampleCount became 1 again.

Many other bits of code in the Metal renderer decide what to do by checking
m_backBufferColorMsaa, so these would all do the wrong thing if you toggled
MSAA on and them back off.

* Cleanup
2023-07-20 08:29:24 -07:00
Бранимир Караџић
485a258077 Updated version. 2023-07-19 20:54:37 -07:00
IchorDev
878767e751
Culled D bindings for header-only C++ functions (#3130)
* Reformatted comments; fixed a couple of oversights

* D bindings: deterministic sub-struct order

* Added missing default to IDL

* Fixed sub-struct linkage; regenerate D binds

* Culled D bindings for header-only C++ functions

* Added missing default to bgfx.idl

* cppinline now supported by all auto-gen bindings

The pattern "func.cppinline and not func.conly" is to make sure that C bindings for `bgfx_vertex_layout_has` are still generated.
2023-07-19 20:53:42 -07:00
Бранимир Караџић
faf69bbe20 Updated ImGui. 2023-07-14 17:43:13 -07:00
Бранимир Караџић
2d80545bb7 Updated spirv-cross. 2023-07-14 17:42:09 -07:00
Бранимир Караџић
9ba15cd473 Updated spirv-tools. 2023-07-14 17:41:59 -07:00
Бранимир Караџић
9ef1db93d9 Updated spirv-headers. 2023-07-14 17:41:47 -07:00
Бранимир Караџић
3d25ee9228 Updated glslang. 2023-07-14 17:41:34 -07:00
Бранимир Караџић
21c22d941c Cleanup. 2023-07-14 17:07:58 -07:00
IchorDev
c3dab115a8
D bindings: deterministic sub-struct order (#3127)
* Reformatted comments; fixed a couple of oversights

* D bindings: deterministic sub-struct order

* Added missing default to IDL

* Fixed sub-struct linkage; regenerate D binds
2023-07-09 08:11:39 -07:00
Бранимир Караџић
c3b5b55a86 Updated docs. 2023-07-08 19:38:32 -07:00
Бранимир Караџић
065f6ddc66 VK: Fixed device selection. 2023-07-07 22:47:12 -07:00
Бранимир Караџић
356c59dbf5 VK: Fixed selecting software rasterizer on Mesa. 2023-07-07 22:19:15 -07:00
IchorDev
d485a56f61
Reformatted comments; fixed a couple of oversights (#3125) 2023-07-07 12:40:22 -07:00
issam3105
e2c5b1d3e1
Fixed EGL library name on Linux (#3122)
* Fixed EGL library name on Linux

* Cleanup.

---------

Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2023-07-04 09:11:07 -07:00
Бранимир Караџић
e78fc5e6b6 Updated version number. 2023-07-01 08:38:29 -07:00
Бранимир Караџић
b2faea00bb Updated IDL. 2023-07-01 08:37:33 -07:00
Бранимир Караџић
4edaf2f21d Updated vulkan headers. 2023-07-01 08:37:19 -07:00