Lines Matching refs:dpy

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