Commit Graph

8249 Commits

Author SHA1 Message Date
Cedric Guillemet a3d52fab32
premultiplied backbuffer for UWP/SwapchainPanel (#2837)
* premultiplied backbuffer for UWP/SwapchainPanel

* init flag

* caps and feedback/opengl premul

* reduced #ifdef form

* removed ifdef
2022-07-18 09:23:57 -07:00
Бранимир Караџић 116cea9238 Fixed docs. 2022-07-17 06:48:04 -07:00
Бранимир Караџић 74b7a35efb Cleanup. 2022-07-16 09:46:16 -07:00
luzpaz c4f9d9e912
Fix typo in source (#2840)
treshold->threshold
2022-07-13 06:19:47 -07:00
luzpaz e7936efa6a
Fix typos (#2839)
Found via `codespell -q 3 -S ./3rdparty,*.ttf -L attribut,ba,clude,conly,indext,inout,lod,nclude,retur,struc,unknwn,utput`
2022-07-12 14:21:31 -07:00
Бранимир Караџић f06d7257b2 Fixed docs. 2022-07-11 05:45:02 -07:00
Бранимир Караџић d0a4672307 Cleanup. 2022-07-10 23:26:39 -07:00
Бранимир Караџић c066251750 Cleanup. 2022-07-10 20:46:11 -07:00
Бранимир Караџић 32192450c4 WebGL2: Fixed missing glReadBuffer import. 2022-07-10 19:03:28 -07:00
Бранимир Караџић af65cc0520 Updated glslang. 2022-07-10 10:49:30 -07:00
Бранимир Караџић 939e9233c8 Updated spirv-cross. 2022-07-10 10:49:20 -07:00
Бранимир Караџић 6c09cb564a Updated spirv-tools. 2022-07-10 10:49:09 -07:00
Бранимир Караџић 7f9cdba788 Updated spirv-headers. 2022-07-10 10:48:59 -07:00
Бранимир Караџић 05862b9695 Updated meshoptimizer. 2022-07-10 10:33:37 -07:00
Бранимир Караџић f9e9a56879 Updated cgltf. 2022-07-10 10:33:07 -07:00
Бранимир Караџић c2acc14216 Updated ImGui. 2022-07-10 10:30:36 -07:00
bdunkin f9ab3b5c68
Increase the buffer size if necessary before adding markers (#2838) 2022-07-08 11:46:03 -07:00
astrofra b38389f04e
Added a presentation of HARFANG 3D. (#2829)
* Added a presentation of HARFANG 3D to the readme file.

* Simplified the HARFANG description.
2022-06-27 00:00:18 -07:00
Gary Hsu db44d5675f
Fixes when running in WinRT (#2827)
* Use ResizeBuffers for WinRT

* Set maximum frame latency for WinRT

* Remove extra space
2022-06-23 22:13:38 -07:00
Бранимир Караџић 296ed0a81e Cleanup. 2022-06-20 21:16:17 -07:00
SnapperTT f8f394bdf2
Update callback.cpp (#2826) 2022-06-20 21:15:19 -07:00
SnapperTT a2268940bb
Fix #2824, gcc 12.1 build issues (#2825)
* Update shadowvolumes.cpp

* Update stencil.cpp
2022-06-20 08:10:10 -07:00
Бранимир Караџић a153458735 Cleanup. 2022-06-20 05:58:22 -07:00
Бранимир Караџић aaba3b3a5e Cleanup. 2022-06-20 04:39:25 -07:00
SnapperTT 498d0b6e54
Update nanovg_bgfx.cpp (#2823)
Fix the transient vertex buffer's overflow assert being fired. Now if the tvb is overflowed a warning is emitted and the draw is skipped
2022-06-20 04:37:59 -07:00
Бранимир Караџић 6d65944eda Updated docs. 2022-06-19 08:12:15 -07:00
Бранимир Караџић 2215e67ee1 Fixed ImGui assert. 2022-06-17 00:17:37 -07:00
Cedric Guillemet 607a775009
FS Quad/MSAA for GLES3 (#2820) 2022-06-15 07:44:25 -07:00
Cedric Guillemet f0cf1794e7
Fix MSAA with ARM Mali OpenGL ES (#2818)
* Fix MSAA with ARM Mali OpenGL ES

* indenting
2022-06-15 03:35:19 -07:00
Бранимир Караџић 6cf243f469 Cleanup. 2022-06-04 11:03:41 -07:00
Бранимир Караџић 05b60be3c2 Remove 17-drawstress from Emscripten build. 2022-06-02 12:03:01 -07:00
Catalin Moldovan 9204a536dd
Fixed indentation on zig wrapper functions and converted to uppercase 2D/3D (#2809) 2022-05-29 07:50:14 -07:00
Бранимир Караџић 664bb5ca21 39-assao: Rebuilt spir-v shaders. 2022-05-25 09:24:31 -07:00
Catalin Moldovan f0741047d8
more idiomatic zig bindings (#2804) 2022-05-22 18:43:03 -07:00
Бранимир Караџић 3d5d59e08c Updated vulkan headers. 2022-05-21 18:47:41 -07:00
Бранимир Караџић f294ee6858 Updated spirv-cross. 2022-05-21 18:47:14 -07:00
Бранимир Караџић 6bbda98efa Updated spirv-tools. 2022-05-21 18:47:06 -07:00
Бранимир Караџић a883ee37c3 Updated glslang. 2022-05-21 18:46:55 -07:00
Бранимир Караџић b8091498a3 Updated ImGui. 2022-05-21 18:06:58 -07:00
Бранимир Караџић 24765f8967 Cleanup. 2022-05-21 18:02:37 -07:00
Бранимир Караџић 05b9355ac2 Discard state before touch. Fixed issue #2803. 2022-05-21 08:48:24 -07:00
Branimir Karadžić 8e7774f735 Fixed build. 2022-05-17 11:30:10 -07:00
Julian Xhokaxhiu 89ae74122c
OpenGL: Enable sRGB texture format support for BC7 (#2800) 2022-05-17 10:54:37 -07:00
Бранимир Караџић 6601b01430 Cleanup. 2022-05-17 07:07:10 -07:00
Alexander Knorre 7b1d6a98a9
Compute kSortKeyViewNumBits automatically. (#2796)
Compute kSortKeyViewNumBits automatically via log2(BGFX_CONFIG_MAX_VIEWS), so that we could change BGFX_CONFIG_MAX_VIEWS to be above 2^10 = 1024 without changing the `bgfx` source code.
One possible problem with this approach is running out of bits, so maybe we could assert for that, I am not sure where to do it and how many bits we can use though.
Using `bx::uint32_cntlz` because `bx::log2` is not constexpr.
Tested on linux opengl with BGFX_CONFIG_MAX_VIEWS=4096, seems to work.
2022-05-15 19:24:53 -07:00
Бранимир Караџић 36be8a72cc Fixed blit key encoding. 2022-05-14 21:26:20 -07:00
Бранимир Караџић ae5706693f Cleanup. 2022-05-13 17:41:30 -07:00
Бранимир Караџић 8274f8a6e2 Updated vulkan headers. 2022-05-08 09:43:45 -07:00
Бранимир Караџић 189b020b90 Updated spirv-cross. 2022-05-08 09:43:45 -07:00
Бранимир Караџић 557b9743fb Updated spirv-tools. 2022-05-08 09:43:45 -07:00