GET_DISPATCH(dpy, t);
if (!t)
return NULL;
- return (t->ChooseVisual)(dpy, screen, list);
+ return t->ChooseVisual(dpy, screen, list);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->CopyContext)(dpy, src, dst, mask);
+ t->CopyContext(dpy, src, dst, mask);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreateContext)(dpy, visinfo, shareList, direct);
+ return t->CreateContext(dpy, visinfo, shareList, direct);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreateGLXPixmap)(dpy, visinfo, pixmap);
+ return t->CreateGLXPixmap(dpy, visinfo, pixmap);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->DestroyContext)(dpy, ctx);
+ t->DestroyContext(dpy, ctx);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->DestroyGLXPixmap)(dpy, pixmap);
+ t->DestroyGLXPixmap(dpy, pixmap);
}
GET_DISPATCH(dpy, t);
if (!t)
return GLX_NO_EXTENSION;
- return (t->GetConfig)(dpy, visinfo, attrib, value);
+ return t->GetConfig(dpy, visinfo, attrib, value);
}
GET_DISPATCH(dpy, t);
if (!t)
return False;
- return (t->IsDirect)(dpy, ctx);
+ return t->IsDirect(dpy, ctx);
}
if (!t) {
return False;
}
- b = (*t->MakeCurrent)(dpy, drawable, ctx);
+ b = t->MakeCurrent(dpy, drawable, ctx);
return b;
}
GET_DISPATCH(dpy, t);
if (!t)
return False;
- return (t->QueryExtension)(dpy, errorb, event);
+ return t->QueryExtension(dpy, errorb, event);
}
GET_DISPATCH(dpy, t);
if (!t)
return False;
- return (t->QueryVersion)(dpy, maj, min);
+ return t->QueryVersion(dpy, maj, min);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->SwapBuffers)(dpy, drawable);
+ t->SwapBuffers(dpy, drawable);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->UseXFont)(font, first, count, listBase);
+ t->UseXFont(font, first, count, listBase);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->WaitGL)();
+ t->WaitGL();
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->WaitX)();
+ t->WaitX();
}
GET_DISPATCH(dpy, t);
if (!t)
return NULL;
- return (t->GetClientString)(dpy, name);
+ return t->GetClientString(dpy, name);
}
GET_DISPATCH(dpy, t);
if (!t)
return NULL;
- return (t->QueryExtensionsString)(dpy, screen);
+ return t->QueryExtensionsString(dpy, screen);
}
GET_DISPATCH(dpy, t);
if (!t)
return NULL;
- return (t->QueryServerString)(dpy, screen, name);
+ return t->QueryServerString(dpy, screen, name);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->ChooseFBConfig)(dpy, screen, attribList, nitems);
+ return t->ChooseFBConfig(dpy, screen, attribList, nitems);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreateNewContext)(dpy, config, renderType, shareList, direct);
+ return t->CreateNewContext(dpy, config, renderType, shareList, direct);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreatePbuffer)(dpy, config, attribList);
+ return t->CreatePbuffer(dpy, config, attribList);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreatePixmap)(dpy, config, pixmap, attribList);
+ return t->CreatePixmap(dpy, config, pixmap, attribList);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreateWindow)(dpy, config, win, attribList);
+ return t->CreateWindow(dpy, config, win, attribList);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->DestroyPbuffer)(dpy, pbuf);
+ t->DestroyPbuffer(dpy, pbuf);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->DestroyPixmap)(dpy, pixmap);
+ t->DestroyPixmap(dpy, pixmap);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->DestroyWindow)(dpy, window);
+ t->DestroyWindow(dpy, window);
}
GET_DISPATCH(dpy, t);
if (!t)
return GLX_NO_EXTENSION;
- return (t->GetFBConfigAttrib)(dpy, config, attribute, value);
+ return t->GetFBConfigAttrib(dpy, config, attribute, value);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->GetFBConfigs)(dpy, screen, nelements);
+ return t->GetFBConfigs(dpy, screen, nelements);
}
void PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->GetSelectedEvent)(dpy, drawable, mask);
+ t->GetSelectedEvent(dpy, drawable, mask);
}
GET_DISPATCH(dpy, t);
if (!t)
return NULL;
- return (t->GetVisualFromFBConfig)(dpy, config);
+ return t->GetVisualFromFBConfig(dpy, config);
}
GET_DISPATCH(dpy, t);
if (!t)
return False;
- b = (t->MakeContextCurrent)(dpy, draw, read, ctx);
+ b = t->MakeContextCurrent(dpy, draw, read, ctx);
return b;
}
assert(t);
if (!t)
return 0; /* XXX correct? */
- return (t->QueryContext)(dpy, ctx, attribute, value);
+ return t->QueryContext(dpy, ctx, attribute, value);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->QueryDrawable)(dpy, draw, attribute, value);
+ t->QueryDrawable(dpy, draw, attribute, value);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->SelectEvent)(dpy, drawable, mask);
+ t->SelectEvent(dpy, drawable, mask);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->SwapIntervalSGI)(interval);
+ return t->SwapIntervalSGI(interval);
}
GET_DISPATCH(dpy, t);
if (!t || !glXGetCurrentContext())
return GLX_BAD_CONTEXT;
- return (t->GetVideoSyncSGI)(count);
+ return t->GetVideoSyncSGI(count);
}
int PUBLIC
GET_DISPATCH(dpy, t);
if (!t || !glXGetCurrentContext())
return GLX_BAD_CONTEXT;
- return (t->WaitVideoSyncSGI)(divisor, remainder, count);
+ return t->WaitVideoSyncSGI(divisor, remainder, count);
}
GET_DISPATCH(dpy, t);
if (!t)
return False;
- return (t->MakeCurrentReadSGI)(dpy, draw, read, ctx);
+ return t->MakeCurrentReadSGI(dpy, draw, read, ctx);
}
GLXDrawable PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreateGLXVideoSourceSGIX)(dpy, screen, server, path, nodeClass, drainNode);
+ return t->CreateGLXVideoSourceSGIX(dpy, screen, server, path, nodeClass, drainNode);
}
void PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->DestroyGLXVideoSourceSGIX)(dpy, src);
+ return t->DestroyGLXVideoSourceSGIX(dpy, src);
}
#endif
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->FreeContextEXT)(dpy, context);
+ t->FreeContextEXT(dpy, context);
}
GLXContextID PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->ImportContextEXT)(dpy, contextID);
+ return t->ImportContextEXT(dpy, contextID);
}
int PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0; /* XXX ok? */
- return (t->QueryContextInfoEXT)(dpy, context, attribute, value);
+ return t->QueryContextInfoEXT(dpy, context, attribute, value);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->GetFBConfigAttribSGIX)(dpy, config, attribute, value);
+ return t->GetFBConfigAttribSGIX(dpy, config, attribute, value);
}
GLXFBConfigSGIX PUBLIC *
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->ChooseFBConfigSGIX)(dpy, screen, attrib_list, nelements);
+ return t->ChooseFBConfigSGIX(dpy, screen, attrib_list, nelements);
}
GLXPixmap PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreateGLXPixmapWithConfigSGIX)(dpy, config, pixmap);
+ return t->CreateGLXPixmapWithConfigSGIX(dpy, config, pixmap);
}
GLXContext PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreateContextWithConfigSGIX)(dpy, config, render_type, share_list, direct);
+ return t->CreateContextWithConfigSGIX(dpy, config, render_type, share_list, direct);
}
XVisualInfo PUBLIC *
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->GetVisualFromFBConfigSGIX)(dpy, config);
+ return t->GetVisualFromFBConfigSGIX(dpy, config);
}
GLXFBConfigSGIX PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->GetFBConfigFromVisualSGIX)(dpy, vis);
+ return t->GetFBConfigFromVisualSGIX(dpy, vis);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreateGLXPbufferSGIX)(dpy, config, width, height, attrib_list);
+ return t->CreateGLXPbufferSGIX(dpy, config, width, height, attrib_list);
}
void PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->DestroyGLXPbufferSGIX)(dpy, pbuf);
+ t->DestroyGLXPbufferSGIX(dpy, pbuf);
}
int PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->QueryGLXPbufferSGIX)(dpy, pbuf, attribute, value);
+ return t->QueryGLXPbufferSGIX(dpy, pbuf, attribute, value);
}
void PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->SelectEventSGIX)(dpy, drawable, mask);
+ t->SelectEventSGIX(dpy, drawable, mask);
}
void PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->GetSelectedEventSGIX)(dpy, drawable, mask);
+ t->GetSelectedEventSGIX(dpy, drawable, mask);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->CushionSGI)(dpy, win, cushion);
+ t->CushionSGI(dpy, win, cushion);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->BindChannelToWindowSGIX)(dpy, screen, channel, window);
+ return t->BindChannelToWindowSGIX(dpy, screen, channel, window);
}
int PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->ChannelRectSGIX)(dpy, screen, channel, x, y, w, h);
+ return t->ChannelRectSGIX(dpy, screen, channel, x, y, w, h);
}
int PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->QueryChannelRectSGIX)(dpy, screen, channel, x, y, w, h);
+ return t->QueryChannelRectSGIX(dpy, screen, channel, x, y, w, h);
}
int PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->QueryChannelDeltasSGIX)(dpy, screen, channel, dx, dy, dw, dh);
+ return t->QueryChannelDeltasSGIX(dpy, screen, channel, dx, dy, dw, dh);
}
int PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->ChannelRectSyncSGIX)(dpy, screen, channel, synctype);
+ return t->ChannelRectSyncSGIX(dpy, screen, channel, synctype);
}
GET_DISPATCH(dpy, t);
if (!t)
return False;
- return (t->AssociateDMPbufferSGIX)(dpy, pbuffer, params, dmbuffer);
+ return t->AssociateDMPbufferSGIX(dpy, pbuffer, params, dmbuffer);
}
#endif
GET_DISPATCH(dpy, t);
if (!t)
return;
- (*t->JoinSwapGroupSGIX)(dpy, drawable, member);
+ t->JoinSwapGroupSGIX(dpy, drawable, member);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (*t->BindSwapBarrierSGIX)(dpy, drawable, barrier);
+ t->BindSwapBarrierSGIX(dpy, drawable, barrier);
}
Bool PUBLIC
GET_DISPATCH(dpy, t);
if (!t)
return False;
- return (*t->QueryMaxSwapBarriersSGIX)(dpy, screen, max);
+ return t->QueryMaxSwapBarriersSGIX(dpy, screen, max);
}
GET_DISPATCH(dpy, t);
if (!t)
return False;
- return (*t->GetTransparentIndexSUN)(dpy, overlay, underlay, pTransparent);
+ return t->GetTransparentIndexSUN(dpy, overlay, underlay, pTransparent);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->CopySubBufferMESA)(dpy, drawable, x, y, width, height);
+ t->CopySubBufferMESA(dpy, drawable, x, y, width, height);
}
GET_DISPATCH(dpy, t);
if (!t)
return False;
- return (t->ReleaseBuffersMESA)(dpy, w);
+ return t->ReleaseBuffersMESA(dpy, w);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreateGLXPixmapMESA)(dpy, visinfo, pixmap, cmap);
+ return t->CreateGLXPixmapMESA(dpy, visinfo, pixmap, cmap);
}
GET_DISPATCH(dpy, t);
if (!t)
return False;
- return (t->Set3DfxModeMESA)(mode);
+ return t->Set3DfxModeMESA(mode);
}
GET_DISPATCH(dpy, t);
if (!t)
return NULL;
- return (t->AllocateMemoryNV)(size, readFrequency, writeFrequency, priority);
+ return t->AllocateMemoryNV(size, readFrequency, writeFrequency, priority);
}
GET_DISPATCH(dpy, t);
if (!t)
return;
- (t->FreeMemoryNV)(pointer);
+ t->FreeMemoryNV(pointer);
}
GET_DISPATCH(dpy, t);
if (!t)
return ~0;
- return (t->GetAGPOffsetMESA)(pointer);
+ return t->GetAGPOffsetMESA(pointer);
}
GET_DISPATCH(dpy, t);
if (!t)
return 0;
- return (t->CreateContextAttribs)(dpy, config, share_context, direct,
- attrib_list);
+ return t->CreateContextAttribs(dpy, config, share_context, direct,
+ attrib_list);
}