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

Method sendFrame

server/X11Trans.cpp:159–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158
159void X11Trans::sendFrame(FBXFrame *f, bool sync)
160{
161 if(thread) thread->checkError();
162 if(sync)
163 {
164 profBlit.startFrame();
165 f->redraw();
166 f->signalComplete();
167 profBlit.endFrame(f->hdr.width * f->hdr.height, 0, 1);
168 ready.signal();
169 }
170 else q.spoil((void *)f, __X11Trans_spoilfct);
171}

Callers

nothing calls this directly

Calls 7

checkErrorMethod · 0.80
startFrameMethod · 0.80
signalCompleteMethod · 0.80
endFrameMethod · 0.80
signalMethod · 0.80
spoilMethod · 0.80
redrawMethod · 0.45

Tested by

no test coverage detected