Commit Graph
371 Commits
Author SHA1 Message Date
Бранимир Караџић 466c6a4e95 Happy New Year! 2023-01-14 10:05:12 -08:00
Бранимир Караџић 43296d6f3f Cleanup. 2022-12-12 07:53:08 -08:00
Бранимир Караџић 7d323e84f3 Updated ImGui. 2022-08-06 22:28:07 -07:00
Бранимир Караџић 8f96b8ade7 Cleanup. 2022-02-11 08:15:04 -08:00
pezcode 88a6317a93 Switch to imgui IO event API (#2726)
Added in imgui 1.87
2022-02-11 08:12:27 -08:00
pezcode 841ab98cfa Imgui fixes (#2720)
* Pass Meta key modifier to ImGui

* Use index offset provided by ImGui

* Use vertex offset provided by ImGui

We need to tell ImGui we can support per-draw vertex offsets. Useful for
complex widgets like implot.
2022-02-06 17:31:27 -08:00
Бранимир Караџић 4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Бранимир Караџић e0d26507dc Added BGFX_CONFIG_ENCODER_API_ONLY configuration setting to enable/disable non-encoder API. 2021-06-11 08:05:58 -07:00
Branimir Karadžić f569fe32a6 Rebuilt all embedded shaders. 2021-06-06 14:51:46 -07:00
Бранимир Караџић c42a3a5d4d Cleanup. 2021-05-08 07:29:50 -07:00
Daniel Collin c9bf791eaa Fixed multiview issues with dear imgui (#2511)
When using the multview / docking feature of dear imgui (availible on the main repo in the docking branch) dear imgui will use desktop relative coordinates instead of window relative. This causing the rendering to get "offseted" if not handled correctly.
Before this change the rendering matrix wasn't used at all and this has now been changed in the vertex shader.

Notice this change is fully backwards compatible with the relative windows as well as the upper left corner will always be set to 0,0 in that case thus this change will work with both versions.

I also added some changes to skip rendering if not needed (based on the the other backend implementations for dear imgui such as the OpenGL one)
2021-05-08 07:26:06 -07:00
Hugo Amnov a176685a2c Cleanup imgui shaders (#2479)
* Remove unused Imgui shaders

* Cleanup Imgui shaders position attribute
2021-04-18 12:58:00 -07:00
Бранимир Караџић c3b8ec0dd0 Revert "Cleanup imgui shaders (#2476)"
This reverts commit 01b7fc0105.
2021-04-18 11:43:51 -07:00
Hugo Amnov 01b7fc0105 Cleanup imgui shaders (#2476)
* Remove unused Imgui shaders

* Cleanup Imgui shaders position attribute
2021-04-18 11:39:42 -07:00
Бранимир Караџић 1fb245c581 Cleanup. 2021-04-02 12:51:59 -07:00
Бранимир Караџић 0df2e90edb Cleanup. 2021-04-01 20:09:16 -07:00
Бранимир Караџић af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Бранимир Караџић ed48498911 Disabled imguizmo is over test. 2020-12-28 12:57:46 -08:00
Бранимир Караџић 197c1ced3b Included ImGuizmo to ImGui::MouseOverArea test. 2020-12-27 21:28:07 -08:00
Бранимир Караџић 4224dcf2b2 Cleanup. 2020-12-20 22:42:16 -08:00
Branimir Karadžić 5c304dad3b Fixed issue #2330. Added support for 32-bit indices in transient index buffer. 2020-12-15 19:01:25 -08:00
Hugo Amnov b48b084d25 Vulkan cleanup for Webgpu (#2127)
* Harmonize and simplify Vulkan SPIRV bindings mappings

* Handle Vulkan V-flip properly

* Update Embedded shaders
2020-05-03 13:54:30 -07:00
Бранимир Караџић d05a139ae8 Cleanup. 2020-02-06 20:09:38 -08:00
Бранимир Караџић 82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Leandro Freire 1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Leandro Freire 855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
Бранимир Караџић 73362c3989 Rebuilt shaders. 2019-08-10 10:26:00 -07:00
Rinthel Kwon 6927a9179b vulkan renderer draft implementation 2019-08-04 19:51:16 -07:00
Бранимир Караџић d7d74c19c6 Cleanup. 2019-07-17 21:45:17 -07:00
Cloud Wu af31aaaa4c AddInputCharacter can handle Unicode 2019-05-10 16:05:32 +08:00
Cloud Wu 676ceb1a2d unicode inputChar support for imguiBeginFrame 2019-05-06 20:34:13 +08:00
Бранимир Караџић 1198f73af1 Removed Scintilla. 2019-04-16 19:16:09 -07:00
Branimir Karadžić b0f0514f86 Rebuilt embedded shaders. 2019-01-22 21:02:34 -08:00
Бранимир Караџић 0df9a005fa Cleanup. 2019-01-14 19:08:49 -08:00
Бранимир Караџић 3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Branimir Karadžić 83b1ece243 Rebuilt shaders. 2018-09-19 20:35:53 -07:00
Branimir Karadžić db0ec1f5db Removed HMD API and OculusVR support. 2018-07-19 20:22:21 -07:00
Branimir Karadžić 0d502588d0 Removed ViewId style from ImGui. 2018-05-09 08:01:29 -07:00
Branimir Karadžić e74a5d7843 Renamed ocornut-imgui to dear-imgui. 2018-05-06 08:57:48 -07:00
Branimir Karadžić 0c405fc256 shaderc: Fixed SPIRV uniform offsets. 2018-04-14 10:30:00 -07:00
Branimir Karadžić 45918a4e81 Updated shaders. 2018-04-12 20:45:33 -07:00
Branimir Karadžić ab46f3f353 Rebuild embedded shaders. 2018-04-11 21:14:22 -07:00
Branimir Karadžić 93a1c8171a Cleanup. 2018-04-08 20:12:49 -07:00
Branimir Karadžić 5ecd605107 Updated shaders. 2018-03-17 21:56:54 -07:00
Branimir Karadžić 3798bb7105 Updated ImGui. 2018-02-16 18:21:19 -08:00
Branimir Karadžić 584b8b34f0 Added support for independent RGB channel write control. 2018-02-13 12:35:23 -08:00
Branimir Karadžić c6f03ab6a3 Cleanup. 2018-02-06 21:39:50 -08:00
Branimir Karadžić adfe3b002b Cleanup. 2018-02-06 21:35:36 -08:00
Branimir Karadžić e8658e7c06 Cleanup. 2018-02-06 21:33:50 -08:00