20,741
edits
m (→Swap Buffers: this is going to be relevant for Qt5 based PUI replacement in the future) |
|||
Line 235: | Line 235: | ||
buffers across multiple graphics contexts that allows you to assigns | buffers across multiple graphics contexts that allows you to assigns | ||
contexts to swap groups<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg32951.html</ref> | contexts to swap groups<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg32951.html</ref> | ||
some graphics drivers will do swap buffers in sequence if you have | |||
multiple windows being rendered too, with each swap doing a vsync, | |||
which ends up with each window blocking till the end of each screen | |||
refresh. Use of the swap groups extension would be one way around | |||
this issue<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg22273.html</ref> | |||
The GraphicsContext::swapBuffers() is | |||
normally what does the swap buffers and then calls | |||
GraphicsContext::clear(), with GraphicsWindowEmbedded::swapBuffers() | |||
it's a non op, because there is no way it can do a swap buffers as it | |||
doesn't actually know about a real graphics context.<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg21395.html</ref> | |||
=== Image Sharing === | === Image Sharing === |