Files
bgfx/examples
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
..
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-04-01 20:09:16 -07:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2019-02-26 23:24:48 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-04-07 20:07:28 -07:00
2021-01-14 15:53:49 -08:00
2021-01-14 15:53:49 -08:00
2021-04-18 21:16:56 -07:00
2020-12-17 19:47:44 -08:00
2021-02-04 20:35:37 -08:00
2021-02-04 20:35:37 -08:00