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

Function glFinish

server/faker-gl.cpp:54–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52// following functions is called to signal the end of a frame.
53
54void glFinish(void)
55{
56 if(faker::getOGLExcludeCurrent() || faker::getEGLXContextCurrent())
57 {
58 _glFinish(); return;
59 }
60
61 TRY();
62
63 /////////////////////////////////////////////////////////////////////////////
64 if(fconfig.trace) vglout.print("[VGL] glFinish()\n");
65 /////////////////////////////////////////////////////////////////////////////
66
67 DISABLE_FAKER();
68
69 _glFinish();
70 fconfig.flushdelay = 0.;
71 doGLReadback(false, fconfig.sync);
72
73 CATCH();
74 ENABLE_FAKER();
75}
76
77
78void glFlush(void)

Callers 4

syncMethod · 0.85
readbackTestFunction · 0.85
RenderFunction · 0.85
writeTestFunction · 0.85

Calls 2

doGLReadbackFunction · 0.85
printMethod · 0.45

Tested by 1

writeTestFunction · 0.68