• Home
  • Raw
  • Download

Lines Matching refs:t

111       struct _glxapi_table *t = _mesa_GetGLXDispatchTable();  in get_dispatch()  local
113 if (t) { in get_dispatch()
118 d->Table = t; in get_dispatch()
124 prevTable = t; in get_dispatch()
125 return t; in get_dispatch()
158 struct _glxapi_table *t; in glXChooseVisual() local
159 GET_DISPATCH(dpy, t); in glXChooseVisual()
160 if (!t) in glXChooseVisual()
162 return t->ChooseVisual(dpy, screen, list); in glXChooseVisual()
169 struct _glxapi_table *t; in glXCopyContext() local
170 GET_DISPATCH(dpy, t); in glXCopyContext()
171 if (!t) in glXCopyContext()
173 t->CopyContext(dpy, src, dst, mask); in glXCopyContext()
180 struct _glxapi_table *t; in glXCreateContext() local
181 GET_DISPATCH(dpy, t); in glXCreateContext()
182 if (!t) in glXCreateContext()
184 return t->CreateContext(dpy, visinfo, shareList, direct); in glXCreateContext()
191 struct _glxapi_table *t; in glXCreateGLXPixmap() local
192 GET_DISPATCH(dpy, t); in glXCreateGLXPixmap()
193 if (!t) in glXCreateGLXPixmap()
195 return t->CreateGLXPixmap(dpy, visinfo, pixmap); in glXCreateGLXPixmap()
202 struct _glxapi_table *t; in glXDestroyContext() local
203 GET_DISPATCH(dpy, t); in glXDestroyContext()
204 if (!t) in glXDestroyContext()
206 t->DestroyContext(dpy, ctx); in glXDestroyContext()
213 struct _glxapi_table *t; in glXDestroyGLXPixmap() local
214 GET_DISPATCH(dpy, t); in glXDestroyGLXPixmap()
215 if (!t) in glXDestroyGLXPixmap()
217 t->DestroyGLXPixmap(dpy, pixmap); in glXDestroyGLXPixmap()
224 struct _glxapi_table *t; in glXGetConfig() local
225 GET_DISPATCH(dpy, t); in glXGetConfig()
226 if (!t) in glXGetConfig()
228 return t->GetConfig(dpy, visinfo, attrib, value); in glXGetConfig()
253 struct _glxapi_table *t; in glXIsDirect() local
254 GET_DISPATCH(dpy, t); in glXIsDirect()
255 if (!t) in glXIsDirect()
257 return t->IsDirect(dpy, ctx); in glXIsDirect()
265 struct _glxapi_table *t; in glXMakeCurrent() local
266 GET_DISPATCH(dpy, t); in glXMakeCurrent()
267 if (!t) { in glXMakeCurrent()
270 b = t->MakeCurrent(dpy, drawable, ctx); in glXMakeCurrent()
278 struct _glxapi_table *t; in glXQueryExtension() local
279 GET_DISPATCH(dpy, t); in glXQueryExtension()
280 if (!t) in glXQueryExtension()
282 return t->QueryExtension(dpy, errorb, event); in glXQueryExtension()
289 struct _glxapi_table *t; in glXQueryVersion() local
290 GET_DISPATCH(dpy, t); in glXQueryVersion()
291 if (!t) in glXQueryVersion()
293 return t->QueryVersion(dpy, maj, min); in glXQueryVersion()
300 struct _glxapi_table *t; in glXSwapBuffers() local
301 GET_DISPATCH(dpy, t); in glXSwapBuffers()
302 if (!t) in glXSwapBuffers()
304 t->SwapBuffers(dpy, drawable); in glXSwapBuffers()
311 struct _glxapi_table *t; in glXUseXFont() local
313 GET_DISPATCH(dpy, t); in glXUseXFont()
314 if (!t) in glXUseXFont()
316 t->UseXFont(font, first, count, listBase); in glXUseXFont()
323 struct _glxapi_table *t; in glXWaitGL() local
325 GET_DISPATCH(dpy, t); in glXWaitGL()
326 if (!t) in glXWaitGL()
328 t->WaitGL(); in glXWaitGL()
335 struct _glxapi_table *t; in glXWaitX() local
337 GET_DISPATCH(dpy, t); in glXWaitX()
338 if (!t) in glXWaitX()
340 t->WaitX(); in glXWaitX()
350 struct _glxapi_table *t; in glXGetClientString() local
351 GET_DISPATCH(dpy, t); in glXGetClientString()
352 if (!t) in glXGetClientString()
354 return t->GetClientString(dpy, name); in glXGetClientString()
361 struct _glxapi_table *t; in glXQueryExtensionsString() local
362 GET_DISPATCH(dpy, t); in glXQueryExtensionsString()
363 if (!t) in glXQueryExtensionsString()
365 return t->QueryExtensionsString(dpy, screen); in glXQueryExtensionsString()
372 struct _glxapi_table *t; in glXQueryServerString() local
373 GET_DISPATCH(dpy, t); in glXQueryServerString()
374 if (!t) in glXQueryServerString()
376 return t->QueryServerString(dpy, screen, name); in glXQueryServerString()
398 struct _glxapi_table *t; in glXChooseFBConfig() local
399 GET_DISPATCH(dpy, t); in glXChooseFBConfig()
400 if (!t) in glXChooseFBConfig()
402 return t->ChooseFBConfig(dpy, screen, attribList, nitems); in glXChooseFBConfig()
409 struct _glxapi_table *t; in glXCreateNewContext() local
410 GET_DISPATCH(dpy, t); in glXCreateNewContext()
411 if (!t) in glXCreateNewContext()
413 return t->CreateNewContext(dpy, config, renderType, shareList, direct); in glXCreateNewContext()
420 struct _glxapi_table *t; in glXCreatePbuffer() local
421 GET_DISPATCH(dpy, t); in glXCreatePbuffer()
422 if (!t) in glXCreatePbuffer()
424 return t->CreatePbuffer(dpy, config, attribList); in glXCreatePbuffer()
431 struct _glxapi_table *t; in glXCreatePixmap() local
432 GET_DISPATCH(dpy, t); in glXCreatePixmap()
433 if (!t) in glXCreatePixmap()
435 return t->CreatePixmap(dpy, config, pixmap, attribList); in glXCreatePixmap()
442 struct _glxapi_table *t; in glXCreateWindow() local
443 GET_DISPATCH(dpy, t); in glXCreateWindow()
444 if (!t) in glXCreateWindow()
446 return t->CreateWindow(dpy, config, win, attribList); in glXCreateWindow()
453 struct _glxapi_table *t; in glXDestroyPbuffer() local
454 GET_DISPATCH(dpy, t); in glXDestroyPbuffer()
455 if (!t) in glXDestroyPbuffer()
457 t->DestroyPbuffer(dpy, pbuf); in glXDestroyPbuffer()
464 struct _glxapi_table *t; in glXDestroyPixmap() local
465 GET_DISPATCH(dpy, t); in glXDestroyPixmap()
466 if (!t) in glXDestroyPixmap()
468 t->DestroyPixmap(dpy, pixmap); in glXDestroyPixmap()
475 struct _glxapi_table *t; in glXDestroyWindow() local
476 GET_DISPATCH(dpy, t); in glXDestroyWindow()
477 if (!t) in glXDestroyWindow()
479 t->DestroyWindow(dpy, window); in glXDestroyWindow()
494 struct _glxapi_table *t; in glXGetFBConfigAttrib() local
495 GET_DISPATCH(dpy, t); in glXGetFBConfigAttrib()
496 if (!t) in glXGetFBConfigAttrib()
498 return t->GetFBConfigAttrib(dpy, config, attribute, value); in glXGetFBConfigAttrib()
505 struct _glxapi_table *t; in glXGetFBConfigs() local
506 GET_DISPATCH(dpy, t); in glXGetFBConfigs()
507 if (!t) in glXGetFBConfigs()
509 return t->GetFBConfigs(dpy, screen, nelements); in glXGetFBConfigs()
515 struct _glxapi_table *t; in glXGetSelectedEvent() local
516 GET_DISPATCH(dpy, t); in glXGetSelectedEvent()
517 if (!t) in glXGetSelectedEvent()
519 t->GetSelectedEvent(dpy, drawable, mask); in glXGetSelectedEvent()
526 struct _glxapi_table *t; in glXGetVisualFromFBConfig() local
527 GET_DISPATCH(dpy, t); in glXGetVisualFromFBConfig()
528 if (!t) in glXGetVisualFromFBConfig()
530 return t->GetVisualFromFBConfig(dpy, config); in glXGetVisualFromFBConfig()
538 struct _glxapi_table *t; in glXMakeContextCurrent() local
539 GET_DISPATCH(dpy, t); in glXMakeContextCurrent()
540 if (!t) in glXMakeContextCurrent()
542 b = t->MakeContextCurrent(dpy, draw, read, ctx); in glXMakeContextCurrent()
550 struct _glxapi_table *t; in glXQueryContext() local
551 GET_DISPATCH(dpy, t); in glXQueryContext()
552 assert(t); in glXQueryContext()
553 if (!t) in glXQueryContext()
555 return t->QueryContext(dpy, ctx, attribute, value); in glXQueryContext()
562 struct _glxapi_table *t; in glXQueryDrawable() local
563 GET_DISPATCH(dpy, t); in glXQueryDrawable()
564 if (!t) in glXQueryDrawable()
566 t->QueryDrawable(dpy, draw, attribute, value); in glXQueryDrawable()
573 struct _glxapi_table *t; in glXSelectEvent() local
574 GET_DISPATCH(dpy, t); in glXSelectEvent()
575 if (!t) in glXSelectEvent()
577 t->SelectEvent(dpy, drawable, mask); in glXSelectEvent()
587 struct _glxapi_table *t; in glXSwapIntervalSGI() local
589 GET_DISPATCH(dpy, t); in glXSwapIntervalSGI()
590 if (!t) in glXSwapIntervalSGI()
592 return t->SwapIntervalSGI(interval); in glXSwapIntervalSGI()
602 struct _glxapi_table *t; in glXGetVideoSyncSGI() local
604 GET_DISPATCH(dpy, t); in glXGetVideoSyncSGI()
605 if (!t || !glXGetCurrentContext()) in glXGetVideoSyncSGI()
607 return t->GetVideoSyncSGI(count); in glXGetVideoSyncSGI()
613 struct _glxapi_table *t; in glXWaitVideoSyncSGI() local
615 GET_DISPATCH(dpy, t); in glXWaitVideoSyncSGI()
616 if (!t || !glXGetCurrentContext()) in glXWaitVideoSyncSGI()
618 return t->WaitVideoSyncSGI(divisor, remainder, count); in glXWaitVideoSyncSGI()
628 struct _glxapi_table *t; in glXMakeCurrentReadSGI() local
629 GET_DISPATCH(dpy, t); in glXMakeCurrentReadSGI()
630 if (!t) in glXMakeCurrentReadSGI()
632 return t->MakeCurrentReadSGI(dpy, draw, read, ctx); in glXMakeCurrentReadSGI()
647 struct _glxapi_table *t; in glXCreateGLXVideoSourceSGIX() local
648 GET_DISPATCH(dpy, t); in glXCreateGLXVideoSourceSGIX()
649 if (!t) in glXCreateGLXVideoSourceSGIX()
651 return t->CreateGLXVideoSourceSGIX(dpy, screen, server, path, nodeClass, drainNode); in glXCreateGLXVideoSourceSGIX()
657 struct _glxapi_table *t; in glXDestroyGLXVideoSourceSGIX() local
658 GET_DISPATCH(dpy, t); in glXDestroyGLXVideoSourceSGIX()
659 if (!t) in glXDestroyGLXVideoSourceSGIX()
661 return t->DestroyGLXVideoSourceSGIX(dpy, src); in glXDestroyGLXVideoSourceSGIX()
672 struct _glxapi_table *t; in glXFreeContextEXT() local
673 GET_DISPATCH(dpy, t); in glXFreeContextEXT()
674 if (!t) in glXFreeContextEXT()
676 t->FreeContextEXT(dpy, context); in glXFreeContextEXT()
694 struct _glxapi_table *t; in glXImportContextEXT() local
695 GET_DISPATCH(dpy, t); in glXImportContextEXT()
696 if (!t) in glXImportContextEXT()
698 return t->ImportContextEXT(dpy, contextID); in glXImportContextEXT()
704 struct _glxapi_table *t; in glXQueryContextInfoEXT() local
705 GET_DISPATCH(dpy, t); in glXQueryContextInfoEXT()
706 if (!t) in glXQueryContextInfoEXT()
708 return t->QueryContextInfoEXT(dpy, context, attribute, value); in glXQueryContextInfoEXT()
718 struct _glxapi_table *t; in glXGetFBConfigAttribSGIX() local
719 GET_DISPATCH(dpy, t); in glXGetFBConfigAttribSGIX()
720 if (!t) in glXGetFBConfigAttribSGIX()
722 return t->GetFBConfigAttribSGIX(dpy, config, attribute, value); in glXGetFBConfigAttribSGIX()
728 struct _glxapi_table *t; in glXChooseFBConfigSGIX() local
729 GET_DISPATCH(dpy, t); in glXChooseFBConfigSGIX()
730 if (!t) in glXChooseFBConfigSGIX()
732 return t->ChooseFBConfigSGIX(dpy, screen, attrib_list, nelements); in glXChooseFBConfigSGIX()
738 struct _glxapi_table *t; in glXCreateGLXPixmapWithConfigSGIX() local
739 GET_DISPATCH(dpy, t); in glXCreateGLXPixmapWithConfigSGIX()
740 if (!t) in glXCreateGLXPixmapWithConfigSGIX()
742 return t->CreateGLXPixmapWithConfigSGIX(dpy, config, pixmap); in glXCreateGLXPixmapWithConfigSGIX()
748 struct _glxapi_table *t; in glXCreateContextWithConfigSGIX() local
749 GET_DISPATCH(dpy, t); in glXCreateContextWithConfigSGIX()
750 if (!t) in glXCreateContextWithConfigSGIX()
752 return t->CreateContextWithConfigSGIX(dpy, config, render_type, share_list, direct); in glXCreateContextWithConfigSGIX()
758 struct _glxapi_table *t; in glXGetVisualFromFBConfigSGIX() local
759 GET_DISPATCH(dpy, t); in glXGetVisualFromFBConfigSGIX()
760 if (!t) in glXGetVisualFromFBConfigSGIX()
762 return t->GetVisualFromFBConfigSGIX(dpy, config); in glXGetVisualFromFBConfigSGIX()
768 struct _glxapi_table *t; in glXGetFBConfigFromVisualSGIX() local
769 GET_DISPATCH(dpy, t); in glXGetFBConfigFromVisualSGIX()
770 if (!t) in glXGetFBConfigFromVisualSGIX()
772 return t->GetFBConfigFromVisualSGIX(dpy, vis); in glXGetFBConfigFromVisualSGIX()
782 struct _glxapi_table *t; in glXCreateGLXPbufferSGIX() local
783 GET_DISPATCH(dpy, t); in glXCreateGLXPbufferSGIX()
784 if (!t) in glXCreateGLXPbufferSGIX()
786 return t->CreateGLXPbufferSGIX(dpy, config, width, height, attrib_list); in glXCreateGLXPbufferSGIX()
792 struct _glxapi_table *t; in glXDestroyGLXPbufferSGIX() local
793 GET_DISPATCH(dpy, t); in glXDestroyGLXPbufferSGIX()
794 if (!t) in glXDestroyGLXPbufferSGIX()
796 t->DestroyGLXPbufferSGIX(dpy, pbuf); in glXDestroyGLXPbufferSGIX()
802 struct _glxapi_table *t; in glXQueryGLXPbufferSGIX() local
803 GET_DISPATCH(dpy, t); in glXQueryGLXPbufferSGIX()
804 if (!t) in glXQueryGLXPbufferSGIX()
806 return t->QueryGLXPbufferSGIX(dpy, pbuf, attribute, value); in glXQueryGLXPbufferSGIX()
812 struct _glxapi_table *t; in glXSelectEventSGIX() local
813 GET_DISPATCH(dpy, t); in glXSelectEventSGIX()
814 if (!t) in glXSelectEventSGIX()
816 t->SelectEventSGIX(dpy, drawable, mask); in glXSelectEventSGIX()
822 struct _glxapi_table *t; in glXGetSelectedEventSGIX() local
823 GET_DISPATCH(dpy, t); in glXGetSelectedEventSGIX()
824 if (!t) in glXGetSelectedEventSGIX()
826 t->GetSelectedEventSGIX(dpy, drawable, mask); in glXGetSelectedEventSGIX()
836 struct _glxapi_table *t; in glXCushionSGI() local
837 GET_DISPATCH(dpy, t); in glXCushionSGI()
838 if (!t) in glXCushionSGI()
840 t->CushionSGI(dpy, win, cushion); in glXCushionSGI()
850 struct _glxapi_table *t; in glXBindChannelToWindowSGIX() local
851 GET_DISPATCH(dpy, t); in glXBindChannelToWindowSGIX()
852 if (!t) in glXBindChannelToWindowSGIX()
854 return t->BindChannelToWindowSGIX(dpy, screen, channel, window); in glXBindChannelToWindowSGIX()
860 struct _glxapi_table *t; in glXChannelRectSGIX() local
861 GET_DISPATCH(dpy, t); in glXChannelRectSGIX()
862 if (!t) in glXChannelRectSGIX()
864 return t->ChannelRectSGIX(dpy, screen, channel, x, y, w, h); in glXChannelRectSGIX()
870 struct _glxapi_table *t; in glXQueryChannelRectSGIX() local
871 GET_DISPATCH(dpy, t); in glXQueryChannelRectSGIX()
872 if (!t) in glXQueryChannelRectSGIX()
874 return t->QueryChannelRectSGIX(dpy, screen, channel, x, y, w, h); in glXQueryChannelRectSGIX()
880 struct _glxapi_table *t; in glXQueryChannelDeltasSGIX() local
881 GET_DISPATCH(dpy, t); in glXQueryChannelDeltasSGIX()
882 if (!t) in glXQueryChannelDeltasSGIX()
884 return t->QueryChannelDeltasSGIX(dpy, screen, channel, dx, dy, dw, dh); in glXQueryChannelDeltasSGIX()
890 struct _glxapi_table *t; in glXChannelRectSyncSGIX() local
891 GET_DISPATCH(dpy, t); in glXChannelRectSyncSGIX()
892 if (!t) in glXChannelRectSyncSGIX()
894 return t->ChannelRectSyncSGIX(dpy, screen, channel, synctype); in glXChannelRectSyncSGIX()
904 struct _glxapi_table *t; in glXAssociateDMPbufferSGIX() local
905 GET_DISPATCH(dpy, t); in glXAssociateDMPbufferSGIX()
906 if (!t) in glXAssociateDMPbufferSGIX()
908 return t->AssociateDMPbufferSGIX(dpy, pbuffer, params, dmbuffer); in glXAssociateDMPbufferSGIX()
919 struct _glxapi_table *t; in glXJoinSwapGroupSGIX() local
920 GET_DISPATCH(dpy, t); in glXJoinSwapGroupSGIX()
921 if (!t) in glXJoinSwapGroupSGIX()
923 t->JoinSwapGroupSGIX(dpy, drawable, member); in glXJoinSwapGroupSGIX()
932 struct _glxapi_table *t; in glXBindSwapBarrierSGIX() local
933 GET_DISPATCH(dpy, t); in glXBindSwapBarrierSGIX()
934 if (!t) in glXBindSwapBarrierSGIX()
936 t->BindSwapBarrierSGIX(dpy, drawable, barrier); in glXBindSwapBarrierSGIX()
942 struct _glxapi_table *t; in glXQueryMaxSwapBarriersSGIX() local
943 GET_DISPATCH(dpy, t); in glXQueryMaxSwapBarriersSGIX()
944 if (!t) in glXQueryMaxSwapBarriersSGIX()
946 return t->QueryMaxSwapBarriersSGIX(dpy, screen, max); in glXQueryMaxSwapBarriersSGIX()
956 struct _glxapi_table *t; in glXGetTransparentIndexSUN() local
957 GET_DISPATCH(dpy, t); in glXGetTransparentIndexSUN()
958 if (!t) in glXGetTransparentIndexSUN()
960 return t->GetTransparentIndexSUN(dpy, overlay, underlay, pTransparent); in glXGetTransparentIndexSUN()
970 struct _glxapi_table *t; in glXCopySubBufferMESA() local
971 GET_DISPATCH(dpy, t); in glXCopySubBufferMESA()
972 if (!t) in glXCopySubBufferMESA()
974 t->CopySubBufferMESA(dpy, drawable, x, y, width, height); in glXCopySubBufferMESA()
984 struct _glxapi_table *t; in glXReleaseBuffersMESA() local
985 GET_DISPATCH(dpy, t); in glXReleaseBuffersMESA()
986 if (!t) in glXReleaseBuffersMESA()
988 return t->ReleaseBuffersMESA(dpy, w); in glXReleaseBuffersMESA()
998 struct _glxapi_table *t; in glXCreateGLXPixmapMESA() local
999 GET_DISPATCH(dpy, t); in glXCreateGLXPixmapMESA()
1000 if (!t) in glXCreateGLXPixmapMESA()
1002 return t->CreateGLXPixmapMESA(dpy, visinfo, pixmap, cmap); in glXCreateGLXPixmapMESA()
1012 struct _glxapi_table *t; in glXSet3DfxModeMESA() local
1014 GET_DISPATCH(dpy, t); in glXSet3DfxModeMESA()
1015 if (!t) in glXSet3DfxModeMESA()
1017 return t->Set3DfxModeMESA(mode); in glXSet3DfxModeMESA()
1030 struct _glxapi_table *t; in glXAllocateMemoryNV() local
1032 GET_DISPATCH(dpy, t); in glXAllocateMemoryNV()
1033 if (!t) in glXAllocateMemoryNV()
1035 return t->AllocateMemoryNV(size, readFrequency, writeFrequency, priority); in glXAllocateMemoryNV()
1042 struct _glxapi_table *t; in glXFreeMemoryNV() local
1044 GET_DISPATCH(dpy, t); in glXFreeMemoryNV()
1045 if (!t) in glXFreeMemoryNV()
1047 t->FreeMemoryNV(pointer); in glXFreeMemoryNV()
1058 struct _glxapi_table *t; in glXGetAGPOffsetMESA() local
1060 GET_DISPATCH(dpy, t); in glXGetAGPOffsetMESA()
1061 if (!t) in glXGetAGPOffsetMESA()
1063 return t->GetAGPOffsetMESA(pointer); in glXGetAGPOffsetMESA()
1073 struct _glxapi_table *t; in glXBindTexImageEXT() local
1074 GET_DISPATCH(dpy, t); in glXBindTexImageEXT()
1075 if (t) in glXBindTexImageEXT()
1076 t->BindTexImageEXT(dpy, drawable, buffer, attrib_list); in glXBindTexImageEXT()
1082 struct _glxapi_table *t; in glXReleaseTexImageEXT() local
1083 GET_DISPATCH(dpy, t); in glXReleaseTexImageEXT()
1084 if (t) in glXReleaseTexImageEXT()
1085 t->ReleaseTexImageEXT(dpy, drawable, buffer); in glXReleaseTexImageEXT()
1165 _glxapi_set_no_op_table(struct _glxapi_table *t) in _glxapi_set_no_op_table() argument
1168 nop_func *dispatch = (nop_func *) t; in _glxapi_set_no_op_table()
1386 struct _glxapi_table *t; in glXCreateContextAttribsARB() local
1387 GET_DISPATCH(dpy, t); in glXCreateContextAttribsARB()
1388 if (!t) in glXCreateContextAttribsARB()
1390 return t->CreateContextAttribs(dpy, config, share_context, direct, in glXCreateContextAttribsARB()