osgearth icon indicating copy to clipboard operation
osgearth copied to clipboard

ImGui: Support OSG threading models other than SingleThreaded

Open gwaldron opened this issue 2 years ago • 1 comments

Some of the ImGui components do not work unless OSG is in SingleThreaded mode. SingleThreaded mode impacts performance; you can measure by running osgearth_viewer --novsync --SingleThreaded and checking the relative frame rates.

Task: Identify and update the non-working ImGui components so they work in DrawThreadPerContext et al.

gwaldron avatar Jul 16 '21 20:07 gwaldron

I think we can separate the pre draw imgui stuff and put it in an update traversal but leave the actual render call where it is.

jasonbeverage avatar Jul 16 '21 21:07 jasonbeverage