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

Function get

common/frameut.cpp:97–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 Frame *get(void)
98 {
99 Frame *frame = frames[findex];
100 findex = (findex + 1) % NFRAMES;
101 if(thread) thread->checkError();
102 if(!deadYet) frame->waitUntilComplete();
103 if(thread) thread->checkError();
104 return frame;
105 }
106
107 void put(Frame *frame)
108 {

Callers 1

spoilMethod · 0.50

Calls 2

checkErrorMethod · 0.80
waitUntilCompleteMethod · 0.80

Tested by

no test coverage detected