• Home
  • Raw
  • Download

Lines Matching refs:dpy

86 get_dispatch(Display *dpy)  in get_dispatch()  argument
88 if (!dpy) in get_dispatch()
95 if (d->Dpy == dpy) { in get_dispatch()
96 prevDisplay = dpy; in get_dispatch()
112 d->Dpy = dpy; in get_dispatch()
118 prevDisplay = dpy; in get_dispatch()
151 glXChooseVisual(Display *dpy, int screen, int *list) in glXChooseVisual() argument
154 GET_DISPATCH(dpy, t); in glXChooseVisual()
157 return t->ChooseVisual(dpy, screen, list); in glXChooseVisual()
162 glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, unsigned long mask) in glXCopyContext() argument
165 GET_DISPATCH(dpy, t); in glXCopyContext()
168 t->CopyContext(dpy, src, dst, mask); in glXCopyContext()
173 glXCreateContext(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct) in glXCreateContext() argument
176 GET_DISPATCH(dpy, t); in glXCreateContext()
179 return t->CreateContext(dpy, visinfo, shareList, direct); in glXCreateContext()
184 glXCreateGLXPixmap(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap) in glXCreateGLXPixmap() argument
187 GET_DISPATCH(dpy, t); in glXCreateGLXPixmap()
190 return t->CreateGLXPixmap(dpy, visinfo, pixmap); in glXCreateGLXPixmap()
195 glXDestroyContext(Display *dpy, GLXContext ctx) in glXDestroyContext() argument
198 GET_DISPATCH(dpy, t); in glXDestroyContext()
201 t->DestroyContext(dpy, ctx); in glXDestroyContext()
206 glXDestroyGLXPixmap(Display *dpy, GLXPixmap pixmap) in glXDestroyGLXPixmap() argument
209 GET_DISPATCH(dpy, t); in glXDestroyGLXPixmap()
212 t->DestroyGLXPixmap(dpy, pixmap); in glXDestroyGLXPixmap()
217 glXGetConfig(Display *dpy, XVisualInfo *visinfo, int attrib, int *value) in glXGetConfig() argument
220 GET_DISPATCH(dpy, t); in glXGetConfig()
223 return t->GetConfig(dpy, visinfo, attrib, value); in glXGetConfig()
246 glXIsDirect(Display *dpy, GLXContext ctx) in glXIsDirect() argument
249 GET_DISPATCH(dpy, t); in glXIsDirect()
252 return t->IsDirect(dpy, ctx); in glXIsDirect()
257 glXMakeCurrent(Display *dpy, GLXDrawable drawable, GLXContext ctx) in glXMakeCurrent() argument
261 GET_DISPATCH(dpy, t); in glXMakeCurrent()
265 b = t->MakeCurrent(dpy, drawable, ctx); in glXMakeCurrent()
271 glXQueryExtension(Display *dpy, int *errorb, int *event) in glXQueryExtension() argument
274 GET_DISPATCH(dpy, t); in glXQueryExtension()
277 return t->QueryExtension(dpy, errorb, event); in glXQueryExtension()
282 glXQueryVersion(Display *dpy, int *maj, int *min) in glXQueryVersion() argument
285 GET_DISPATCH(dpy, t); in glXQueryVersion()
288 return t->QueryVersion(dpy, maj, min); in glXQueryVersion()
293 glXSwapBuffers(Display *dpy, GLXDrawable drawable) in glXSwapBuffers() argument
296 GET_DISPATCH(dpy, t); in glXSwapBuffers()
299 t->SwapBuffers(dpy, drawable); in glXSwapBuffers()
307 Display *dpy = glXGetCurrentDisplay(); in glXUseXFont() local
308 GET_DISPATCH(dpy, t); in glXUseXFont()
319 Display *dpy = glXGetCurrentDisplay(); in glXWaitGL() local
320 GET_DISPATCH(dpy, t); in glXWaitGL()
331 Display *dpy = glXGetCurrentDisplay(); in glXWaitX() local
332 GET_DISPATCH(dpy, t); in glXWaitX()
343 glXGetClientString(Display *dpy, int name) in glXGetClientString() argument
346 GET_DISPATCH(dpy, t); in glXGetClientString()
349 return t->GetClientString(dpy, name); in glXGetClientString()
354 glXQueryExtensionsString(Display *dpy, int screen) in glXQueryExtensionsString() argument
357 GET_DISPATCH(dpy, t); in glXQueryExtensionsString()
360 return t->QueryExtensionsString(dpy, screen); in glXQueryExtensionsString()
365 glXQueryServerString(Display *dpy, int screen, int name) in glXQueryServerString() argument
368 GET_DISPATCH(dpy, t); in glXQueryServerString()
371 return t->QueryServerString(dpy, screen, name); in glXQueryServerString()
391 glXChooseFBConfig(Display *dpy, int screen, const int *attribList, int *nitems) in glXChooseFBConfig() argument
394 GET_DISPATCH(dpy, t); in glXChooseFBConfig()
397 return t->ChooseFBConfig(dpy, screen, attribList, nitems); in glXChooseFBConfig()
402 glXCreateNewContext(Display *dpy, GLXFBConfig config, int renderType, GLXContext shareList, Bool di… in glXCreateNewContext() argument
405 GET_DISPATCH(dpy, t); in glXCreateNewContext()
408 return t->CreateNewContext(dpy, config, renderType, shareList, direct); in glXCreateNewContext()
413 glXCreatePbuffer(Display *dpy, GLXFBConfig config, const int *attribList) in glXCreatePbuffer() argument
416 GET_DISPATCH(dpy, t); in glXCreatePbuffer()
419 return t->CreatePbuffer(dpy, config, attribList); in glXCreatePbuffer()
424 glXCreatePixmap(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList) in glXCreatePixmap() argument
427 GET_DISPATCH(dpy, t); in glXCreatePixmap()
430 return t->CreatePixmap(dpy, config, pixmap, attribList); in glXCreatePixmap()
435 glXCreateWindow(Display *dpy, GLXFBConfig config, Window win, const int *attribList) in glXCreateWindow() argument
438 GET_DISPATCH(dpy, t); in glXCreateWindow()
441 return t->CreateWindow(dpy, config, win, attribList); in glXCreateWindow()
446 glXDestroyPbuffer(Display *dpy, GLXPbuffer pbuf) in glXDestroyPbuffer() argument
449 GET_DISPATCH(dpy, t); in glXDestroyPbuffer()
452 t->DestroyPbuffer(dpy, pbuf); in glXDestroyPbuffer()
457 glXDestroyPixmap(Display *dpy, GLXPixmap pixmap) in glXDestroyPixmap() argument
460 GET_DISPATCH(dpy, t); in glXDestroyPixmap()
463 t->DestroyPixmap(dpy, pixmap); in glXDestroyPixmap()
468 glXDestroyWindow(Display *dpy, GLXWindow window) in glXDestroyWindow() argument
471 GET_DISPATCH(dpy, t); in glXDestroyWindow()
474 t->DestroyWindow(dpy, window); in glXDestroyWindow()
487 glXGetFBConfigAttrib(Display *dpy, GLXFBConfig config, int attribute, int *value) in glXGetFBConfigAttrib() argument
490 GET_DISPATCH(dpy, t); in glXGetFBConfigAttrib()
493 return t->GetFBConfigAttrib(dpy, config, attribute, value); in glXGetFBConfigAttrib()
498 glXGetFBConfigs(Display *dpy, int screen, int *nelements) in glXGetFBConfigs() argument
501 GET_DISPATCH(dpy, t); in glXGetFBConfigs()
504 return t->GetFBConfigs(dpy, screen, nelements); in glXGetFBConfigs()
508 glXGetSelectedEvent(Display *dpy, GLXDrawable drawable, unsigned long *mask) in glXGetSelectedEvent() argument
511 GET_DISPATCH(dpy, t); in glXGetSelectedEvent()
514 t->GetSelectedEvent(dpy, drawable, mask); in glXGetSelectedEvent()
519 glXGetVisualFromFBConfig(Display *dpy, GLXFBConfig config) in glXGetVisualFromFBConfig() argument
522 GET_DISPATCH(dpy, t); in glXGetVisualFromFBConfig()
525 return t->GetVisualFromFBConfig(dpy, config); in glXGetVisualFromFBConfig()
530 glXMakeContextCurrent(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) in glXMakeContextCurrent() argument
534 GET_DISPATCH(dpy, t); in glXMakeContextCurrent()
537 b = t->MakeContextCurrent(dpy, draw, read, ctx); in glXMakeContextCurrent()
543 glXQueryContext(Display *dpy, GLXContext ctx, int attribute, int *value) in glXQueryContext() argument
546 GET_DISPATCH(dpy, t); in glXQueryContext()
550 return t->QueryContext(dpy, ctx, attribute, value); in glXQueryContext()
555 glXQueryDrawable(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value) in glXQueryDrawable() argument
558 GET_DISPATCH(dpy, t); in glXQueryDrawable()
561 t->QueryDrawable(dpy, draw, attribute, value); in glXQueryDrawable()
566 glXSelectEvent(Display *dpy, GLXDrawable drawable, unsigned long mask) in glXSelectEvent() argument
569 GET_DISPATCH(dpy, t); in glXSelectEvent()
572 t->SelectEvent(dpy, drawable, mask); in glXSelectEvent()
583 Display *dpy = glXGetCurrentDisplay(); in glXSwapIntervalSGI() local
584 GET_DISPATCH(dpy, t); in glXSwapIntervalSGI()
598 Display *dpy = glXGetCurrentDisplay(); in glXGetVideoSyncSGI() local
599 GET_DISPATCH(dpy, t); in glXGetVideoSyncSGI()
609 Display *dpy = glXGetCurrentDisplay(); in glXWaitVideoSyncSGI() local
610 GET_DISPATCH(dpy, t); in glXWaitVideoSyncSGI()
621 glXMakeCurrentReadSGI(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) in glXMakeCurrentReadSGI() argument
624 GET_DISPATCH(dpy, t); in glXMakeCurrentReadSGI()
627 return t->MakeCurrentReadSGI(dpy, draw, read, ctx); in glXMakeCurrentReadSGI()
640 glXCreateGLXVideoSourceSGIX(Display *dpy, int screen, VLServer server, VLPath path, int nodeClass, … in glXCreateGLXVideoSourceSGIX() argument
643 GET_DISPATCH(dpy, t); in glXCreateGLXVideoSourceSGIX()
646 return t->CreateGLXVideoSourceSGIX(dpy, screen, server, path, nodeClass, drainNode); in glXCreateGLXVideoSourceSGIX()
650 glXDestroyGLXVideoSourceSGIX(Display *dpy, GLXVideoSourceSGIX src) in glXDestroyGLXVideoSourceSGIX() argument
653 GET_DISPATCH(dpy, t); in glXDestroyGLXVideoSourceSGIX()
656 return t->DestroyGLXVideoSourceSGIX(dpy, src); in glXDestroyGLXVideoSourceSGIX()
665 glXFreeContextEXT(Display *dpy, GLXContext context) in glXFreeContextEXT() argument
668 GET_DISPATCH(dpy, t); in glXFreeContextEXT()
671 t->FreeContextEXT(dpy, context); in glXFreeContextEXT()
687 glXImportContextEXT(Display *dpy, GLXContextID contextID) in glXImportContextEXT() argument
690 GET_DISPATCH(dpy, t); in glXImportContextEXT()
693 return t->ImportContextEXT(dpy, contextID); in glXImportContextEXT()
697 glXQueryContextInfoEXT(Display *dpy, GLXContext context, int attribute,int *value) in glXQueryContextInfoEXT() argument
700 GET_DISPATCH(dpy, t); in glXQueryContextInfoEXT()
703 return t->QueryContextInfoEXT(dpy, context, attribute, value); in glXQueryContextInfoEXT()
711 glXGetFBConfigAttribSGIX(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value) in glXGetFBConfigAttribSGIX() argument
714 GET_DISPATCH(dpy, t); in glXGetFBConfigAttribSGIX()
717 return t->GetFBConfigAttribSGIX(dpy, config, attribute, value); in glXGetFBConfigAttribSGIX()
721 glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) in glXChooseFBConfigSGIX() argument
724 GET_DISPATCH(dpy, t); in glXChooseFBConfigSGIX()
727 return t->ChooseFBConfigSGIX(dpy, screen, attrib_list, nelements); in glXChooseFBConfigSGIX()
731 glXCreateGLXPixmapWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap) in glXCreateGLXPixmapWithConfigSGIX() argument
734 GET_DISPATCH(dpy, t); in glXCreateGLXPixmapWithConfigSGIX()
737 return t->CreateGLXPixmapWithConfigSGIX(dpy, config, pixmap); in glXCreateGLXPixmapWithConfigSGIX()
741 glXCreateContextWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext sh… in glXCreateContextWithConfigSGIX() argument
744 GET_DISPATCH(dpy, t); in glXCreateContextWithConfigSGIX()
747 return t->CreateContextWithConfigSGIX(dpy, config, render_type, share_list, direct); in glXCreateContextWithConfigSGIX()
751 glXGetVisualFromFBConfigSGIX(Display *dpy, GLXFBConfigSGIX config) in glXGetVisualFromFBConfigSGIX() argument
754 GET_DISPATCH(dpy, t); in glXGetVisualFromFBConfigSGIX()
757 return t->GetVisualFromFBConfigSGIX(dpy, config); in glXGetVisualFromFBConfigSGIX()
761 glXGetFBConfigFromVisualSGIX(Display *dpy, XVisualInfo *vis) in glXGetFBConfigFromVisualSGIX() argument
764 GET_DISPATCH(dpy, t); in glXGetFBConfigFromVisualSGIX()
767 return t->GetFBConfigFromVisualSGIX(dpy, vis); in glXGetFBConfigFromVisualSGIX()
775 glXCreateGLXPbufferSGIX(Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int heig… in glXCreateGLXPbufferSGIX() argument
778 GET_DISPATCH(dpy, t); in glXCreateGLXPbufferSGIX()
781 return t->CreateGLXPbufferSGIX(dpy, config, width, height, attrib_list); in glXCreateGLXPbufferSGIX()
785 glXDestroyGLXPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuf) in glXDestroyGLXPbufferSGIX() argument
788 GET_DISPATCH(dpy, t); in glXDestroyGLXPbufferSGIX()
791 t->DestroyGLXPbufferSGIX(dpy, pbuf); in glXDestroyGLXPbufferSGIX()
795 glXQueryGLXPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value) in glXQueryGLXPbufferSGIX() argument
798 GET_DISPATCH(dpy, t); in glXQueryGLXPbufferSGIX()
801 t->QueryGLXPbufferSGIX(dpy, pbuf, attribute, value); in glXQueryGLXPbufferSGIX()
805 glXSelectEventSGIX(Display *dpy, GLXDrawable drawable, unsigned long mask) in glXSelectEventSGIX() argument
808 GET_DISPATCH(dpy, t); in glXSelectEventSGIX()
811 t->SelectEventSGIX(dpy, drawable, mask); in glXSelectEventSGIX()
815 glXGetSelectedEventSGIX(Display *dpy, GLXDrawable drawable, unsigned long *mask) in glXGetSelectedEventSGIX() argument
818 GET_DISPATCH(dpy, t); in glXGetSelectedEventSGIX()
821 t->GetSelectedEventSGIX(dpy, drawable, mask); in glXGetSelectedEventSGIX()
829 glXCushionSGI(Display *dpy, Window win, float cushion) in glXCushionSGI() argument
832 GET_DISPATCH(dpy, t); in glXCushionSGI()
835 t->CushionSGI(dpy, win, cushion); in glXCushionSGI()
843 glXBindChannelToWindowSGIX(Display *dpy, int screen, int channel , Window window) in glXBindChannelToWindowSGIX() argument
846 GET_DISPATCH(dpy, t); in glXBindChannelToWindowSGIX()
849 return t->BindChannelToWindowSGIX(dpy, screen, channel, window); in glXBindChannelToWindowSGIX()
853 glXChannelRectSGIX(Display *dpy, int screen, int channel, int x, int y, int w, int h) in glXChannelRectSGIX() argument
856 GET_DISPATCH(dpy, t); in glXChannelRectSGIX()
859 return t->ChannelRectSGIX(dpy, screen, channel, x, y, w, h); in glXChannelRectSGIX()
863 glXQueryChannelRectSGIX(Display *dpy, int screen, int channel, int *x, int *y, int *w, int *h) in glXQueryChannelRectSGIX() argument
866 GET_DISPATCH(dpy, t); in glXQueryChannelRectSGIX()
869 return t->QueryChannelRectSGIX(dpy, screen, channel, x, y, w, h); in glXQueryChannelRectSGIX()
873 glXQueryChannelDeltasSGIX(Display *dpy, int screen, int channel, int *dx, int *dy, int *dw, int *dh) in glXQueryChannelDeltasSGIX() argument
876 GET_DISPATCH(dpy, t); in glXQueryChannelDeltasSGIX()
879 return t->QueryChannelDeltasSGIX(dpy, screen, channel, dx, dy, dw, dh); in glXQueryChannelDeltasSGIX()
883 glXChannelRectSyncSGIX(Display *dpy, int screen, int channel, GLenum synctype) in glXChannelRectSyncSGIX() argument
886 GET_DISPATCH(dpy, t); in glXChannelRectSyncSGIX()
889 return t->ChannelRectSyncSGIX(dpy, screen, channel, synctype); in glXChannelRectSyncSGIX()
897 glXAssociateDMPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer) in glXAssociateDMPbufferSGIX() argument
900 GET_DISPATCH(dpy, t); in glXAssociateDMPbufferSGIX()
903 return t->AssociateDMPbufferSGIX(dpy, pbuffer, params, dmbuffer); in glXAssociateDMPbufferSGIX()
912 glXGetTransparentIndexSUN(Display *dpy, Window overlay, Window underlay, unsigned long *pTransparen… in glXGetTransparentIndexSUN() argument
915 GET_DISPATCH(dpy, t); in glXGetTransparentIndexSUN()
918 return t->GetTransparentIndexSUN(dpy, overlay, underlay, pTransparent); in glXGetTransparentIndexSUN()
926 glXCopySubBufferMESA(Display *dpy, GLXDrawable drawable, int x, int y, int width, int height) in glXCopySubBufferMESA() argument
929 GET_DISPATCH(dpy, t); in glXCopySubBufferMESA()
932 t->CopySubBufferMESA(dpy, drawable, x, y, width, height); in glXCopySubBufferMESA()
940 glXReleaseBuffersMESA(Display *dpy, Window w) in glXReleaseBuffersMESA() argument
943 GET_DISPATCH(dpy, t); in glXReleaseBuffersMESA()
946 return t->ReleaseBuffersMESA(dpy, w); in glXReleaseBuffersMESA()
954 glXCreateGLXPixmapMESA(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap, Colormap cmap) in glXCreateGLXPixmapMESA() argument
957 GET_DISPATCH(dpy, t); in glXCreateGLXPixmapMESA()
960 return t->CreateGLXPixmapMESA(dpy, visinfo, pixmap, cmap); in glXCreateGLXPixmapMESA()
968 glXBindTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer, in glXBindTexImageEXT() argument
972 GET_DISPATCH(dpy, t); in glXBindTexImageEXT()
974 t->BindTexImageEXT(dpy, drawable, buffer, attrib_list); in glXBindTexImageEXT()
978 glXReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer) in glXReleaseTexImageEXT() argument
981 GET_DISPATCH(dpy, t); in glXReleaseTexImageEXT()
983 t->ReleaseTexImageEXT(dpy, drawable, buffer); in glXReleaseTexImageEXT()
1242 glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, in glXCreateContextAttribsARB() argument
1247 GET_DISPATCH(dpy, t); in glXCreateContextAttribsARB()
1250 return t->CreateContextAttribs(dpy, config, share_context, direct, in glXCreateContextAttribsARB()