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

Function RRTransReady

server/testplugin.cpp:154–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154int RRTransReady(void *handle)
155{
156 _vgl_disableFaker();
157
158 int ret = -1;
159 try
160 {
161 VGLTrans *vglconn = (VGLTrans *)handle;
162 if(!vglconn) THROW("Invalid handle");
163 ret = (int)vglconn->isReady();
164 }
165 catch(std::exception &e)
166 {
167 snprintf(errStr, MAXSTR + 14, "Error in %s -- %s", GET_METHOD(e),
168 e.what());
169 ret = -1;
170 }
171
172 _vgl_enableFaker();
173
174 return ret;
175}
176
177
178int RRTransSynchronize(void *handle)

Callers

nothing calls this directly

Calls 4

whatMethod · 0.80
_vgl_disableFakerFunction · 0.70
_vgl_enableFakerFunction · 0.70
isReadyMethod · 0.45

Tested by

no test coverage detected