Lines Matching refs:t
114 struct _glxapi_table *t = _mesa_GetGLXDispatchTable(); in get_dispatch() local
116 if (t) { in get_dispatch()
121 d->Table = t; in get_dispatch()
127 prevTable = t; in get_dispatch()
128 return t; in get_dispatch()
193 struct _glxapi_table *t; in glXChooseVisual() local
194 GET_DISPATCH(dpy, t); in glXChooseVisual()
195 if (!t) in glXChooseVisual()
197 return (t->ChooseVisual)(dpy, screen, list); in glXChooseVisual()
204 struct _glxapi_table *t; in glXCopyContext() local
205 GET_DISPATCH(dpy, t); in glXCopyContext()
206 if (!t) in glXCopyContext()
208 (t->CopyContext)(dpy, src, dst, mask); in glXCopyContext()
215 struct _glxapi_table *t; in glXCreateContext() local
216 GET_DISPATCH(dpy, t); in glXCreateContext()
217 if (!t) in glXCreateContext()
219 return (t->CreateContext)(dpy, visinfo, shareList, direct); in glXCreateContext()
226 struct _glxapi_table *t; in glXCreateGLXPixmap() local
227 GET_DISPATCH(dpy, t); in glXCreateGLXPixmap()
228 if (!t) in glXCreateGLXPixmap()
230 return (t->CreateGLXPixmap)(dpy, visinfo, pixmap); in glXCreateGLXPixmap()
237 struct _glxapi_table *t; in glXDestroyContext() local
238 GET_DISPATCH(dpy, t); in glXDestroyContext()
239 if (!t) in glXDestroyContext()
243 (t->DestroyContext)(dpy, ctx); in glXDestroyContext()
250 struct _glxapi_table *t; in glXDestroyGLXPixmap() local
251 GET_DISPATCH(dpy, t); in glXDestroyGLXPixmap()
252 if (!t) in glXDestroyGLXPixmap()
254 (t->DestroyGLXPixmap)(dpy, pixmap); in glXDestroyGLXPixmap()
261 struct _glxapi_table *t; in glXGetConfig() local
262 GET_DISPATCH(dpy, t); in glXGetConfig()
263 if (!t) in glXGetConfig()
265 return (t->GetConfig)(dpy, visinfo, attrib, value); in glXGetConfig()
293 struct _glxapi_table *t; in glXIsDirect() local
294 GET_DISPATCH(dpy, t); in glXIsDirect()
295 if (!t) in glXIsDirect()
297 return (t->IsDirect)(dpy, ctx); in glXIsDirect()
305 struct _glxapi_table *t; in glXMakeCurrent() local
306 GET_DISPATCH(dpy, t); in glXMakeCurrent()
307 if (!t) { in glXMakeCurrent()
310 b = (*t->MakeCurrent)(dpy, drawable, ctx); in glXMakeCurrent()
321 struct _glxapi_table *t; in glXQueryExtension() local
322 GET_DISPATCH(dpy, t); in glXQueryExtension()
323 if (!t) in glXQueryExtension()
325 return (t->QueryExtension)(dpy, errorb, event); in glXQueryExtension()
332 struct _glxapi_table *t; in glXQueryVersion() local
333 GET_DISPATCH(dpy, t); in glXQueryVersion()
334 if (!t) in glXQueryVersion()
336 return (t->QueryVersion)(dpy, maj, min); in glXQueryVersion()
343 struct _glxapi_table *t; in glXSwapBuffers() local
344 GET_DISPATCH(dpy, t); in glXSwapBuffers()
345 if (!t) in glXSwapBuffers()
347 (t->SwapBuffers)(dpy, drawable); in glXSwapBuffers()
354 struct _glxapi_table *t; in glXUseXFont() local
356 GET_DISPATCH(dpy, t); in glXUseXFont()
357 if (!t) in glXUseXFont()
359 (t->UseXFont)(font, first, count, listBase); in glXUseXFont()
366 struct _glxapi_table *t; in glXWaitGL() local
368 GET_DISPATCH(dpy, t); in glXWaitGL()
369 if (!t) in glXWaitGL()
371 (t->WaitGL)(); in glXWaitGL()
378 struct _glxapi_table *t; in glXWaitX() local
380 GET_DISPATCH(dpy, t); in glXWaitX()
381 if (!t) in glXWaitX()
383 (t->WaitX)(); in glXWaitX()
393 struct _glxapi_table *t; in glXGetClientString() local
394 GET_DISPATCH(dpy, t); in glXGetClientString()
395 if (!t) in glXGetClientString()
397 return (t->GetClientString)(dpy, name); in glXGetClientString()
404 struct _glxapi_table *t; in glXQueryExtensionsString() local
405 GET_DISPATCH(dpy, t); in glXQueryExtensionsString()
406 if (!t) in glXQueryExtensionsString()
408 return (t->QueryExtensionsString)(dpy, screen); in glXQueryExtensionsString()
415 struct _glxapi_table *t; in glXQueryServerString() local
416 GET_DISPATCH(dpy, t); in glXQueryServerString()
417 if (!t) in glXQueryServerString()
419 return (t->QueryServerString)(dpy, screen, name); in glXQueryServerString()
441 struct _glxapi_table *t; in glXChooseFBConfig() local
442 GET_DISPATCH(dpy, t); in glXChooseFBConfig()
443 if (!t) in glXChooseFBConfig()
445 return (t->ChooseFBConfig)(dpy, screen, attribList, nitems); in glXChooseFBConfig()
452 struct _glxapi_table *t; in glXCreateNewContext() local
453 GET_DISPATCH(dpy, t); in glXCreateNewContext()
454 if (!t) in glXCreateNewContext()
456 return (t->CreateNewContext)(dpy, config, renderType, shareList, direct); in glXCreateNewContext()
463 struct _glxapi_table *t; in glXCreatePbuffer() local
464 GET_DISPATCH(dpy, t); in glXCreatePbuffer()
465 if (!t) in glXCreatePbuffer()
467 return (t->CreatePbuffer)(dpy, config, attribList); in glXCreatePbuffer()
474 struct _glxapi_table *t; in glXCreatePixmap() local
475 GET_DISPATCH(dpy, t); in glXCreatePixmap()
476 if (!t) in glXCreatePixmap()
478 return (t->CreatePixmap)(dpy, config, pixmap, attribList); in glXCreatePixmap()
485 struct _glxapi_table *t; in glXCreateWindow() local
486 GET_DISPATCH(dpy, t); in glXCreateWindow()
487 if (!t) in glXCreateWindow()
489 return (t->CreateWindow)(dpy, config, win, attribList); in glXCreateWindow()
496 struct _glxapi_table *t; in glXDestroyPbuffer() local
497 GET_DISPATCH(dpy, t); in glXDestroyPbuffer()
498 if (!t) in glXDestroyPbuffer()
500 (t->DestroyPbuffer)(dpy, pbuf); in glXDestroyPbuffer()
507 struct _glxapi_table *t; in glXDestroyPixmap() local
508 GET_DISPATCH(dpy, t); in glXDestroyPixmap()
509 if (!t) in glXDestroyPixmap()
511 (t->DestroyPixmap)(dpy, pixmap); in glXDestroyPixmap()
518 struct _glxapi_table *t; in glXDestroyWindow() local
519 GET_DISPATCH(dpy, t); in glXDestroyWindow()
520 if (!t) in glXDestroyWindow()
522 (t->DestroyWindow)(dpy, window); in glXDestroyWindow()
537 struct _glxapi_table *t; in glXGetFBConfigAttrib() local
538 GET_DISPATCH(dpy, t); in glXGetFBConfigAttrib()
539 if (!t) in glXGetFBConfigAttrib()
541 return (t->GetFBConfigAttrib)(dpy, config, attribute, value); in glXGetFBConfigAttrib()
548 struct _glxapi_table *t; in glXGetFBConfigs() local
549 GET_DISPATCH(dpy, t); in glXGetFBConfigs()
550 if (!t) in glXGetFBConfigs()
552 return (t->GetFBConfigs)(dpy, screen, nelements); in glXGetFBConfigs()
558 struct _glxapi_table *t; in glXGetSelectedEvent() local
559 GET_DISPATCH(dpy, t); in glXGetSelectedEvent()
560 if (!t) in glXGetSelectedEvent()
562 (t->GetSelectedEvent)(dpy, drawable, mask); in glXGetSelectedEvent()
569 struct _glxapi_table *t; in glXGetVisualFromFBConfig() local
570 GET_DISPATCH(dpy, t); in glXGetVisualFromFBConfig()
571 if (!t) in glXGetVisualFromFBConfig()
573 return (t->GetVisualFromFBConfig)(dpy, config); in glXGetVisualFromFBConfig()
581 struct _glxapi_table *t; in glXMakeContextCurrent() local
582 GET_DISPATCH(dpy, t); in glXMakeContextCurrent()
583 if (!t) in glXMakeContextCurrent()
585 b = (t->MakeContextCurrent)(dpy, draw, read, ctx); in glXMakeContextCurrent()
596 struct _glxapi_table *t; in glXQueryContext() local
597 GET_DISPATCH(dpy, t); in glXQueryContext()
598 assert(t); in glXQueryContext()
599 if (!t) in glXQueryContext()
601 return (t->QueryContext)(dpy, ctx, attribute, value); in glXQueryContext()
608 struct _glxapi_table *t; in glXQueryDrawable() local
609 GET_DISPATCH(dpy, t); in glXQueryDrawable()
610 if (!t) in glXQueryDrawable()
612 (t->QueryDrawable)(dpy, draw, attribute, value); in glXQueryDrawable()
619 struct _glxapi_table *t; in glXSelectEvent() local
620 GET_DISPATCH(dpy, t); in glXSelectEvent()
621 if (!t) in glXSelectEvent()
623 (t->SelectEvent)(dpy, drawable, mask); in glXSelectEvent()
633 struct _glxapi_table *t; in glXSwapIntervalSGI() local
635 GET_DISPATCH(dpy, t); in glXSwapIntervalSGI()
636 if (!t) in glXSwapIntervalSGI()
638 return (t->SwapIntervalSGI)(interval); in glXSwapIntervalSGI()
648 struct _glxapi_table *t; in glXGetVideoSyncSGI() local
650 GET_DISPATCH(dpy, t); in glXGetVideoSyncSGI()
651 if (!t || !glXGetCurrentContext()) in glXGetVideoSyncSGI()
653 return (t->GetVideoSyncSGI)(count); in glXGetVideoSyncSGI()
659 struct _glxapi_table *t; in glXWaitVideoSyncSGI() local
661 GET_DISPATCH(dpy, t); in glXWaitVideoSyncSGI()
662 if (!t || !glXGetCurrentContext()) in glXWaitVideoSyncSGI()
664 return (t->WaitVideoSyncSGI)(divisor, remainder, count); in glXWaitVideoSyncSGI()
674 struct _glxapi_table *t; in glXMakeCurrentReadSGI() local
675 GET_DISPATCH(dpy, t); in glXMakeCurrentReadSGI()
676 if (!t) in glXMakeCurrentReadSGI()
678 return (t->MakeCurrentReadSGI)(dpy, draw, read, ctx); in glXMakeCurrentReadSGI()
693 struct _glxapi_table *t; in glXCreateGLXVideoSourceSGIX() local
694 GET_DISPATCH(dpy, t); in glXCreateGLXVideoSourceSGIX()
695 if (!t) in glXCreateGLXVideoSourceSGIX()
697 return (t->CreateGLXVideoSourceSGIX)(dpy, screen, server, path, nodeClass, drainNode); in glXCreateGLXVideoSourceSGIX()
703 struct _glxapi_table *t; in glXDestroyGLXVideoSourceSGIX() local
704 GET_DISPATCH(dpy, t); in glXDestroyGLXVideoSourceSGIX()
705 if (!t) in glXDestroyGLXVideoSourceSGIX()
707 return (t->DestroyGLXVideoSourceSGIX)(dpy, src); in glXDestroyGLXVideoSourceSGIX()
718 struct _glxapi_table *t; in glXFreeContextEXT() local
719 GET_DISPATCH(dpy, t); in glXFreeContextEXT()
720 if (!t) in glXFreeContextEXT()
722 (t->FreeContextEXT)(dpy, context); in glXFreeContextEXT()
740 struct _glxapi_table *t; in glXImportContextEXT() local
741 GET_DISPATCH(dpy, t); in glXImportContextEXT()
742 if (!t) in glXImportContextEXT()
744 return (t->ImportContextEXT)(dpy, contextID); in glXImportContextEXT()
750 struct _glxapi_table *t; in glXQueryContextInfoEXT() local
751 GET_DISPATCH(dpy, t); in glXQueryContextInfoEXT()
752 if (!t) in glXQueryContextInfoEXT()
754 return (t->QueryContextInfoEXT)(dpy, context, attribute, value); in glXQueryContextInfoEXT()
764 struct _glxapi_table *t; in glXGetFBConfigAttribSGIX() local
765 GET_DISPATCH(dpy, t); in glXGetFBConfigAttribSGIX()
766 if (!t) in glXGetFBConfigAttribSGIX()
768 return (t->GetFBConfigAttribSGIX)(dpy, config, attribute, value); in glXGetFBConfigAttribSGIX()
774 struct _glxapi_table *t; in glXChooseFBConfigSGIX() local
775 GET_DISPATCH(dpy, t); in glXChooseFBConfigSGIX()
776 if (!t) in glXChooseFBConfigSGIX()
778 return (t->ChooseFBConfigSGIX)(dpy, screen, attrib_list, nelements); in glXChooseFBConfigSGIX()
784 struct _glxapi_table *t; in glXCreateGLXPixmapWithConfigSGIX() local
785 GET_DISPATCH(dpy, t); in glXCreateGLXPixmapWithConfigSGIX()
786 if (!t) in glXCreateGLXPixmapWithConfigSGIX()
788 return (t->CreateGLXPixmapWithConfigSGIX)(dpy, config, pixmap); in glXCreateGLXPixmapWithConfigSGIX()
794 struct _glxapi_table *t; in glXCreateContextWithConfigSGIX() local
795 GET_DISPATCH(dpy, t); in glXCreateContextWithConfigSGIX()
796 if (!t) in glXCreateContextWithConfigSGIX()
798 return (t->CreateContextWithConfigSGIX)(dpy, config, render_type, share_list, direct); in glXCreateContextWithConfigSGIX()
804 struct _glxapi_table *t; in glXGetVisualFromFBConfigSGIX() local
805 GET_DISPATCH(dpy, t); in glXGetVisualFromFBConfigSGIX()
806 if (!t) in glXGetVisualFromFBConfigSGIX()
808 return (t->GetVisualFromFBConfigSGIX)(dpy, config); in glXGetVisualFromFBConfigSGIX()
814 struct _glxapi_table *t; in glXGetFBConfigFromVisualSGIX() local
815 GET_DISPATCH(dpy, t); in glXGetFBConfigFromVisualSGIX()
816 if (!t) in glXGetFBConfigFromVisualSGIX()
818 return (t->GetFBConfigFromVisualSGIX)(dpy, vis); in glXGetFBConfigFromVisualSGIX()
828 struct _glxapi_table *t; in glXCreateGLXPbufferSGIX() local
829 GET_DISPATCH(dpy, t); in glXCreateGLXPbufferSGIX()
830 if (!t) in glXCreateGLXPbufferSGIX()
832 return (t->CreateGLXPbufferSGIX)(dpy, config, width, height, attrib_list); in glXCreateGLXPbufferSGIX()
838 struct _glxapi_table *t; in glXDestroyGLXPbufferSGIX() local
839 GET_DISPATCH(dpy, t); in glXDestroyGLXPbufferSGIX()
840 if (!t) in glXDestroyGLXPbufferSGIX()
842 (t->DestroyGLXPbufferSGIX)(dpy, pbuf); in glXDestroyGLXPbufferSGIX()
848 struct _glxapi_table *t; in glXQueryGLXPbufferSGIX() local
849 GET_DISPATCH(dpy, t); in glXQueryGLXPbufferSGIX()
850 if (!t) in glXQueryGLXPbufferSGIX()
852 return (t->QueryGLXPbufferSGIX)(dpy, pbuf, attribute, value); in glXQueryGLXPbufferSGIX()
858 struct _glxapi_table *t; in glXSelectEventSGIX() local
859 GET_DISPATCH(dpy, t); in glXSelectEventSGIX()
860 if (!t) in glXSelectEventSGIX()
862 (t->SelectEventSGIX)(dpy, drawable, mask); in glXSelectEventSGIX()
868 struct _glxapi_table *t; in glXGetSelectedEventSGIX() local
869 GET_DISPATCH(dpy, t); in glXGetSelectedEventSGIX()
870 if (!t) in glXGetSelectedEventSGIX()
872 (t->GetSelectedEventSGIX)(dpy, drawable, mask); in glXGetSelectedEventSGIX()
882 struct _glxapi_table *t; in glXCushionSGI() local
883 GET_DISPATCH(dpy, t); in glXCushionSGI()
884 if (!t) in glXCushionSGI()
886 (t->CushionSGI)(dpy, win, cushion); in glXCushionSGI()
896 struct _glxapi_table *t; in glXBindChannelToWindowSGIX() local
897 GET_DISPATCH(dpy, t); in glXBindChannelToWindowSGIX()
898 if (!t) in glXBindChannelToWindowSGIX()
900 return (t->BindChannelToWindowSGIX)(dpy, screen, channel, window); in glXBindChannelToWindowSGIX()
906 struct _glxapi_table *t; in glXChannelRectSGIX() local
907 GET_DISPATCH(dpy, t); in glXChannelRectSGIX()
908 if (!t) in glXChannelRectSGIX()
910 return (t->ChannelRectSGIX)(dpy, screen, channel, x, y, w, h); in glXChannelRectSGIX()
916 struct _glxapi_table *t; in glXQueryChannelRectSGIX() local
917 GET_DISPATCH(dpy, t); in glXQueryChannelRectSGIX()
918 if (!t) in glXQueryChannelRectSGIX()
920 return (t->QueryChannelRectSGIX)(dpy, screen, channel, x, y, w, h); in glXQueryChannelRectSGIX()
926 struct _glxapi_table *t; in glXQueryChannelDeltasSGIX() local
927 GET_DISPATCH(dpy, t); in glXQueryChannelDeltasSGIX()
928 if (!t) in glXQueryChannelDeltasSGIX()
930 return (t->QueryChannelDeltasSGIX)(dpy, screen, channel, dx, dy, dw, dh); in glXQueryChannelDeltasSGIX()
936 struct _glxapi_table *t; in glXChannelRectSyncSGIX() local
937 GET_DISPATCH(dpy, t); in glXChannelRectSyncSGIX()
938 if (!t) in glXChannelRectSyncSGIX()
940 return (t->ChannelRectSyncSGIX)(dpy, screen, channel, synctype); in glXChannelRectSyncSGIX()
950 struct _glxapi_table *t; in glXAssociateDMPbufferSGIX() local
951 GET_DISPATCH(dpy, t); in glXAssociateDMPbufferSGIX()
952 if (!t) in glXAssociateDMPbufferSGIX()
954 return (t->AssociateDMPbufferSGIX)(dpy, pbuffer, params, dmbuffer); in glXAssociateDMPbufferSGIX()
965 struct _glxapi_table *t; in glXJoinSwapGroupSGIX() local
966 GET_DISPATCH(dpy, t); in glXJoinSwapGroupSGIX()
967 if (!t) in glXJoinSwapGroupSGIX()
969 (*t->JoinSwapGroupSGIX)(dpy, drawable, member); in glXJoinSwapGroupSGIX()
978 struct _glxapi_table *t; in glXBindSwapBarrierSGIX() local
979 GET_DISPATCH(dpy, t); in glXBindSwapBarrierSGIX()
980 if (!t) in glXBindSwapBarrierSGIX()
982 (*t->BindSwapBarrierSGIX)(dpy, drawable, barrier); in glXBindSwapBarrierSGIX()
988 struct _glxapi_table *t; in glXQueryMaxSwapBarriersSGIX() local
989 GET_DISPATCH(dpy, t); in glXQueryMaxSwapBarriersSGIX()
990 if (!t) in glXQueryMaxSwapBarriersSGIX()
992 return (*t->QueryMaxSwapBarriersSGIX)(dpy, screen, max); in glXQueryMaxSwapBarriersSGIX()
1002 struct _glxapi_table *t; in glXGetTransparentIndexSUN() local
1003 GET_DISPATCH(dpy, t); in glXGetTransparentIndexSUN()
1004 if (!t) in glXGetTransparentIndexSUN()
1006 return (*t->GetTransparentIndexSUN)(dpy, overlay, underlay, pTransparent); in glXGetTransparentIndexSUN()
1016 struct _glxapi_table *t; in glXCopySubBufferMESA() local
1017 GET_DISPATCH(dpy, t); in glXCopySubBufferMESA()
1018 if (!t) in glXCopySubBufferMESA()
1020 (t->CopySubBufferMESA)(dpy, drawable, x, y, width, height); in glXCopySubBufferMESA()
1030 struct _glxapi_table *t; in glXReleaseBuffersMESA() local
1031 GET_DISPATCH(dpy, t); in glXReleaseBuffersMESA()
1032 if (!t) in glXReleaseBuffersMESA()
1034 return (t->ReleaseBuffersMESA)(dpy, w); in glXReleaseBuffersMESA()
1044 struct _glxapi_table *t; in glXCreateGLXPixmapMESA() local
1045 GET_DISPATCH(dpy, t); in glXCreateGLXPixmapMESA()
1046 if (!t) in glXCreateGLXPixmapMESA()
1048 return (t->CreateGLXPixmapMESA)(dpy, visinfo, pixmap, cmap); in glXCreateGLXPixmapMESA()
1058 struct _glxapi_table *t; in glXSet3DfxModeMESA() local
1060 GET_DISPATCH(dpy, t); in glXSet3DfxModeMESA()
1061 if (!t) in glXSet3DfxModeMESA()
1063 return (t->Set3DfxModeMESA)(mode); in glXSet3DfxModeMESA()
1076 struct _glxapi_table *t; in glXAllocateMemoryNV() local
1078 GET_DISPATCH(dpy, t); in glXAllocateMemoryNV()
1079 if (!t) in glXAllocateMemoryNV()
1081 return (t->AllocateMemoryNV)(size, readFrequency, writeFrequency, priority); in glXAllocateMemoryNV()
1088 struct _glxapi_table *t; in glXFreeMemoryNV() local
1090 GET_DISPATCH(dpy, t); in glXFreeMemoryNV()
1091 if (!t) in glXFreeMemoryNV()
1093 (t->FreeMemoryNV)(pointer); in glXFreeMemoryNV()
1104 struct _glxapi_table *t; in glXGetAGPOffsetMESA() local
1106 GET_DISPATCH(dpy, t); in glXGetAGPOffsetMESA()
1107 if (!t) in glXGetAGPOffsetMESA()
1109 return (t->GetAGPOffsetMESA)(pointer); in glXGetAGPOffsetMESA()
1119 struct _glxapi_table *t; in glXBindTexImageEXT() local
1120 GET_DISPATCH(dpy, t); in glXBindTexImageEXT()
1121 if (t) in glXBindTexImageEXT()
1122 t->BindTexImageEXT(dpy, drawable, buffer, attrib_list); in glXBindTexImageEXT()
1128 struct _glxapi_table *t; in glXReleaseTexImageEXT() local
1129 GET_DISPATCH(dpy, t); in glXReleaseTexImageEXT()
1130 if (t) in glXReleaseTexImageEXT()
1131 t->ReleaseTexImageEXT(dpy, drawable, buffer); in glXReleaseTexImageEXT()
1211 _glxapi_set_no_op_table(struct _glxapi_table *t) in _glxapi_set_no_op_table() argument
1214 nop_func *dispatch = (nop_func *) t; in _glxapi_set_no_op_table()