How to draw opengl graphics from different threads?

后端 未结 3 2033
难免孤独
难免孤独 2021-01-13 15:12

I want to make an opengl application that shows some 3d graphics and a command-line. I would like to make them separate threads, because they both are heavy processes. I tho

3条回答
  •  逝去的感伤
    2021-01-13 15:59

    Its possible you can achieve what you want to do using Overlays.
    Overlays are a somewhat dated feature but it should still be supported in most setups. Basically an overlay is a separate GL Context which is rendered in the same window as another layer, drawing on top of whatever was drawn on the windows with its original context.
    You can read about it here.

提交回复
热议问题