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

Function _vgl_getAutotestFrame

server/faker.cpp:358–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356
357
358int _vgl_getAutotestFrame(Display *dpy, Drawable d)
359{
360 if(faker::getAutotestDisplay() == dpy
361 && faker::getAutotestDrawable() == (long)d)
362 return faker::getAutotestFrame();
363
364 return -1;
365}
366
367// These functions allow image transport plugins or applications to temporarily
368// disable/re-enable the faker on a per-thread basis.

Callers 3

checkFrameFunction · 0.85
checkFrameFunction · 0.85
checkFrameFunction · 0.85

Calls

no outgoing calls

Tested by 1

checkFrameFunction · 0.68