Lines Matching refs:dpy
108 static void dispatch_BindTexImageEXT(Display *dpy, GLXDrawable drawable, in dispatch_BindTexImageEXT() argument
114 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_BindTexImageEXT()
122 pBindTexImageEXT(dpy, drawable, buffer, attrib_list); in dispatch_BindTexImageEXT()
127 static GLXFBConfigSGIX *dispatch_ChooseFBConfigSGIX(Display *dpy, int screen, in dispatch_ChooseFBConfigSGIX() argument
135 dd = __VND->getDynDispatch(dpy, screen); in dispatch_ChooseFBConfigSGIX()
143 ret = pChooseFBConfigSGIX(dpy, screen, attrib_list, nelements); in dispatch_ChooseFBConfigSGIX()
144 if (AddFBConfigsMapping(dpy, ret, nelements, dd)) { in dispatch_ChooseFBConfigSGIX()
154 static GLXContext dispatch_CreateContextAttribsARB(Display *dpy, in dispatch_CreateContextAttribsARB() argument
165 dd = GetDispatchFromFBConfig(dpy, config); in dispatch_CreateContextAttribsARB()
172 dd = GetDispatchFromDrawable(dpy, RootWindow(dpy, screen)); in dispatch_CreateContextAttribsARB()
184 ret = pCreateContextAttribsARB(dpy, config, share_list, direct, attrib_list); in dispatch_CreateContextAttribsARB()
185 if (AddContextMapping(dpy, ret, dd)) { in dispatch_CreateContextAttribsARB()
197 static GLXContext dispatch_CreateContextWithConfigSGIX(Display *dpy, in dispatch_CreateContextWithConfigSGIX() argument
207 dd = GetDispatchFromFBConfig(dpy, config); in dispatch_CreateContextWithConfigSGIX()
215 ret = pCreateContextWithConfigSGIX(dpy, config, render_type, share_list, direct); in dispatch_CreateContextWithConfigSGIX()
216 if (AddContextMapping(dpy, ret, dd)) { in dispatch_CreateContextWithConfigSGIX()
228 static GLXPbuffer dispatch_CreateGLXPbufferSGIX(Display *dpy, in dispatch_CreateGLXPbufferSGIX() argument
238 dd = GetDispatchFromFBConfig(dpy, config); in dispatch_CreateGLXPbufferSGIX()
246 ret = pCreateGLXPbufferSGIX(dpy, config, width, height, attrib_list); in dispatch_CreateGLXPbufferSGIX()
247 if (AddDrawableMapping(dpy, ret, dd)) { in dispatch_CreateGLXPbufferSGIX()
252 pDestroyGLXPbufferSGIX(dpy, ret); in dispatch_CreateGLXPbufferSGIX()
262 static GLXPixmap dispatch_CreateGLXPixmapWithConfigSGIX(Display *dpy, in dispatch_CreateGLXPixmapWithConfigSGIX() argument
270 dd = GetDispatchFromFBConfig(dpy, config); in dispatch_CreateGLXPixmapWithConfigSGIX()
278 ret = pCreateGLXPixmapWithConfigSGIX(dpy, config, pixmap); in dispatch_CreateGLXPixmapWithConfigSGIX()
279 if (AddDrawableMapping(dpy, ret, dd)) { in dispatch_CreateGLXPixmapWithConfigSGIX()
291 static void dispatch_DestroyGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf) in dispatch_DestroyGLXPbufferSGIX() argument
296 dd = GetDispatchFromDrawable(dpy, pbuf); in dispatch_DestroyGLXPbufferSGIX()
304 pDestroyGLXPbufferSGIX(dpy, pbuf); in dispatch_DestroyGLXPbufferSGIX()
363 static int dispatch_GetFBConfigAttribSGIX(Display *dpy, GLXFBConfigSGIX config, in dispatch_GetFBConfigAttribSGIX() argument
369 dd = GetDispatchFromFBConfig(dpy, config); in dispatch_GetFBConfigAttribSGIX()
377 return pGetFBConfigAttribSGIX(dpy, config, attribute, value_return); in dispatch_GetFBConfigAttribSGIX()
382 static GLXFBConfigSGIX dispatch_GetFBConfigFromVisualSGIX(Display *dpy, in dispatch_GetFBConfigFromVisualSGIX() argument
389 dd = GetDispatchFromVisual(dpy, vis); in dispatch_GetFBConfigFromVisualSGIX()
397 ret = pGetFBConfigFromVisualSGIX(dpy, vis); in dispatch_GetFBConfigFromVisualSGIX()
398 if (AddFBConfigMapping(dpy, ret, dd)) in dispatch_GetFBConfigFromVisualSGIX()
407 static void dispatch_GetSelectedEventSGIX(Display *dpy, GLXDrawable drawable, in dispatch_GetSelectedEventSGIX() argument
413 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_GetSelectedEventSGIX()
421 pGetSelectedEventSGIX(dpy, drawable, mask); in dispatch_GetSelectedEventSGIX()
447 static XVisualInfo *dispatch_GetVisualFromFBConfigSGIX(Display *dpy, in dispatch_GetVisualFromFBConfigSGIX() argument
453 dd = GetDispatchFromFBConfig(dpy, config); in dispatch_GetVisualFromFBConfigSGIX()
461 return pGetVisualFromFBConfigSGIX(dpy, config); in dispatch_GetVisualFromFBConfigSGIX()
466 static int dispatch_QueryContextInfoEXT(Display *dpy, GLXContext ctx, in dispatch_QueryContextInfoEXT() argument
480 return pQueryContextInfoEXT(dpy, ctx, attribute, value); in dispatch_QueryContextInfoEXT()
485 static void dispatch_QueryGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf, in dispatch_QueryGLXPbufferSGIX() argument
491 dd = GetDispatchFromDrawable(dpy, pbuf); in dispatch_QueryGLXPbufferSGIX()
499 pQueryGLXPbufferSGIX(dpy, pbuf, attribute, value); in dispatch_QueryGLXPbufferSGIX()
504 static void dispatch_ReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, in dispatch_ReleaseTexImageEXT() argument
510 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_ReleaseTexImageEXT()
518 pReleaseTexImageEXT(dpy, drawable, buffer); in dispatch_ReleaseTexImageEXT()
523 static void dispatch_SelectEventSGIX(Display *dpy, GLXDrawable drawable, in dispatch_SelectEventSGIX() argument
529 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_SelectEventSGIX()
537 pSelectEventSGIX(dpy, drawable, mask); in dispatch_SelectEventSGIX()
585 static void dispatch_BindSwapBarrierSGIX(Display *dpy, GLXDrawable drawable, in dispatch_BindSwapBarrierSGIX() argument
591 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_BindSwapBarrierSGIX()
599 pBindSwapBarrierSGIX(dpy, drawable, barrier); in dispatch_BindSwapBarrierSGIX()
604 static void dispatch_CopySubBufferMESA(Display *dpy, GLXDrawable drawable, in dispatch_CopySubBufferMESA() argument
610 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_CopySubBufferMESA()
618 pCopySubBufferMESA(dpy, drawable, x, y, width, height); in dispatch_CopySubBufferMESA()
623 static GLXPixmap dispatch_CreateGLXPixmapMESA(Display *dpy, in dispatch_CreateGLXPixmapMESA() argument
631 dd = GetDispatchFromVisual(dpy, visinfo); in dispatch_CreateGLXPixmapMESA()
639 ret = pCreateGLXPixmapMESA(dpy, visinfo, pixmap, cmap); in dispatch_CreateGLXPixmapMESA()
640 if (AddDrawableMapping(dpy, ret, dd)) { in dispatch_CreateGLXPixmapMESA()
652 static GLboolean dispatch_GetMscRateOML(Display *dpy, GLXDrawable drawable, in dispatch_GetMscRateOML() argument
658 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_GetMscRateOML()
666 return pGetMscRateOML(dpy, drawable, numerator, denominator); in dispatch_GetMscRateOML()
671 static const char *dispatch_GetScreenDriver(Display *dpy, int scrNum) in dispatch_GetScreenDriver() argument
673 typedef const char *(*fn_glXGetScreenDriver_ptr)(Display *dpy, int scrNum); in dispatch_GetScreenDriver()
677 dd = __VND->getDynDispatch(dpy, scrNum); in dispatch_GetScreenDriver()
685 return pGetScreenDriver(dpy, scrNum); in dispatch_GetScreenDriver()
711 static Bool dispatch_GetSyncValuesOML(Display *dpy, GLXDrawable drawable, in dispatch_GetSyncValuesOML() argument
717 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_GetSyncValuesOML()
725 return pGetSyncValuesOML(dpy, drawable, ust, msc, sbc); in dispatch_GetSyncValuesOML()
730 static void dispatch_JoinSwapGroupSGIX(Display *dpy, GLXDrawable drawable, in dispatch_JoinSwapGroupSGIX() argument
736 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_JoinSwapGroupSGIX()
744 pJoinSwapGroupSGIX(dpy, drawable, member); in dispatch_JoinSwapGroupSGIX()
792 static Bool dispatch_QueryMaxSwapBarriersSGIX(Display *dpy, int screen, in dispatch_QueryMaxSwapBarriersSGIX() argument
798 dd = __VND->getDynDispatch(dpy, screen); in dispatch_QueryMaxSwapBarriersSGIX()
806 return pQueryMaxSwapBarriersSGIX(dpy, screen, max); in dispatch_QueryMaxSwapBarriersSGIX()
811 static Bool dispatch_QueryRendererIntegerMESA(Display *dpy, int screen, in dispatch_QueryRendererIntegerMESA() argument
818 dd = __VND->getDynDispatch(dpy, screen); in dispatch_QueryRendererIntegerMESA()
826 return pQueryRendererIntegerMESA(dpy, screen, renderer, attribute, value); in dispatch_QueryRendererIntegerMESA()
831 static const char *dispatch_QueryRendererStringMESA(Display *dpy, int screen, in dispatch_QueryRendererStringMESA() argument
837 dd = __VND->getDynDispatch(dpy, screen); in dispatch_QueryRendererStringMESA()
845 return pQueryRendererStringMESA(dpy, screen, renderer, attribute); in dispatch_QueryRendererStringMESA()
850 static Bool dispatch_ReleaseBuffersMESA(Display *dpy, GLXDrawable d) in dispatch_ReleaseBuffersMESA() argument
855 dd = GetDispatchFromDrawable(dpy, d); in dispatch_ReleaseBuffersMESA()
863 return pReleaseBuffersMESA(dpy, d); in dispatch_ReleaseBuffersMESA()
868 static int64_t dispatch_SwapBuffersMscOML(Display *dpy, GLXDrawable drawable, in dispatch_SwapBuffersMscOML() argument
875 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_SwapBuffersMscOML()
883 return pSwapBuffersMscOML(dpy, drawable, target_msc, divisor, remainder); in dispatch_SwapBuffersMscOML()
909 static void dispatch_SwapIntervalEXT(Display *dpy, GLXDrawable drawable, int interval) in dispatch_SwapIntervalEXT() argument
914 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_SwapIntervalEXT()
922 pSwapIntervalEXT(dpy, drawable, interval); in dispatch_SwapIntervalEXT()
927 static Bool dispatch_WaitForMscOML(Display *dpy, GLXDrawable drawable, in dispatch_WaitForMscOML() argument
935 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_WaitForMscOML()
943 return pWaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, msc, sbc); in dispatch_WaitForMscOML()
948 static Bool dispatch_WaitForSbcOML(Display *dpy, GLXDrawable drawable, in dispatch_WaitForSbcOML() argument
955 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_WaitForSbcOML()
963 return pWaitForSbcOML(dpy, drawable, target_sbc, ust, msc, sbc); in dispatch_WaitForSbcOML()