Why use multiple OpenGL context

后端 未结 4 1850
清酒与你
清酒与你 2021-02-05 16:31

For rendering I have a current GL context associated with a window. In the case where the application renders multiple scenes (for example using accumulation or different viewpo

4条回答
  •  Happy的楠姐
    2021-02-05 16:42

    In GUI programs you can have multiple opengl views, where some of them run in the same thread as the GUI and others run in their own thread. Further more you can run opengl in offscreen mode. At least one context per thread.

    Not sure if it makes sense to have more contexts per thread.

提交回复
热议问题