• Home
  • Raw
  • Download

Lines Matching refs:dpy

92 get_dispatch(Display *dpy)  in get_dispatch()  argument
94 if (!dpy) in get_dispatch()
101 if (d->Dpy == dpy) { in get_dispatch()
102 prevDisplay = dpy; in get_dispatch()
120 d->Dpy = dpy; in get_dispatch()
126 prevDisplay = dpy; in get_dispatch()
191 glXChooseVisual(Display *dpy, int screen, int *list) in glXChooseVisual() argument
194 GET_DISPATCH(dpy, t); in glXChooseVisual()
197 return (t->ChooseVisual)(dpy, screen, list); in glXChooseVisual()
202 glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, unsigned long mask) in glXCopyContext() argument
205 GET_DISPATCH(dpy, t); in glXCopyContext()
208 (t->CopyContext)(dpy, src, dst, mask); in glXCopyContext()
213 glXCreateContext(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct) in glXCreateContext() argument
216 GET_DISPATCH(dpy, t); in glXCreateContext()
219 return (t->CreateContext)(dpy, visinfo, shareList, direct); in glXCreateContext()
224 glXCreateGLXPixmap(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap) in glXCreateGLXPixmap() argument
227 GET_DISPATCH(dpy, t); in glXCreateGLXPixmap()
230 return (t->CreateGLXPixmap)(dpy, visinfo, pixmap); in glXCreateGLXPixmap()
235 glXDestroyContext(Display *dpy, GLXContext ctx) in glXDestroyContext() argument
238 GET_DISPATCH(dpy, t); in glXDestroyContext()
243 (t->DestroyContext)(dpy, ctx); in glXDestroyContext()
248 glXDestroyGLXPixmap(Display *dpy, GLXPixmap pixmap) in glXDestroyGLXPixmap() argument
251 GET_DISPATCH(dpy, t); in glXDestroyGLXPixmap()
254 (t->DestroyGLXPixmap)(dpy, pixmap); in glXDestroyGLXPixmap()
259 glXGetConfig(Display *dpy, XVisualInfo *visinfo, int attrib, int *value) in glXGetConfig() argument
262 GET_DISPATCH(dpy, t); in glXGetConfig()
265 return (t->GetConfig)(dpy, visinfo, attrib, value); in glXGetConfig()
291 glXIsDirect(Display *dpy, GLXContext ctx) in glXIsDirect() argument
294 GET_DISPATCH(dpy, t); in glXIsDirect()
297 return (t->IsDirect)(dpy, ctx); in glXIsDirect()
302 glXMakeCurrent(Display *dpy, GLXDrawable drawable, GLXContext ctx) in glXMakeCurrent() argument
306 GET_DISPATCH(dpy, t); in glXMakeCurrent()
310 b = (*t->MakeCurrent)(dpy, drawable, ctx); in glXMakeCurrent()
319 glXQueryExtension(Display *dpy, int *errorb, int *event) in glXQueryExtension() argument
322 GET_DISPATCH(dpy, t); in glXQueryExtension()
325 return (t->QueryExtension)(dpy, errorb, event); in glXQueryExtension()
330 glXQueryVersion(Display *dpy, int *maj, int *min) in glXQueryVersion() argument
333 GET_DISPATCH(dpy, t); in glXQueryVersion()
336 return (t->QueryVersion)(dpy, maj, min); in glXQueryVersion()
341 glXSwapBuffers(Display *dpy, GLXDrawable drawable) in glXSwapBuffers() argument
344 GET_DISPATCH(dpy, t); in glXSwapBuffers()
347 (t->SwapBuffers)(dpy, drawable); in glXSwapBuffers()
355 Display *dpy = glXGetCurrentDisplay(); in glXUseXFont() local
356 GET_DISPATCH(dpy, t); in glXUseXFont()
367 Display *dpy = glXGetCurrentDisplay(); in glXWaitGL() local
368 GET_DISPATCH(dpy, t); in glXWaitGL()
379 Display *dpy = glXGetCurrentDisplay(); in glXWaitX() local
380 GET_DISPATCH(dpy, t); in glXWaitX()
391 glXGetClientString(Display *dpy, int name) in glXGetClientString() argument
394 GET_DISPATCH(dpy, t); in glXGetClientString()
397 return (t->GetClientString)(dpy, name); in glXGetClientString()
402 glXQueryExtensionsString(Display *dpy, int screen) in glXQueryExtensionsString() argument
405 GET_DISPATCH(dpy, t); in glXQueryExtensionsString()
408 return (t->QueryExtensionsString)(dpy, screen); in glXQueryExtensionsString()
413 glXQueryServerString(Display *dpy, int screen, int name) in glXQueryServerString() argument
416 GET_DISPATCH(dpy, t); in glXQueryServerString()
419 return (t->QueryServerString)(dpy, screen, name); in glXQueryServerString()
439 glXChooseFBConfig(Display *dpy, int screen, const int *attribList, int *nitems) in glXChooseFBConfig() argument
442 GET_DISPATCH(dpy, t); in glXChooseFBConfig()
445 return (t->ChooseFBConfig)(dpy, screen, attribList, nitems); in glXChooseFBConfig()
450 glXCreateNewContext(Display *dpy, GLXFBConfig config, int renderType, GLXContext shareList, Bool di… in glXCreateNewContext() argument
453 GET_DISPATCH(dpy, t); in glXCreateNewContext()
456 return (t->CreateNewContext)(dpy, config, renderType, shareList, direct); in glXCreateNewContext()
461 glXCreatePbuffer(Display *dpy, GLXFBConfig config, const int *attribList) in glXCreatePbuffer() argument
464 GET_DISPATCH(dpy, t); in glXCreatePbuffer()
467 return (t->CreatePbuffer)(dpy, config, attribList); in glXCreatePbuffer()
472 glXCreatePixmap(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList) in glXCreatePixmap() argument
475 GET_DISPATCH(dpy, t); in glXCreatePixmap()
478 return (t->CreatePixmap)(dpy, config, pixmap, attribList); in glXCreatePixmap()
483 glXCreateWindow(Display *dpy, GLXFBConfig config, Window win, const int *attribList) in glXCreateWindow() argument
486 GET_DISPATCH(dpy, t); in glXCreateWindow()
489 return (t->CreateWindow)(dpy, config, win, attribList); in glXCreateWindow()
494 glXDestroyPbuffer(Display *dpy, GLXPbuffer pbuf) in glXDestroyPbuffer() argument
497 GET_DISPATCH(dpy, t); in glXDestroyPbuffer()
500 (t->DestroyPbuffer)(dpy, pbuf); in glXDestroyPbuffer()
505 glXDestroyPixmap(Display *dpy, GLXPixmap pixmap) in glXDestroyPixmap() argument
508 GET_DISPATCH(dpy, t); in glXDestroyPixmap()
511 (t->DestroyPixmap)(dpy, pixmap); in glXDestroyPixmap()
516 glXDestroyWindow(Display *dpy, GLXWindow window) in glXDestroyWindow() argument
519 GET_DISPATCH(dpy, t); in glXDestroyWindow()
522 (t->DestroyWindow)(dpy, window); in glXDestroyWindow()
535 glXGetFBConfigAttrib(Display *dpy, GLXFBConfig config, int attribute, int *value) in glXGetFBConfigAttrib() argument
538 GET_DISPATCH(dpy, t); in glXGetFBConfigAttrib()
541 return (t->GetFBConfigAttrib)(dpy, config, attribute, value); in glXGetFBConfigAttrib()
546 glXGetFBConfigs(Display *dpy, int screen, int *nelements) in glXGetFBConfigs() argument
549 GET_DISPATCH(dpy, t); in glXGetFBConfigs()
552 return (t->GetFBConfigs)(dpy, screen, nelements); in glXGetFBConfigs()
556 glXGetSelectedEvent(Display *dpy, GLXDrawable drawable, unsigned long *mask) in glXGetSelectedEvent() argument
559 GET_DISPATCH(dpy, t); in glXGetSelectedEvent()
562 (t->GetSelectedEvent)(dpy, drawable, mask); in glXGetSelectedEvent()
567 glXGetVisualFromFBConfig(Display *dpy, GLXFBConfig config) in glXGetVisualFromFBConfig() argument
570 GET_DISPATCH(dpy, t); in glXGetVisualFromFBConfig()
573 return (t->GetVisualFromFBConfig)(dpy, config); in glXGetVisualFromFBConfig()
578 glXMakeContextCurrent(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) in glXMakeContextCurrent() argument
582 GET_DISPATCH(dpy, t); in glXMakeContextCurrent()
585 b = (t->MakeContextCurrent)(dpy, draw, read, ctx); in glXMakeContextCurrent()
594 glXQueryContext(Display *dpy, GLXContext ctx, int attribute, int *value) in glXQueryContext() argument
597 GET_DISPATCH(dpy, t); in glXQueryContext()
601 return (t->QueryContext)(dpy, ctx, attribute, value); in glXQueryContext()
606 glXQueryDrawable(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value) in glXQueryDrawable() argument
609 GET_DISPATCH(dpy, t); in glXQueryDrawable()
612 (t->QueryDrawable)(dpy, draw, attribute, value); in glXQueryDrawable()
617 glXSelectEvent(Display *dpy, GLXDrawable drawable, unsigned long mask) in glXSelectEvent() argument
620 GET_DISPATCH(dpy, t); in glXSelectEvent()
623 (t->SelectEvent)(dpy, drawable, mask); in glXSelectEvent()
634 Display *dpy = glXGetCurrentDisplay(); in glXSwapIntervalSGI() local
635 GET_DISPATCH(dpy, t); in glXSwapIntervalSGI()
649 Display *dpy = glXGetCurrentDisplay(); in glXGetVideoSyncSGI() local
650 GET_DISPATCH(dpy, t); in glXGetVideoSyncSGI()
660 Display *dpy = glXGetCurrentDisplay(); in glXWaitVideoSyncSGI() local
661 GET_DISPATCH(dpy, t); in glXWaitVideoSyncSGI()
672 glXMakeCurrentReadSGI(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) in glXMakeCurrentReadSGI() argument
675 GET_DISPATCH(dpy, t); in glXMakeCurrentReadSGI()
678 return (t->MakeCurrentReadSGI)(dpy, draw, read, ctx); in glXMakeCurrentReadSGI()
691 glXCreateGLXVideoSourceSGIX(Display *dpy, int screen, VLServer server, VLPath path, int nodeClass, … in glXCreateGLXVideoSourceSGIX() argument
694 GET_DISPATCH(dpy, t); in glXCreateGLXVideoSourceSGIX()
697 return (t->CreateGLXVideoSourceSGIX)(dpy, screen, server, path, nodeClass, drainNode); in glXCreateGLXVideoSourceSGIX()
701 glXDestroyGLXVideoSourceSGIX(Display *dpy, GLXVideoSourceSGIX src) in glXDestroyGLXVideoSourceSGIX() argument
704 GET_DISPATCH(dpy, t); in glXDestroyGLXVideoSourceSGIX()
707 return (t->DestroyGLXVideoSourceSGIX)(dpy, src); in glXDestroyGLXVideoSourceSGIX()
716 glXFreeContextEXT(Display *dpy, GLXContext context) in glXFreeContextEXT() argument
719 GET_DISPATCH(dpy, t); in glXFreeContextEXT()
722 (t->FreeContextEXT)(dpy, context); in glXFreeContextEXT()
738 glXImportContextEXT(Display *dpy, GLXContextID contextID) in glXImportContextEXT() argument
741 GET_DISPATCH(dpy, t); in glXImportContextEXT()
744 return (t->ImportContextEXT)(dpy, contextID); in glXImportContextEXT()
748 glXQueryContextInfoEXT(Display *dpy, GLXContext context, int attribute,int *value) in glXQueryContextInfoEXT() argument
751 GET_DISPATCH(dpy, t); in glXQueryContextInfoEXT()
754 return (t->QueryContextInfoEXT)(dpy, context, attribute, value); in glXQueryContextInfoEXT()
762 glXGetFBConfigAttribSGIX(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value) in glXGetFBConfigAttribSGIX() argument
765 GET_DISPATCH(dpy, t); in glXGetFBConfigAttribSGIX()
768 return (t->GetFBConfigAttribSGIX)(dpy, config, attribute, value); in glXGetFBConfigAttribSGIX()
772 glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) in glXChooseFBConfigSGIX() argument
775 GET_DISPATCH(dpy, t); in glXChooseFBConfigSGIX()
778 return (t->ChooseFBConfigSGIX)(dpy, screen, attrib_list, nelements); in glXChooseFBConfigSGIX()
782 glXCreateGLXPixmapWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap) in glXCreateGLXPixmapWithConfigSGIX() argument
785 GET_DISPATCH(dpy, t); in glXCreateGLXPixmapWithConfigSGIX()
788 return (t->CreateGLXPixmapWithConfigSGIX)(dpy, config, pixmap); in glXCreateGLXPixmapWithConfigSGIX()
792 glXCreateContextWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext sh… in glXCreateContextWithConfigSGIX() argument
795 GET_DISPATCH(dpy, t); in glXCreateContextWithConfigSGIX()
798 return (t->CreateContextWithConfigSGIX)(dpy, config, render_type, share_list, direct); in glXCreateContextWithConfigSGIX()
802 glXGetVisualFromFBConfigSGIX(Display *dpy, GLXFBConfigSGIX config) in glXGetVisualFromFBConfigSGIX() argument
805 GET_DISPATCH(dpy, t); in glXGetVisualFromFBConfigSGIX()
808 return (t->GetVisualFromFBConfigSGIX)(dpy, config); in glXGetVisualFromFBConfigSGIX()
812 glXGetFBConfigFromVisualSGIX(Display *dpy, XVisualInfo *vis) in glXGetFBConfigFromVisualSGIX() argument
815 GET_DISPATCH(dpy, t); in glXGetFBConfigFromVisualSGIX()
818 return (t->GetFBConfigFromVisualSGIX)(dpy, vis); in glXGetFBConfigFromVisualSGIX()
826 glXCreateGLXPbufferSGIX(Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int heig… in glXCreateGLXPbufferSGIX() argument
829 GET_DISPATCH(dpy, t); in glXCreateGLXPbufferSGIX()
832 return (t->CreateGLXPbufferSGIX)(dpy, config, width, height, attrib_list); in glXCreateGLXPbufferSGIX()
836 glXDestroyGLXPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuf) in glXDestroyGLXPbufferSGIX() argument
839 GET_DISPATCH(dpy, t); in glXDestroyGLXPbufferSGIX()
842 (t->DestroyGLXPbufferSGIX)(dpy, pbuf); in glXDestroyGLXPbufferSGIX()
846 glXQueryGLXPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value) in glXQueryGLXPbufferSGIX() argument
849 GET_DISPATCH(dpy, t); in glXQueryGLXPbufferSGIX()
852 return (t->QueryGLXPbufferSGIX)(dpy, pbuf, attribute, value); in glXQueryGLXPbufferSGIX()
856 glXSelectEventSGIX(Display *dpy, GLXDrawable drawable, unsigned long mask) in glXSelectEventSGIX() argument
859 GET_DISPATCH(dpy, t); in glXSelectEventSGIX()
862 (t->SelectEventSGIX)(dpy, drawable, mask); in glXSelectEventSGIX()
866 glXGetSelectedEventSGIX(Display *dpy, GLXDrawable drawable, unsigned long *mask) in glXGetSelectedEventSGIX() argument
869 GET_DISPATCH(dpy, t); in glXGetSelectedEventSGIX()
872 (t->GetSelectedEventSGIX)(dpy, drawable, mask); in glXGetSelectedEventSGIX()
880 glXCushionSGI(Display *dpy, Window win, float cushion) in glXCushionSGI() argument
883 GET_DISPATCH(dpy, t); in glXCushionSGI()
886 (t->CushionSGI)(dpy, win, cushion); in glXCushionSGI()
894 glXBindChannelToWindowSGIX(Display *dpy, int screen, int channel , Window window) in glXBindChannelToWindowSGIX() argument
897 GET_DISPATCH(dpy, t); in glXBindChannelToWindowSGIX()
900 return (t->BindChannelToWindowSGIX)(dpy, screen, channel, window); in glXBindChannelToWindowSGIX()
904 glXChannelRectSGIX(Display *dpy, int screen, int channel, int x, int y, int w, int h) in glXChannelRectSGIX() argument
907 GET_DISPATCH(dpy, t); in glXChannelRectSGIX()
910 return (t->ChannelRectSGIX)(dpy, screen, channel, x, y, w, h); in glXChannelRectSGIX()
914 glXQueryChannelRectSGIX(Display *dpy, int screen, int channel, int *x, int *y, int *w, int *h) in glXQueryChannelRectSGIX() argument
917 GET_DISPATCH(dpy, t); in glXQueryChannelRectSGIX()
920 return (t->QueryChannelRectSGIX)(dpy, screen, channel, x, y, w, h); in glXQueryChannelRectSGIX()
924 glXQueryChannelDeltasSGIX(Display *dpy, int screen, int channel, int *dx, int *dy, int *dw, int *dh) in glXQueryChannelDeltasSGIX() argument
927 GET_DISPATCH(dpy, t); in glXQueryChannelDeltasSGIX()
930 return (t->QueryChannelDeltasSGIX)(dpy, screen, channel, dx, dy, dw, dh); in glXQueryChannelDeltasSGIX()
934 glXChannelRectSyncSGIX(Display *dpy, int screen, int channel, GLenum synctype) in glXChannelRectSyncSGIX() argument
937 GET_DISPATCH(dpy, t); in glXChannelRectSyncSGIX()
940 return (t->ChannelRectSyncSGIX)(dpy, screen, channel, synctype); in glXChannelRectSyncSGIX()
948 glXAssociateDMPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer) in glXAssociateDMPbufferSGIX() argument
951 GET_DISPATCH(dpy, t); in glXAssociateDMPbufferSGIX()
954 return (t->AssociateDMPbufferSGIX)(dpy, pbuffer, params, dmbuffer); in glXAssociateDMPbufferSGIX()
963 glXJoinSwapGroupSGIX(Display *dpy, GLXDrawable drawable, GLXDrawable member) in glXJoinSwapGroupSGIX() argument
966 GET_DISPATCH(dpy, t); in glXJoinSwapGroupSGIX()
969 (*t->JoinSwapGroupSGIX)(dpy, drawable, member); in glXJoinSwapGroupSGIX()
976 glXBindSwapBarrierSGIX(Display *dpy, GLXDrawable drawable, int barrier) in glXBindSwapBarrierSGIX() argument
979 GET_DISPATCH(dpy, t); in glXBindSwapBarrierSGIX()
982 (*t->BindSwapBarrierSGIX)(dpy, drawable, barrier); in glXBindSwapBarrierSGIX()
986 glXQueryMaxSwapBarriersSGIX(Display *dpy, int screen, int *max) in glXQueryMaxSwapBarriersSGIX() argument
989 GET_DISPATCH(dpy, t); in glXQueryMaxSwapBarriersSGIX()
992 return (*t->QueryMaxSwapBarriersSGIX)(dpy, screen, max); in glXQueryMaxSwapBarriersSGIX()
1000 glXGetTransparentIndexSUN(Display *dpy, Window overlay, Window underlay, long *pTransparent) in glXGetTransparentIndexSUN() argument
1003 GET_DISPATCH(dpy, t); in glXGetTransparentIndexSUN()
1006 return (*t->GetTransparentIndexSUN)(dpy, overlay, underlay, pTransparent); in glXGetTransparentIndexSUN()
1014 glXCopySubBufferMESA(Display *dpy, GLXDrawable drawable, int x, int y, int width, int height) in glXCopySubBufferMESA() argument
1017 GET_DISPATCH(dpy, t); in glXCopySubBufferMESA()
1020 (t->CopySubBufferMESA)(dpy, drawable, x, y, width, height); in glXCopySubBufferMESA()
1028 glXReleaseBuffersMESA(Display *dpy, Window w) in glXReleaseBuffersMESA() argument
1031 GET_DISPATCH(dpy, t); in glXReleaseBuffersMESA()
1034 return (t->ReleaseBuffersMESA)(dpy, w); in glXReleaseBuffersMESA()
1042 glXCreateGLXPixmapMESA(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap, Colormap cmap) in glXCreateGLXPixmapMESA() argument
1045 GET_DISPATCH(dpy, t); in glXCreateGLXPixmapMESA()
1048 return (t->CreateGLXPixmapMESA)(dpy, visinfo, pixmap, cmap); in glXCreateGLXPixmapMESA()
1059 Display *dpy = glXGetCurrentDisplay(); in glXSet3DfxModeMESA() local
1060 GET_DISPATCH(dpy, t); in glXSet3DfxModeMESA()
1077 Display *dpy = glXGetCurrentDisplay(); in glXAllocateMemoryNV() local
1078 GET_DISPATCH(dpy, t); in glXAllocateMemoryNV()
1089 Display *dpy = glXGetCurrentDisplay(); in glXFreeMemoryNV() local
1090 GET_DISPATCH(dpy, t); in glXFreeMemoryNV()
1105 Display *dpy = glXGetCurrentDisplay(); in glXGetAGPOffsetMESA() local
1106 GET_DISPATCH(dpy, t); in glXGetAGPOffsetMESA()
1116 glXBindTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer, in glXBindTexImageEXT() argument
1120 GET_DISPATCH(dpy, t); in glXBindTexImageEXT()
1122 t->BindTexImageEXT(dpy, drawable, buffer, attrib_list); in glXBindTexImageEXT()
1126 glXReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer) in glXReleaseTexImageEXT() argument
1129 GET_DISPATCH(dpy, t); in glXReleaseTexImageEXT()
1131 t->ReleaseTexImageEXT(dpy, drawable, buffer); in glXReleaseTexImageEXT()