Osiris icon indicating copy to clipboard operation
Osiris copied to clipboard

ImGui: Cherry-picked optimizations for OpenGL backend from master (possible fix for #3455)

Open mdilai opened this issue 2 years ago • 2 comments

Currently ImGUI is overall outdated, but OpenGL backend is especially outdated and based on one of the early releases. Because latest version is significantly different and incompatible with rest of Osiris imgui, i've decided to cherry-pick performance-impact commits from master branch to our version. As a bonus i've cherry-picked commits that enabling usage of SSE-powered ImRsqrt and ImRecip functions for imgui_draw.cpp calculations on both Windows and Linux.

mdilai avatar Dec 15 '21 06:12 mdilai

As a bonus i've cherry-picked commits that enabling usage of SSE-powered ImRsqrt and ImRecip functions for imgui_draw.cpp calculations on both Windows and Linux.

Is OpenGL even used on Windows?

mkot2 avatar Dec 18 '21 19:12 mkot2

As a bonus i've cherry-picked commits that enabling usage of SSE-powered ImRsqrt and ImRecip functions for imgui_draw.cpp calculations on both Windows and Linux.

Is OpenGL even used on Windows?

This referring to changes inside imgui_draw.cpp/imgui_internal.h, it's about general calculations, not drawing.

mdilai avatar Dec 19 '21 08:12 mdilai