Why use multiple OpenGL context

后端 未结 4 1865
清酒与你
清酒与你 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条回答
  •  天命终不由人
    2021-02-05 16:46

    I usually tend to use additional contexts only when I absolutely have to, such as rendering to multiple GUI windows. For everything else, I use framebuffer objects or state changes.

    However, performance recommendations like this do not apply to all cases. If in doubt, you should measure your own application on your own hardware. gDEBugger might help, there's a trial version available.

提交回复
热议问题