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

Method sendFrame

server/XVTrans.cpp:149–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147
148
149void XVTrans::sendFrame(XVFrame *f, bool sync)
150{
151 if(thread) thread->checkError();
152 if(sync)
153 {
154 profXV.startFrame();
155 f->redraw();
156 f->signalComplete();
157 profXV.endFrame(f->hdr.width * f->hdr.height, 0, 1);
158 ready.signal();
159 }
160 else q.spoil((void *)f, __XVTrans_spoilfct);
161}

Callers 8

sendPluginMethod · 0.45
sendVGLMethod · 0.45
sendX11Method · 0.45
sendXVMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
RRTransSendFrameFunction · 0.45
RRTransSendFrameFunction · 0.45

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 2

RRTransSendFrameFunction · 0.36
RRTransSendFrameFunction · 0.36