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

Function RRTransSynchronize

server/testplugin.cpp:178–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176
177
178int RRTransSynchronize(void *handle)
179{
180 _vgl_disableFaker();
181
182 int ret = 0;
183 try
184 {
185 VGLTrans *vglconn = (VGLTrans *)handle;
186 if(!vglconn) THROW("Invalid handle");
187 vglconn->synchronize();
188 }
189 catch(std::exception &e)
190 {
191 snprintf(errStr, MAXSTR + 14, "Error in %s -- %s", GET_METHOD(e),
192 e.what());
193 ret = -1;
194 }
195
196 _vgl_enableFaker();
197
198 return ret;
199}
200
201
202int RRTransSendFrame(void *handle, RRFrame *frame, int sync)

Callers

nothing calls this directly

Calls 4

whatMethod · 0.80
_vgl_disableFakerFunction · 0.70
_vgl_enableFakerFunction · 0.70
synchronizeMethod · 0.45

Tested by

no test coverage detected