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

Method XVTrans

server/XVTrans.cpp:29–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28
29XVTrans::XVTrans(void) : thread(NULL), deadYet(false)
30{
31 for(int i = 0; i < NFRAMES; i++) frames[i] = NULL;
32 thread = new Thread(this);
33 thread->start();
34 profXV.setName("XV ");
35 profTotal.setName("Total ");
36 if(fconfig.verbose) fbxv_printwarnings(vglout.getFile());
37 #ifdef USEHELGRIND
38 ANNOTATE_BENIGN_RACE_SIZED(&deadYet, sizeof(bool), );
39 // NOTE: Without this line, helgrind reports a data race on the class
40 // instance address in the destructor (false positive?)
41 ANNOTATE_BENIGN_RACE_SIZED(this, sizeof(XVTrans *), );
42 #endif
43}
44
45
46void XVTrans::run(void)

Callers

nothing calls this directly

Calls 4

fbxv_printwarningsFunction · 0.85
setNameMethod · 0.80
getFileMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected