MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / swap

Method swap

server/VirtualDrawable.cpp:209–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207
208
209void VirtualDrawable::OGLDrawable::swap(void)
210{
211 if(edpy != EGL_NO_DISPLAY) return;
212 if(isPixmap)
213 _glXSwapBuffers(DPY3D, glxDraw);
214 else
215 backend::swapBuffers(dpy, glxDraw);
216}
217
218
219// This class encapsulates the relationship between an X11 drawable and the

Callers

nothing calls this directly

Calls 1

swapBuffersFunction · 0.85

Tested by

no test coverage detected