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

Function visualFromID

server/glxvisual.cpp:787–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785
786
787XVisualInfo *visualFromID(Display *dpy, int screen, VisualID vid)
788{
789 XVisualInfo vtemp; int n = 0;
790 vtemp.visualid = vid;
791 vtemp.screen = screen;
792 return XGetVisualInfo(dpy, VisualIDMask | VisualScreenMask, &vtemp, &n);
793}
794
795
796VGLFBConfig *getFBConfigs(Display *dpy, int screen, int &nElements)

Callers 5

glXChooseVisualFunction · 0.85
glXCreatePixmapFunction · 0.85
glXGetVisualFromFBConfigFunction · 0.85
getVisualFromConfigFunction · 0.85
eglChooseConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected