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

Function RRTransReady

server/testplugin2.cpp:127–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125
126
127int RRTransReady(void *handle)
128{
129 _vgl_disableFaker();
130
131 int ret = -1;
132 try
133 {
134 X11Trans *trans = (X11Trans *)handle;
135 if(!trans) THROW("Invalid handle");
136 ret = (int)trans->isReady();
137 }
138 catch(std::exception &e)
139 {
140 snprintf(errStr, MAXSTR + 14, "Error in %s -- %s", GET_METHOD(e),
141 e.what());
142 ret = -1;
143 }
144
145 _vgl_enableFaker();
146
147 return ret;
148}
149
150
151int 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