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

Function getCurrentDisplay

server/backend.cpp:392–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390
391
392Display *getCurrentDisplay(void)
393{
394 if(fconfig.egl)
395 {
396 FakePbuffer *pb = PBHASHEGL.find(getCurrentDrawableEGL());
397 return pb ? pb->getDisplay() : NULL;
398 }
399 else return _glXGetCurrentDisplay();
400}
401
402
403GLXDrawable getCurrentDrawable(void)

Callers 1

glViewportFunction · 0.85

Calls 2

getDisplayMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected