Lines Matching refs:dpy
91 get_dispatch(Display *dpy) in get_dispatch() argument
93 if (!dpy) in get_dispatch()
100 if (d->Dpy == dpy) { in get_dispatch()
101 prevDisplay = dpy; in get_dispatch()
117 d->Dpy = dpy; in get_dispatch()
123 prevDisplay = dpy; in get_dispatch()
156 glXChooseVisual(Display *dpy, int screen, int *list) in glXChooseVisual() argument
159 GET_DISPATCH(dpy, t); in glXChooseVisual()
162 return t->ChooseVisual(dpy, screen, list); in glXChooseVisual()
167 glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, unsigned long mask) in glXCopyContext() argument
170 GET_DISPATCH(dpy, t); in glXCopyContext()
173 t->CopyContext(dpy, src, dst, mask); in glXCopyContext()
178 glXCreateContext(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct) in glXCreateContext() argument
181 GET_DISPATCH(dpy, t); in glXCreateContext()
184 return t->CreateContext(dpy, visinfo, shareList, direct); in glXCreateContext()
189 glXCreateGLXPixmap(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap) in glXCreateGLXPixmap() argument
192 GET_DISPATCH(dpy, t); in glXCreateGLXPixmap()
195 return t->CreateGLXPixmap(dpy, visinfo, pixmap); in glXCreateGLXPixmap()
200 glXDestroyContext(Display *dpy, GLXContext ctx) in glXDestroyContext() argument
203 GET_DISPATCH(dpy, t); in glXDestroyContext()
206 t->DestroyContext(dpy, ctx); in glXDestroyContext()
211 glXDestroyGLXPixmap(Display *dpy, GLXPixmap pixmap) in glXDestroyGLXPixmap() argument
214 GET_DISPATCH(dpy, t); in glXDestroyGLXPixmap()
217 t->DestroyGLXPixmap(dpy, pixmap); in glXDestroyGLXPixmap()
222 glXGetConfig(Display *dpy, XVisualInfo *visinfo, int attrib, int *value) in glXGetConfig() argument
225 GET_DISPATCH(dpy, t); in glXGetConfig()
228 return t->GetConfig(dpy, visinfo, attrib, value); in glXGetConfig()
251 glXIsDirect(Display *dpy, GLXContext ctx) in glXIsDirect() argument
254 GET_DISPATCH(dpy, t); in glXIsDirect()
257 return t->IsDirect(dpy, ctx); in glXIsDirect()
262 glXMakeCurrent(Display *dpy, GLXDrawable drawable, GLXContext ctx) in glXMakeCurrent() argument
266 GET_DISPATCH(dpy, t); in glXMakeCurrent()
270 b = t->MakeCurrent(dpy, drawable, ctx); in glXMakeCurrent()
276 glXQueryExtension(Display *dpy, int *errorb, int *event) in glXQueryExtension() argument
279 GET_DISPATCH(dpy, t); in glXQueryExtension()
282 return t->QueryExtension(dpy, errorb, event); in glXQueryExtension()
287 glXQueryVersion(Display *dpy, int *maj, int *min) in glXQueryVersion() argument
290 GET_DISPATCH(dpy, t); in glXQueryVersion()
293 return t->QueryVersion(dpy, maj, min); in glXQueryVersion()
298 glXSwapBuffers(Display *dpy, GLXDrawable drawable) in glXSwapBuffers() argument
301 GET_DISPATCH(dpy, t); in glXSwapBuffers()
304 t->SwapBuffers(dpy, drawable); in glXSwapBuffers()
312 Display *dpy = glXGetCurrentDisplay(); in glXUseXFont() local
313 GET_DISPATCH(dpy, t); in glXUseXFont()
324 Display *dpy = glXGetCurrentDisplay(); in glXWaitGL() local
325 GET_DISPATCH(dpy, t); in glXWaitGL()
336 Display *dpy = glXGetCurrentDisplay(); in glXWaitX() local
337 GET_DISPATCH(dpy, t); in glXWaitX()
348 glXGetClientString(Display *dpy, int name) in glXGetClientString() argument
351 GET_DISPATCH(dpy, t); in glXGetClientString()
354 return t->GetClientString(dpy, name); in glXGetClientString()
359 glXQueryExtensionsString(Display *dpy, int screen) in glXQueryExtensionsString() argument
362 GET_DISPATCH(dpy, t); in glXQueryExtensionsString()
365 return t->QueryExtensionsString(dpy, screen); in glXQueryExtensionsString()
370 glXQueryServerString(Display *dpy, int screen, int name) in glXQueryServerString() argument
373 GET_DISPATCH(dpy, t); in glXQueryServerString()
376 return t->QueryServerString(dpy, screen, name); in glXQueryServerString()
396 glXChooseFBConfig(Display *dpy, int screen, const int *attribList, int *nitems) in glXChooseFBConfig() argument
399 GET_DISPATCH(dpy, t); in glXChooseFBConfig()
402 return t->ChooseFBConfig(dpy, screen, attribList, nitems); in glXChooseFBConfig()
407 glXCreateNewContext(Display *dpy, GLXFBConfig config, int renderType, GLXContext shareList, Bool di… in glXCreateNewContext() argument
410 GET_DISPATCH(dpy, t); in glXCreateNewContext()
413 return t->CreateNewContext(dpy, config, renderType, shareList, direct); in glXCreateNewContext()
418 glXCreatePbuffer(Display *dpy, GLXFBConfig config, const int *attribList) in glXCreatePbuffer() argument
421 GET_DISPATCH(dpy, t); in glXCreatePbuffer()
424 return t->CreatePbuffer(dpy, config, attribList); in glXCreatePbuffer()
429 glXCreatePixmap(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList) in glXCreatePixmap() argument
432 GET_DISPATCH(dpy, t); in glXCreatePixmap()
435 return t->CreatePixmap(dpy, config, pixmap, attribList); in glXCreatePixmap()
440 glXCreateWindow(Display *dpy, GLXFBConfig config, Window win, const int *attribList) in glXCreateWindow() argument
443 GET_DISPATCH(dpy, t); in glXCreateWindow()
446 return t->CreateWindow(dpy, config, win, attribList); in glXCreateWindow()
451 glXDestroyPbuffer(Display *dpy, GLXPbuffer pbuf) in glXDestroyPbuffer() argument
454 GET_DISPATCH(dpy, t); in glXDestroyPbuffer()
457 t->DestroyPbuffer(dpy, pbuf); in glXDestroyPbuffer()
462 glXDestroyPixmap(Display *dpy, GLXPixmap pixmap) in glXDestroyPixmap() argument
465 GET_DISPATCH(dpy, t); in glXDestroyPixmap()
468 t->DestroyPixmap(dpy, pixmap); in glXDestroyPixmap()
473 glXDestroyWindow(Display *dpy, GLXWindow window) in glXDestroyWindow() argument
476 GET_DISPATCH(dpy, t); in glXDestroyWindow()
479 t->DestroyWindow(dpy, window); in glXDestroyWindow()
492 glXGetFBConfigAttrib(Display *dpy, GLXFBConfig config, int attribute, int *value) in glXGetFBConfigAttrib() argument
495 GET_DISPATCH(dpy, t); in glXGetFBConfigAttrib()
498 return t->GetFBConfigAttrib(dpy, config, attribute, value); in glXGetFBConfigAttrib()
503 glXGetFBConfigs(Display *dpy, int screen, int *nelements) in glXGetFBConfigs() argument
506 GET_DISPATCH(dpy, t); in glXGetFBConfigs()
509 return t->GetFBConfigs(dpy, screen, nelements); in glXGetFBConfigs()
513 glXGetSelectedEvent(Display *dpy, GLXDrawable drawable, unsigned long *mask) in glXGetSelectedEvent() argument
516 GET_DISPATCH(dpy, t); in glXGetSelectedEvent()
519 t->GetSelectedEvent(dpy, drawable, mask); in glXGetSelectedEvent()
524 glXGetVisualFromFBConfig(Display *dpy, GLXFBConfig config) in glXGetVisualFromFBConfig() argument
527 GET_DISPATCH(dpy, t); in glXGetVisualFromFBConfig()
530 return t->GetVisualFromFBConfig(dpy, config); in glXGetVisualFromFBConfig()
535 glXMakeContextCurrent(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) in glXMakeContextCurrent() argument
539 GET_DISPATCH(dpy, t); in glXMakeContextCurrent()
542 b = t->MakeContextCurrent(dpy, draw, read, ctx); in glXMakeContextCurrent()
548 glXQueryContext(Display *dpy, GLXContext ctx, int attribute, int *value) in glXQueryContext() argument
551 GET_DISPATCH(dpy, t); in glXQueryContext()
555 return t->QueryContext(dpy, ctx, attribute, value); in glXQueryContext()
560 glXQueryDrawable(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value) in glXQueryDrawable() argument
563 GET_DISPATCH(dpy, t); in glXQueryDrawable()
566 t->QueryDrawable(dpy, draw, attribute, value); in glXQueryDrawable()
571 glXSelectEvent(Display *dpy, GLXDrawable drawable, unsigned long mask) in glXSelectEvent() argument
574 GET_DISPATCH(dpy, t); in glXSelectEvent()
577 t->SelectEvent(dpy, drawable, mask); in glXSelectEvent()
588 Display *dpy = glXGetCurrentDisplay(); in glXSwapIntervalSGI() local
589 GET_DISPATCH(dpy, t); in glXSwapIntervalSGI()
603 Display *dpy = glXGetCurrentDisplay(); in glXGetVideoSyncSGI() local
604 GET_DISPATCH(dpy, t); in glXGetVideoSyncSGI()
614 Display *dpy = glXGetCurrentDisplay(); in glXWaitVideoSyncSGI() local
615 GET_DISPATCH(dpy, t); in glXWaitVideoSyncSGI()
626 glXMakeCurrentReadSGI(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) in glXMakeCurrentReadSGI() argument
629 GET_DISPATCH(dpy, t); in glXMakeCurrentReadSGI()
632 return t->MakeCurrentReadSGI(dpy, draw, read, ctx); in glXMakeCurrentReadSGI()
645 glXCreateGLXVideoSourceSGIX(Display *dpy, int screen, VLServer server, VLPath path, int nodeClass, … in glXCreateGLXVideoSourceSGIX() argument
648 GET_DISPATCH(dpy, t); in glXCreateGLXVideoSourceSGIX()
651 return t->CreateGLXVideoSourceSGIX(dpy, screen, server, path, nodeClass, drainNode); in glXCreateGLXVideoSourceSGIX()
655 glXDestroyGLXVideoSourceSGIX(Display *dpy, GLXVideoSourceSGIX src) in glXDestroyGLXVideoSourceSGIX() argument
658 GET_DISPATCH(dpy, t); in glXDestroyGLXVideoSourceSGIX()
661 return t->DestroyGLXVideoSourceSGIX(dpy, src); in glXDestroyGLXVideoSourceSGIX()
670 glXFreeContextEXT(Display *dpy, GLXContext context) in glXFreeContextEXT() argument
673 GET_DISPATCH(dpy, t); in glXFreeContextEXT()
676 t->FreeContextEXT(dpy, context); in glXFreeContextEXT()
692 glXImportContextEXT(Display *dpy, GLXContextID contextID) in glXImportContextEXT() argument
695 GET_DISPATCH(dpy, t); in glXImportContextEXT()
698 return t->ImportContextEXT(dpy, contextID); in glXImportContextEXT()
702 glXQueryContextInfoEXT(Display *dpy, GLXContext context, int attribute,int *value) in glXQueryContextInfoEXT() argument
705 GET_DISPATCH(dpy, t); in glXQueryContextInfoEXT()
708 return t->QueryContextInfoEXT(dpy, context, attribute, value); in glXQueryContextInfoEXT()
716 glXGetFBConfigAttribSGIX(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value) in glXGetFBConfigAttribSGIX() argument
719 GET_DISPATCH(dpy, t); in glXGetFBConfigAttribSGIX()
722 return t->GetFBConfigAttribSGIX(dpy, config, attribute, value); in glXGetFBConfigAttribSGIX()
726 glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) in glXChooseFBConfigSGIX() argument
729 GET_DISPATCH(dpy, t); in glXChooseFBConfigSGIX()
732 return t->ChooseFBConfigSGIX(dpy, screen, attrib_list, nelements); in glXChooseFBConfigSGIX()
736 glXCreateGLXPixmapWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap) in glXCreateGLXPixmapWithConfigSGIX() argument
739 GET_DISPATCH(dpy, t); in glXCreateGLXPixmapWithConfigSGIX()
742 return t->CreateGLXPixmapWithConfigSGIX(dpy, config, pixmap); in glXCreateGLXPixmapWithConfigSGIX()
746 glXCreateContextWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext sh… in glXCreateContextWithConfigSGIX() argument
749 GET_DISPATCH(dpy, t); in glXCreateContextWithConfigSGIX()
752 return t->CreateContextWithConfigSGIX(dpy, config, render_type, share_list, direct); in glXCreateContextWithConfigSGIX()
756 glXGetVisualFromFBConfigSGIX(Display *dpy, GLXFBConfigSGIX config) in glXGetVisualFromFBConfigSGIX() argument
759 GET_DISPATCH(dpy, t); in glXGetVisualFromFBConfigSGIX()
762 return t->GetVisualFromFBConfigSGIX(dpy, config); in glXGetVisualFromFBConfigSGIX()
766 glXGetFBConfigFromVisualSGIX(Display *dpy, XVisualInfo *vis) in glXGetFBConfigFromVisualSGIX() argument
769 GET_DISPATCH(dpy, t); in glXGetFBConfigFromVisualSGIX()
772 return t->GetFBConfigFromVisualSGIX(dpy, vis); in glXGetFBConfigFromVisualSGIX()
780 glXCreateGLXPbufferSGIX(Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int heig… in glXCreateGLXPbufferSGIX() argument
783 GET_DISPATCH(dpy, t); in glXCreateGLXPbufferSGIX()
786 return t->CreateGLXPbufferSGIX(dpy, config, width, height, attrib_list); in glXCreateGLXPbufferSGIX()
790 glXDestroyGLXPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuf) in glXDestroyGLXPbufferSGIX() argument
793 GET_DISPATCH(dpy, t); in glXDestroyGLXPbufferSGIX()
796 t->DestroyGLXPbufferSGIX(dpy, pbuf); in glXDestroyGLXPbufferSGIX()
800 glXQueryGLXPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value) in glXQueryGLXPbufferSGIX() argument
803 GET_DISPATCH(dpy, t); in glXQueryGLXPbufferSGIX()
806 return t->QueryGLXPbufferSGIX(dpy, pbuf, attribute, value); in glXQueryGLXPbufferSGIX()
810 glXSelectEventSGIX(Display *dpy, GLXDrawable drawable, unsigned long mask) in glXSelectEventSGIX() argument
813 GET_DISPATCH(dpy, t); in glXSelectEventSGIX()
816 t->SelectEventSGIX(dpy, drawable, mask); in glXSelectEventSGIX()
820 glXGetSelectedEventSGIX(Display *dpy, GLXDrawable drawable, unsigned long *mask) in glXGetSelectedEventSGIX() argument
823 GET_DISPATCH(dpy, t); in glXGetSelectedEventSGIX()
826 t->GetSelectedEventSGIX(dpy, drawable, mask); in glXGetSelectedEventSGIX()
834 glXCushionSGI(Display *dpy, Window win, float cushion) in glXCushionSGI() argument
837 GET_DISPATCH(dpy, t); in glXCushionSGI()
840 t->CushionSGI(dpy, win, cushion); in glXCushionSGI()
848 glXBindChannelToWindowSGIX(Display *dpy, int screen, int channel , Window window) in glXBindChannelToWindowSGIX() argument
851 GET_DISPATCH(dpy, t); in glXBindChannelToWindowSGIX()
854 return t->BindChannelToWindowSGIX(dpy, screen, channel, window); in glXBindChannelToWindowSGIX()
858 glXChannelRectSGIX(Display *dpy, int screen, int channel, int x, int y, int w, int h) in glXChannelRectSGIX() argument
861 GET_DISPATCH(dpy, t); in glXChannelRectSGIX()
864 return t->ChannelRectSGIX(dpy, screen, channel, x, y, w, h); in glXChannelRectSGIX()
868 glXQueryChannelRectSGIX(Display *dpy, int screen, int channel, int *x, int *y, int *w, int *h) in glXQueryChannelRectSGIX() argument
871 GET_DISPATCH(dpy, t); in glXQueryChannelRectSGIX()
874 return t->QueryChannelRectSGIX(dpy, screen, channel, x, y, w, h); in glXQueryChannelRectSGIX()
878 glXQueryChannelDeltasSGIX(Display *dpy, int screen, int channel, int *dx, int *dy, int *dw, int *dh) in glXQueryChannelDeltasSGIX() argument
881 GET_DISPATCH(dpy, t); in glXQueryChannelDeltasSGIX()
884 return t->QueryChannelDeltasSGIX(dpy, screen, channel, dx, dy, dw, dh); in glXQueryChannelDeltasSGIX()
888 glXChannelRectSyncSGIX(Display *dpy, int screen, int channel, GLenum synctype) in glXChannelRectSyncSGIX() argument
891 GET_DISPATCH(dpy, t); in glXChannelRectSyncSGIX()
894 return t->ChannelRectSyncSGIX(dpy, screen, channel, synctype); in glXChannelRectSyncSGIX()
902 glXAssociateDMPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer) in glXAssociateDMPbufferSGIX() argument
905 GET_DISPATCH(dpy, t); in glXAssociateDMPbufferSGIX()
908 return t->AssociateDMPbufferSGIX(dpy, pbuffer, params, dmbuffer); in glXAssociateDMPbufferSGIX()
917 glXJoinSwapGroupSGIX(Display *dpy, GLXDrawable drawable, GLXDrawable member) in glXJoinSwapGroupSGIX() argument
920 GET_DISPATCH(dpy, t); in glXJoinSwapGroupSGIX()
923 t->JoinSwapGroupSGIX(dpy, drawable, member); in glXJoinSwapGroupSGIX()
930 glXBindSwapBarrierSGIX(Display *dpy, GLXDrawable drawable, int barrier) in glXBindSwapBarrierSGIX() argument
933 GET_DISPATCH(dpy, t); in glXBindSwapBarrierSGIX()
936 t->BindSwapBarrierSGIX(dpy, drawable, barrier); in glXBindSwapBarrierSGIX()
940 glXQueryMaxSwapBarriersSGIX(Display *dpy, int screen, int *max) in glXQueryMaxSwapBarriersSGIX() argument
943 GET_DISPATCH(dpy, t); in glXQueryMaxSwapBarriersSGIX()
946 return t->QueryMaxSwapBarriersSGIX(dpy, screen, max); in glXQueryMaxSwapBarriersSGIX()
954 glXGetTransparentIndexSUN(Display *dpy, Window overlay, Window underlay, long *pTransparent) in glXGetTransparentIndexSUN() argument
957 GET_DISPATCH(dpy, t); in glXGetTransparentIndexSUN()
960 return t->GetTransparentIndexSUN(dpy, overlay, underlay, pTransparent); in glXGetTransparentIndexSUN()
968 glXCopySubBufferMESA(Display *dpy, GLXDrawable drawable, int x, int y, int width, int height) in glXCopySubBufferMESA() argument
971 GET_DISPATCH(dpy, t); in glXCopySubBufferMESA()
974 t->CopySubBufferMESA(dpy, drawable, x, y, width, height); in glXCopySubBufferMESA()
982 glXReleaseBuffersMESA(Display *dpy, Window w) in glXReleaseBuffersMESA() argument
985 GET_DISPATCH(dpy, t); in glXReleaseBuffersMESA()
988 return t->ReleaseBuffersMESA(dpy, w); in glXReleaseBuffersMESA()
996 glXCreateGLXPixmapMESA(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap, Colormap cmap) in glXCreateGLXPixmapMESA() argument
999 GET_DISPATCH(dpy, t); in glXCreateGLXPixmapMESA()
1002 return t->CreateGLXPixmapMESA(dpy, visinfo, pixmap, cmap); in glXCreateGLXPixmapMESA()
1013 Display *dpy = glXGetCurrentDisplay(); in glXSet3DfxModeMESA() local
1014 GET_DISPATCH(dpy, t); in glXSet3DfxModeMESA()
1031 Display *dpy = glXGetCurrentDisplay(); in glXAllocateMemoryNV() local
1032 GET_DISPATCH(dpy, t); in glXAllocateMemoryNV()
1043 Display *dpy = glXGetCurrentDisplay(); in glXFreeMemoryNV() local
1044 GET_DISPATCH(dpy, t); in glXFreeMemoryNV()
1059 Display *dpy = glXGetCurrentDisplay(); in glXGetAGPOffsetMESA() local
1060 GET_DISPATCH(dpy, t); in glXGetAGPOffsetMESA()
1070 glXBindTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer, in glXBindTexImageEXT() argument
1074 GET_DISPATCH(dpy, t); in glXBindTexImageEXT()
1076 t->BindTexImageEXT(dpy, drawable, buffer, attrib_list); in glXBindTexImageEXT()
1080 glXReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer) in glXReleaseTexImageEXT() argument
1083 GET_DISPATCH(dpy, t); in glXReleaseTexImageEXT()
1085 t->ReleaseTexImageEXT(dpy, drawable, buffer); in glXReleaseTexImageEXT()
1382 glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, in glXCreateContextAttribsARB() argument
1387 GET_DISPATCH(dpy, t); in glXCreateContextAttribsARB()
1390 return t->CreateContextAttribs(dpy, config, share_context, direct, in glXCreateContextAttribsARB()