Lines Matching refs:req

59     xGLXCreateContextReq *req = (xGLXCreateContextReq *) pc;  in __glXDispSwap_CreateContext()  local
63 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_CreateContext()
64 __GLX_SWAP_INT(&req->context); in __glXDispSwap_CreateContext()
65 __GLX_SWAP_INT(&req->visual); in __glXDispSwap_CreateContext()
66 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_CreateContext()
67 __GLX_SWAP_INT(&req->shareList); in __glXDispSwap_CreateContext()
75 xGLXCreateNewContextReq *req = (xGLXCreateNewContextReq *) pc; in __glXDispSwap_CreateNewContext() local
79 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_CreateNewContext()
80 __GLX_SWAP_INT(&req->context); in __glXDispSwap_CreateNewContext()
81 __GLX_SWAP_INT(&req->fbconfig); in __glXDispSwap_CreateNewContext()
82 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_CreateNewContext()
83 __GLX_SWAP_INT(&req->renderType); in __glXDispSwap_CreateNewContext()
84 __GLX_SWAP_INT(&req->shareList); in __glXDispSwap_CreateNewContext()
93 xGLXCreateContextWithConfigSGIXReq *req = in __glXDispSwap_CreateContextWithConfigSGIX() local
99 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_CreateContextWithConfigSGIX()
100 __GLX_SWAP_INT(&req->context); in __glXDispSwap_CreateContextWithConfigSGIX()
101 __GLX_SWAP_INT(&req->fbconfig); in __glXDispSwap_CreateContextWithConfigSGIX()
102 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_CreateContextWithConfigSGIX()
103 __GLX_SWAP_INT(&req->renderType); in __glXDispSwap_CreateContextWithConfigSGIX()
104 __GLX_SWAP_INT(&req->shareList); in __glXDispSwap_CreateContextWithConfigSGIX()
112 xGLXDestroyContextReq *req = (xGLXDestroyContextReq *) pc; in __glXDispSwap_DestroyContext() local
116 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_DestroyContext()
117 __GLX_SWAP_INT(&req->context); in __glXDispSwap_DestroyContext()
143 xGLXIsDirectReq *req = (xGLXIsDirectReq *) pc; in __glXDispSwap_IsDirect() local
147 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_IsDirect()
148 __GLX_SWAP_INT(&req->context); in __glXDispSwap_IsDirect()
156 xGLXQueryVersionReq *req = (xGLXQueryVersionReq *) pc; in __glXDispSwap_QueryVersion() local
160 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_QueryVersion()
161 __GLX_SWAP_INT(&req->majorVersion); in __glXDispSwap_QueryVersion()
162 __GLX_SWAP_INT(&req->minorVersion); in __glXDispSwap_QueryVersion()
170 xGLXWaitGLReq *req = (xGLXWaitGLReq *) pc; in __glXDispSwap_WaitGL() local
174 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_WaitGL()
175 __GLX_SWAP_INT(&req->contextTag); in __glXDispSwap_WaitGL()
183 xGLXWaitXReq *req = (xGLXWaitXReq *) pc; in __glXDispSwap_WaitX() local
187 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_WaitX()
188 __GLX_SWAP_INT(&req->contextTag); in __glXDispSwap_WaitX()
196 xGLXCopyContextReq *req = (xGLXCopyContextReq *) pc; in __glXDispSwap_CopyContext() local
200 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_CopyContext()
201 __GLX_SWAP_INT(&req->source); in __glXDispSwap_CopyContext()
202 __GLX_SWAP_INT(&req->dest); in __glXDispSwap_CopyContext()
203 __GLX_SWAP_INT(&req->mask); in __glXDispSwap_CopyContext()
211 xGLXGetVisualConfigsReq *req = (xGLXGetVisualConfigsReq *) pc; in __glXDispSwap_GetVisualConfigs() local
215 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_GetVisualConfigs()
222 xGLXGetFBConfigsReq *req = (xGLXGetFBConfigsReq *) pc; in __glXDispSwap_GetFBConfigs() local
226 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_GetFBConfigs()
234 xGLXGetFBConfigsSGIXReq *req = (xGLXGetFBConfigsSGIXReq *) pc; in __glXDispSwap_GetFBConfigsSGIX() local
240 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_GetFBConfigsSGIX()
247 xGLXCreateGLXPixmapReq *req = (xGLXCreateGLXPixmapReq *) pc; in __glXDispSwap_CreateGLXPixmap() local
251 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_CreateGLXPixmap()
252 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_CreateGLXPixmap()
253 __GLX_SWAP_INT(&req->visual); in __glXDispSwap_CreateGLXPixmap()
254 __GLX_SWAP_INT(&req->pixmap); in __glXDispSwap_CreateGLXPixmap()
255 __GLX_SWAP_INT(&req->glxpixmap); in __glXDispSwap_CreateGLXPixmap()
264 xGLXCreatePixmapReq *req = (xGLXCreatePixmapReq *) pc; in __glXDispSwap_CreatePixmap() local
272 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_CreatePixmap()
273 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_CreatePixmap()
274 __GLX_SWAP_INT(&req->fbconfig); in __glXDispSwap_CreatePixmap()
275 __GLX_SWAP_INT(&req->pixmap); in __glXDispSwap_CreatePixmap()
276 __GLX_SWAP_INT(&req->glxpixmap); in __glXDispSwap_CreatePixmap()
277 __GLX_SWAP_INT(&req->numAttribs); in __glXDispSwap_CreatePixmap()
279 if (req->numAttribs > (UINT32_MAX >> 3)) { in __glXDispSwap_CreatePixmap()
280 client->errorValue = req->numAttribs; in __glXDispSwap_CreatePixmap()
283 REQUEST_FIXED_SIZE(xGLXCreatePixmapReq, req->numAttribs << 3); in __glXDispSwap_CreatePixmap()
284 attribs = (CARD32 *) (req + 1); in __glXDispSwap_CreatePixmap()
285 __GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1); in __glXDispSwap_CreatePixmap()
294 xGLXCreateGLXPixmapWithConfigSGIXReq *req = in __glXDispSwap_CreateGLXPixmapWithConfigSGIX() local
300 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_CreateGLXPixmapWithConfigSGIX()
301 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_CreateGLXPixmapWithConfigSGIX()
302 __GLX_SWAP_INT(&req->fbconfig); in __glXDispSwap_CreateGLXPixmapWithConfigSGIX()
303 __GLX_SWAP_INT(&req->pixmap); in __glXDispSwap_CreateGLXPixmapWithConfigSGIX()
304 __GLX_SWAP_INT(&req->glxpixmap); in __glXDispSwap_CreateGLXPixmapWithConfigSGIX()
312 xGLXDestroyGLXPixmapReq *req = (xGLXDestroyGLXPixmapReq *) pc; in __glXDispSwap_DestroyGLXPixmap() local
316 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_DestroyGLXPixmap()
317 __GLX_SWAP_INT(&req->glxpixmap); in __glXDispSwap_DestroyGLXPixmap()
326 xGLXDestroyGLXPixmapReq *req = (xGLXDestroyGLXPixmapReq *) pc; in __glXDispSwap_DestroyPixmap() local
332 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_DestroyPixmap()
333 __GLX_SWAP_INT(&req->glxpixmap); in __glXDispSwap_DestroyPixmap()
341 xGLXQueryContextReq *req = (xGLXQueryContextReq *) pc; in __glXDispSwap_QueryContext() local
345 __GLX_SWAP_INT(&req->context); in __glXDispSwap_QueryContext()
354 xGLXCreatePbufferReq *req = (xGLXCreatePbufferReq *) pc; in __glXDispSwap_CreatePbuffer() local
362 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_CreatePbuffer()
363 __GLX_SWAP_INT(&req->fbconfig); in __glXDispSwap_CreatePbuffer()
364 __GLX_SWAP_INT(&req->pbuffer); in __glXDispSwap_CreatePbuffer()
365 __GLX_SWAP_INT(&req->numAttribs); in __glXDispSwap_CreatePbuffer()
367 if (req->numAttribs > (UINT32_MAX >> 3)) { in __glXDispSwap_CreatePbuffer()
368 client->errorValue = req->numAttribs; in __glXDispSwap_CreatePbuffer()
371 REQUEST_FIXED_SIZE(xGLXCreatePbufferReq, req->numAttribs << 3); in __glXDispSwap_CreatePbuffer()
372 attribs = (CARD32 *) (req + 1); in __glXDispSwap_CreatePbuffer()
373 __GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1); in __glXDispSwap_CreatePbuffer()
382 xGLXCreateGLXPbufferSGIXReq *req = (xGLXCreateGLXPbufferSGIXReq *) pc; in __glXDispSwap_CreateGLXPbufferSGIX() local
388 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_CreateGLXPbufferSGIX()
389 __GLX_SWAP_INT(&req->fbconfig); in __glXDispSwap_CreateGLXPbufferSGIX()
390 __GLX_SWAP_INT(&req->pbuffer); in __glXDispSwap_CreateGLXPbufferSGIX()
391 __GLX_SWAP_INT(&req->width); in __glXDispSwap_CreateGLXPbufferSGIX()
392 __GLX_SWAP_INT(&req->height); in __glXDispSwap_CreateGLXPbufferSGIX()
400 xGLXDestroyPbufferReq *req = (xGLXDestroyPbufferReq *) pc; in __glXDispSwap_DestroyPbuffer() local
404 __GLX_SWAP_INT(&req->pbuffer); in __glXDispSwap_DestroyPbuffer()
413 xGLXDestroyGLXPbufferSGIXReq *req = (xGLXDestroyGLXPbufferSGIXReq *) pc; in __glXDispSwap_DestroyGLXPbufferSGIX() local
419 __GLX_SWAP_INT(&req->pbuffer); in __glXDispSwap_DestroyGLXPbufferSGIX()
428 xGLXChangeDrawableAttributesReq *req = in __glXDispSwap_ChangeDrawableAttributes() local
436 __GLX_SWAP_INT(&req->drawable); in __glXDispSwap_ChangeDrawableAttributes()
437 __GLX_SWAP_INT(&req->numAttribs); in __glXDispSwap_ChangeDrawableAttributes()
439 if (req->numAttribs > (UINT32_MAX >> 3)) { in __glXDispSwap_ChangeDrawableAttributes()
440 client->errorValue = req->numAttribs; in __glXDispSwap_ChangeDrawableAttributes()
444 (req->numAttribs << 3)) >> 2) < client->req_len) in __glXDispSwap_ChangeDrawableAttributes()
447 attribs = (CARD32 *) (req + 1); in __glXDispSwap_ChangeDrawableAttributes()
448 __GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1); in __glXDispSwap_ChangeDrawableAttributes()
457 xGLXChangeDrawableAttributesSGIXReq *req = in __glXDispSwap_ChangeDrawableAttributesSGIX() local
465 __GLX_SWAP_INT(&req->drawable); in __glXDispSwap_ChangeDrawableAttributesSGIX()
466 __GLX_SWAP_INT(&req->numAttribs); in __glXDispSwap_ChangeDrawableAttributesSGIX()
468 if (req->numAttribs > (UINT32_MAX >> 3)) { in __glXDispSwap_ChangeDrawableAttributesSGIX()
469 client->errorValue = req->numAttribs; in __glXDispSwap_ChangeDrawableAttributesSGIX()
473 req->numAttribs << 3); in __glXDispSwap_ChangeDrawableAttributesSGIX()
474 attribs = (CARD32 *) (req + 1); in __glXDispSwap_ChangeDrawableAttributesSGIX()
475 __GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1); in __glXDispSwap_ChangeDrawableAttributesSGIX()
484 xGLXCreateWindowReq *req = (xGLXCreateWindowReq *) pc; in __glXDispSwap_CreateWindow() local
492 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_CreateWindow()
493 __GLX_SWAP_INT(&req->fbconfig); in __glXDispSwap_CreateWindow()
494 __GLX_SWAP_INT(&req->window); in __glXDispSwap_CreateWindow()
495 __GLX_SWAP_INT(&req->glxwindow); in __glXDispSwap_CreateWindow()
496 __GLX_SWAP_INT(&req->numAttribs); in __glXDispSwap_CreateWindow()
498 if (req->numAttribs > (UINT32_MAX >> 3)) { in __glXDispSwap_CreateWindow()
499 client->errorValue = req->numAttribs; in __glXDispSwap_CreateWindow()
502 REQUEST_FIXED_SIZE(xGLXCreateWindowReq, req->numAttribs << 3); in __glXDispSwap_CreateWindow()
503 attribs = (CARD32 *) (req + 1); in __glXDispSwap_CreateWindow()
504 __GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1); in __glXDispSwap_CreateWindow()
513 xGLXDestroyWindowReq *req = (xGLXDestroyWindowReq *) pc; in __glXDispSwap_DestroyWindow() local
519 __GLX_SWAP_INT(&req->glxwindow); in __glXDispSwap_DestroyWindow()
527 xGLXSwapBuffersReq *req = (xGLXSwapBuffersReq *) pc; in __glXDispSwap_SwapBuffers() local
531 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_SwapBuffers()
532 __GLX_SWAP_INT(&req->contextTag); in __glXDispSwap_SwapBuffers()
533 __GLX_SWAP_INT(&req->drawable); in __glXDispSwap_SwapBuffers()
541 xGLXUseXFontReq *req = (xGLXUseXFontReq *) pc; in __glXDispSwap_UseXFont() local
545 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_UseXFont()
546 __GLX_SWAP_INT(&req->contextTag); in __glXDispSwap_UseXFont()
547 __GLX_SWAP_INT(&req->font); in __glXDispSwap_UseXFont()
548 __GLX_SWAP_INT(&req->first); in __glXDispSwap_UseXFont()
549 __GLX_SWAP_INT(&req->count); in __glXDispSwap_UseXFont()
550 __GLX_SWAP_INT(&req->listBase); in __glXDispSwap_UseXFont()
558 xGLXQueryExtensionsStringReq *req = (xGLXQueryExtensionsStringReq *) pc; in __glXDispSwap_QueryExtensionsString() local
562 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_QueryExtensionsString()
563 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_QueryExtensionsString()
571 xGLXQueryServerStringReq *req = (xGLXQueryServerStringReq *) pc; in __glXDispSwap_QueryServerString() local
575 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_QueryServerString()
576 __GLX_SWAP_INT(&req->screen); in __glXDispSwap_QueryServerString()
577 __GLX_SWAP_INT(&req->name); in __glXDispSwap_QueryServerString()
586 xGLXClientInfoReq *req = (xGLXClientInfoReq *) pc; in __glXDispSwap_ClientInfo() local
592 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_ClientInfo()
593 __GLX_SWAP_INT(&req->major); in __glXDispSwap_ClientInfo()
594 __GLX_SWAP_INT(&req->minor); in __glXDispSwap_ClientInfo()
595 __GLX_SWAP_INT(&req->numbytes); in __glXDispSwap_ClientInfo()
604 xGLXQueryContextInfoEXTReq *req = (xGLXQueryContextInfoEXTReq *) pc; in __glXDispSwap_QueryContextInfoEXT() local
610 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_QueryContextInfoEXT()
611 __GLX_SWAP_INT(&req->context); in __glXDispSwap_QueryContextInfoEXT()
620 xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc; in __glXDispSwap_BindTexImageEXT() local
636 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_BindTexImageEXT()
637 __GLX_SWAP_INT(&req->contextTag); in __glXDispSwap_BindTexImageEXT()
649 xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc; in __glXDispSwap_ReleaseTexImageEXT() local
662 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_ReleaseTexImageEXT()
663 __GLX_SWAP_INT(&req->contextTag); in __glXDispSwap_ReleaseTexImageEXT()
674 xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc; in __glXDispSwap_CopySubBufferMESA() local
687 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_CopySubBufferMESA()
688 __GLX_SWAP_INT(&req->contextTag); in __glXDispSwap_CopySubBufferMESA()
703 xGLXVendorPrivateWithReplyReq *req = (xGLXVendorPrivateWithReplyReq *) pc; in __glXDispSwap_GetDrawableAttributesSGIX() local
710 data = (CARD32 *) (req + 1); in __glXDispSwap_GetDrawableAttributesSGIX()
711 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_GetDrawableAttributesSGIX()
712 __GLX_SWAP_INT(&req->contextTag); in __glXDispSwap_GetDrawableAttributesSGIX()
722 xGLXGetDrawableAttributesReq *req = (xGLXGetDrawableAttributesReq *) pc; in __glXDispSwap_GetDrawableAttributes() local
728 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_GetDrawableAttributes()
729 __GLX_SWAP_INT(&req->drawable); in __glXDispSwap_GetDrawableAttributes()
767 xGLXVendorPrivateReq *req; in __glXDispSwap_VendorPrivate() local
774 req = (xGLXVendorPrivateReq *) pc; in __glXDispSwap_VendorPrivate()
775 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_VendorPrivate()
776 __GLX_SWAP_INT(&req->vendorCode); in __glXDispSwap_VendorPrivate()
778 vendorcode = req->vendorCode; in __glXDispSwap_VendorPrivate()
784 return (*proc) (cl, (GLbyte *) req); in __glXDispSwap_VendorPrivate()
787 cl->client->errorValue = req->vendorCode; in __glXDispSwap_VendorPrivate()
795 xGLXVendorPrivateWithReplyReq *req; in __glXDispSwap_VendorPrivateWithReply() local
802 req = (xGLXVendorPrivateWithReplyReq *) pc; in __glXDispSwap_VendorPrivateWithReply()
803 __GLX_SWAP_SHORT(&req->length); in __glXDispSwap_VendorPrivateWithReply()
804 __GLX_SWAP_INT(&req->vendorCode); in __glXDispSwap_VendorPrivateWithReply()
806 vendorcode = req->vendorCode; in __glXDispSwap_VendorPrivateWithReply()
812 return (*proc) (cl, (GLbyte *) req); in __glXDispSwap_VendorPrivateWithReply()
815 cl->client->errorValue = req->vendorCode; in __glXDispSwap_VendorPrivateWithReply()