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

Method getCurrentDisplay

server/GLXDrawableHash.h:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 Display *getCurrentDisplay(GLXDrawable draw)
65 {
66 if(!draw) THROW("Invalid argument");
67 GLXDrawableAttribs *attribs = HASH::find(draw, NULL);
68 if(attribs) return attribs->dpy;
69 return NULL;
70 }
71
72 void setEventMask(GLXDrawable draw, unsigned long eventMask)
73 {

Callers 7

glXCreateWindowFunction · 0.80
glXGetCurrentDisplayFunction · 0.80
glXGetSelectedEventFunction · 0.80
glXMakeCurrentFunction · 0.80
glXMakeContextCurrentFunction · 0.80
glXSelectEventFunction · 0.80
Fake_glXUseXFontFunction · 0.80

Calls 1

findFunction · 0.50

Tested by

no test coverage detected