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

Function RRTransSynchronize

server/testplugin2.cpp:151–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150
151int RRTransSynchronize(void *handle)
152{
153 _vgl_disableFaker();
154
155 int ret = 0;
156 try
157 {
158 X11Trans *trans = (X11Trans *)handle;
159 if(!trans) THROW("Invalid handle");
160 trans->synchronize();
161 }
162 catch(std::exception &e)
163 {
164 snprintf(errStr, MAXSTR + 14, "Error in %s -- %s", GET_METHOD(e),
165 e.what());
166 ret = -1;
167 }
168
169 _vgl_enableFaker();
170
171 return ret;
172}
173
174
175int 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