Lines Matching full:req

55     xGLXCreateContextReq *req = (xGLXCreateContextReq *) pc;  in __glXSwapCreateContext()  local
59 __GLX_SWAP_SHORT(&req->length); in __glXSwapCreateContext()
60 __GLX_SWAP_INT(&req->context); in __glXSwapCreateContext()
61 __GLX_SWAP_INT(&req->visual); in __glXSwapCreateContext()
62 __GLX_SWAP_INT(&req->screen); in __glXSwapCreateContext()
63 __GLX_SWAP_INT(&req->shareList); in __glXSwapCreateContext()
71 xGLXCreateNewContextReq *req = (xGLXCreateNewContextReq *) pc; in __glXSwapCreateNewContext() local
75 __GLX_SWAP_SHORT(&req->length); in __glXSwapCreateNewContext()
76 __GLX_SWAP_INT(&req->context); in __glXSwapCreateNewContext()
77 __GLX_SWAP_INT(&req->fbconfig); in __glXSwapCreateNewContext()
78 __GLX_SWAP_INT(&req->screen); in __glXSwapCreateNewContext()
79 __GLX_SWAP_INT(&req->shareList); in __glXSwapCreateNewContext()
87 xGLXCreateContextWithConfigSGIXReq *req = in __glXSwapCreateContextWithConfigSGIX() local
91 __GLX_SWAP_SHORT(&req->length); in __glXSwapCreateContextWithConfigSGIX()
92 __GLX_SWAP_INT(&req->context); in __glXSwapCreateContextWithConfigSGIX()
93 __GLX_SWAP_INT(&req->fbconfig); in __glXSwapCreateContextWithConfigSGIX()
94 __GLX_SWAP_INT(&req->screen); in __glXSwapCreateContextWithConfigSGIX()
95 __GLX_SWAP_INT(&req->shareList); in __glXSwapCreateContextWithConfigSGIX()
103 xGLXQueryMaxSwapBarriersSGIXReq *req = in __glXSwapQueryMaxSwapBarriersSGIX() local
107 __GLX_SWAP_SHORT(&req->length); in __glXSwapQueryMaxSwapBarriersSGIX()
108 __GLX_SWAP_INT(&req->screen); in __glXSwapQueryMaxSwapBarriersSGIX()
116 xGLXBindSwapBarrierSGIXReq *req = (xGLXBindSwapBarrierSGIXReq *) pc; in __glXSwapBindSwapBarrierSGIX() local
120 __GLX_SWAP_SHORT(&req->length); in __glXSwapBindSwapBarrierSGIX()
121 __GLX_SWAP_INT(&req->drawable); in __glXSwapBindSwapBarrierSGIX()
122 __GLX_SWAP_INT(&req->barrier); in __glXSwapBindSwapBarrierSGIX()
130 xGLXJoinSwapGroupSGIXReq *req = (xGLXJoinSwapGroupSGIXReq *) pc; in __glXSwapJoinSwapGroupSGIX() local
134 __GLX_SWAP_SHORT(&req->length); in __glXSwapJoinSwapGroupSGIX()
135 __GLX_SWAP_INT(&req->drawable); in __glXSwapJoinSwapGroupSGIX()
136 __GLX_SWAP_INT(&req->member); in __glXSwapJoinSwapGroupSGIX()
144 xGLXDestroyContextReq *req = (xGLXDestroyContextReq *) pc; in __glXSwapDestroyContext() local
148 __GLX_SWAP_SHORT(&req->length); in __glXSwapDestroyContext()
149 __GLX_SWAP_INT(&req->context); in __glXSwapDestroyContext()
157 xGLXMakeCurrentReq *req = (xGLXMakeCurrentReq *) pc; in __glXSwapMakeCurrent() local
161 __GLX_SWAP_SHORT(&req->length); in __glXSwapMakeCurrent()
162 __GLX_SWAP_INT(&req->drawable); in __glXSwapMakeCurrent()
163 __GLX_SWAP_INT(&req->context); in __glXSwapMakeCurrent()
164 __GLX_SWAP_INT(&req->oldContextTag); in __glXSwapMakeCurrent()
172 xGLXMakeContextCurrentReq *req = (xGLXMakeContextCurrentReq *) pc; in __glXSwapMakeContextCurrent() local
176 __GLX_SWAP_SHORT(&req->length); in __glXSwapMakeContextCurrent()
177 __GLX_SWAP_INT(&req->drawable); in __glXSwapMakeContextCurrent()
178 __GLX_SWAP_INT(&req->readdrawable); in __glXSwapMakeContextCurrent()
179 __GLX_SWAP_INT(&req->context); in __glXSwapMakeContextCurrent()
180 __GLX_SWAP_INT(&req->oldContextTag); in __glXSwapMakeContextCurrent()
188 xGLXMakeCurrentReadSGIReq *req = (xGLXMakeCurrentReadSGIReq *) pc; in __glXSwapMakeCurrentReadSGI() local
192 __GLX_SWAP_SHORT(&req->length); in __glXSwapMakeCurrentReadSGI()
193 __GLX_SWAP_INT(&req->drawable); in __glXSwapMakeCurrentReadSGI()
194 __GLX_SWAP_INT(&req->readable); in __glXSwapMakeCurrentReadSGI()
195 __GLX_SWAP_INT(&req->context); in __glXSwapMakeCurrentReadSGI()
196 __GLX_SWAP_INT(&req->oldContextTag); in __glXSwapMakeCurrentReadSGI()
204 xGLXIsDirectReq *req = (xGLXIsDirectReq *) pc; in __glXSwapIsDirect() local
208 __GLX_SWAP_SHORT(&req->length); in __glXSwapIsDirect()
209 __GLX_SWAP_INT(&req->context); in __glXSwapIsDirect()
217 xGLXQueryVersionReq *req = (xGLXQueryVersionReq *) pc; in __glXSwapQueryVersion() local
221 __GLX_SWAP_SHORT(&req->length); in __glXSwapQueryVersion()
222 __GLX_SWAP_INT(&req->majorVersion); in __glXSwapQueryVersion()
223 __GLX_SWAP_INT(&req->minorVersion); in __glXSwapQueryVersion()
231 xGLXWaitGLReq *req = (xGLXWaitGLReq *) pc; in __glXSwapWaitGL() local
235 __GLX_SWAP_SHORT(&req->length); in __glXSwapWaitGL()
236 __GLX_SWAP_INT(&req->contextTag); in __glXSwapWaitGL()
244 xGLXWaitXReq *req = (xGLXWaitXReq *) pc; in __glXSwapWaitX() local
248 __GLX_SWAP_SHORT(&req->length); in __glXSwapWaitX()
249 __GLX_SWAP_INT(&req->contextTag); in __glXSwapWaitX()
257 xGLXCopyContextReq *req = (xGLXCopyContextReq *) pc; in __glXSwapCopyContext() local
261 __GLX_SWAP_SHORT(&req->length); in __glXSwapCopyContext()
262 __GLX_SWAP_INT(&req->source); in __glXSwapCopyContext()
263 __GLX_SWAP_INT(&req->dest); in __glXSwapCopyContext()
264 __GLX_SWAP_INT(&req->mask); in __glXSwapCopyContext()
273 xGLXGetVisualConfigsReq *req = (xGLXGetVisualConfigsReq *) pc; in __glXSwapGetVisualConfigs() local
284 __GLX_SWAP_INT(&req->screen); in __glXSwapGetVisualConfigs()
285 screen = req->screen; in __glXSwapGetVisualConfigs()
363 xGLXCreateGLXPixmapReq *req = (xGLXCreateGLXPixmapReq *) pc; in __glXSwapCreateGLXPixmap() local
367 __GLX_SWAP_SHORT(&req->length); in __glXSwapCreateGLXPixmap()
368 __GLX_SWAP_INT(&req->screen); in __glXSwapCreateGLXPixmap()
369 __GLX_SWAP_INT(&req->visual); in __glXSwapCreateGLXPixmap()
370 __GLX_SWAP_INT(&req->pixmap); in __glXSwapCreateGLXPixmap()
371 __GLX_SWAP_INT(&req->glxpixmap); in __glXSwapCreateGLXPixmap()
379 xGLXCreatePixmapReq *req = (xGLXCreatePixmapReq *) pc; in __glXSwapCreatePixmap() local
383 __GLX_SWAP_SHORT(&req->length); in __glXSwapCreatePixmap()
384 __GLX_SWAP_INT(&req->screen); in __glXSwapCreatePixmap()
385 __GLX_SWAP_INT(&req->fbconfig); in __glXSwapCreatePixmap()
386 __GLX_SWAP_INT(&req->pixmap); in __glXSwapCreatePixmap()
387 __GLX_SWAP_INT(&req->glxpixmap); in __glXSwapCreatePixmap()
388 __GLX_SWAP_INT(&req->numAttribs); in __glXSwapCreatePixmap()
396 xGLXDestroyGLXPixmapReq *req = (xGLXDestroyGLXPixmapReq *) pc; in __glXSwapDestroyGLXPixmap() local
400 __GLX_SWAP_SHORT(&req->length); in __glXSwapDestroyGLXPixmap()
401 __GLX_SWAP_INT(&req->glxpixmap); in __glXSwapDestroyGLXPixmap()
409 xGLXSwapBuffersReq *req = (xGLXSwapBuffersReq *) pc; in __glXSwapSwapBuffers() local
413 __GLX_SWAP_SHORT(&req->length); in __glXSwapSwapBuffers()
414 __GLX_SWAP_INT(&req->contextTag); in __glXSwapSwapBuffers()
415 __GLX_SWAP_INT(&req->drawable); in __glXSwapSwapBuffers()
423 xGLXUseXFontReq *req = (xGLXUseXFontReq *) pc; in __glXSwapUseXFont() local
427 __GLX_SWAP_SHORT(&req->length); in __glXSwapUseXFont()
428 __GLX_SWAP_INT(&req->contextTag); in __glXSwapUseXFont()
429 __GLX_SWAP_INT(&req->font); in __glXSwapUseXFont()
430 __GLX_SWAP_INT(&req->first); in __glXSwapUseXFont()
431 __GLX_SWAP_INT(&req->count); in __glXSwapUseXFont()
432 __GLX_SWAP_INT(&req->listBase); in __glXSwapUseXFont()
440 xGLXQueryExtensionsStringReq *req = (xGLXQueryExtensionsStringReq *) pc; in __glXSwapQueryExtensionsString() local
444 __GLX_SWAP_SHORT(&req->length); in __glXSwapQueryExtensionsString()
445 __GLX_SWAP_INT(&req->screen); in __glXSwapQueryExtensionsString()
453 xGLXQueryServerStringReq *req = (xGLXQueryServerStringReq *) pc; in __glXSwapQueryServerString() local
457 __GLX_SWAP_SHORT(&req->length); in __glXSwapQueryServerString()
458 __GLX_SWAP_INT(&req->screen); in __glXSwapQueryServerString()
459 __GLX_SWAP_INT(&req->name); in __glXSwapQueryServerString()
467 xGLXClientInfoReq *req = (xGLXClientInfoReq *) pc; in __glXSwapClientInfo() local
471 __GLX_SWAP_SHORT(&req->length); in __glXSwapClientInfo()
472 __GLX_SWAP_INT(&req->major); in __glXSwapClientInfo()
473 __GLX_SWAP_INT(&req->minor); in __glXSwapClientInfo()
474 __GLX_SWAP_INT(&req->numbytes); in __glXSwapClientInfo()
482 xGLXQueryContextInfoEXTReq *req = (xGLXQueryContextInfoEXTReq *) pc; in __glXSwapQueryContextInfoEXT() local
486 __GLX_SWAP_SHORT(&req->length); in __glXSwapQueryContextInfoEXT()
487 __GLX_SWAP_INT(&req->context); in __glXSwapQueryContextInfoEXT()
635 xGLXRenderReq *req; in __glXSwapRender() local
649 req = (xGLXRenderReq *) pc; in __glXSwapRender()
650 __GLX_SWAP_SHORT(&req->length); in __glXSwapRender()
651 __GLX_SWAP_INT(&req->contextTag); in __glXSwapRender()
654 left = (req->length << 2) - sz_xGLXRenderReq; in __glXSwapRender()
718 return __glXRender(cl, (GLbyte *) req); in __glXSwapRender()
728 xGLXRenderLargeReq *req; in __glXSwapRenderLarge() local
734 req = (xGLXRenderLargeReq *) pc; in __glXSwapRenderLarge()
735 __GLX_SWAP_SHORT(&req->length); in __glXSwapRenderLarge()
736 __GLX_SWAP_INT(&req->contextTag); in __glXSwapRenderLarge()
737 __GLX_SWAP_INT(&req->dataBytes); in __glXSwapRenderLarge()
738 __GLX_SWAP_SHORT(&req->requestNumber); in __glXSwapRenderLarge()
739 __GLX_SWAP_SHORT(&req->requestTotal); in __glXSwapRenderLarge()
743 if (req->requestNumber == 1) { in __glXSwapRenderLarge()
755 * swaped are on the first req only ! in __glXSwapRenderLarge()
796 memcpy(cl->largeCmdBuf, pc, req->dataBytes); in __glXSwapRenderLarge()
798 cl->largeCmdBytesSoFar = req->dataBytes; in __glXSwapRenderLarge()
801 cl->largeCmdRequestsTotal = req->requestTotal; in __glXSwapRenderLarge()
803 cl->largeCmdMaxReqDataSize = req->dataBytes; in __glXSwapRenderLarge()
809 else if (req->requestNumber < cl->largeCmdRequestsTotal) { in __glXSwapRenderLarge()
813 if (cl->largeCmdBytesSoFar + req->dataBytes > cl->largeCmdBytesTotal) { in __glXSwapRenderLarge()
818 memcpy(cl->largeCmdBuf + cl->largeCmdBytesSoFar, pc, req->dataBytes); in __glXSwapRenderLarge()
820 cl->largeCmdBytesSoFar += req->dataBytes; in __glXSwapRenderLarge()
822 if (req->dataBytes > cl->largeCmdMaxReqDataSize) in __glXSwapRenderLarge()
823 cl->largeCmdMaxReqDataSize = req->dataBytes; in __glXSwapRenderLarge()
827 else if (req->requestNumber == cl->largeCmdRequestsTotal) { in __glXSwapRenderLarge()
834 if (cl->largeCmdBytesSoFar + req->dataBytes > cl->largeCmdBytesTotal) { in __glXSwapRenderLarge()
839 memcpy(cl->largeCmdBuf + cl->largeCmdBytesSoFar, pc, req->dataBytes); in __glXSwapRenderLarge()
841 cl->largeCmdBytesSoFar += req->dataBytes; in __glXSwapRenderLarge()
843 if (req->dataBytes > cl->largeCmdMaxReqDataSize) in __glXSwapRenderLarge()
844 cl->largeCmdMaxReqDataSize = req->dataBytes; in __glXSwapRenderLarge()
869 return (__glXSendLargeCommand(cl, req->contextTag)); in __glXSwapRenderLarge()
889 xGLXVendorPrivateReq *req; in __glXSwapVendorPrivate() local
894 req = (xGLXVendorPrivateReq *) pc; in __glXSwapVendorPrivate()
895 vendorCode = req->vendorCode; in __glXSwapVendorPrivate()
942 cl->client->errorValue = req->vendorCode; in __glXSwapVendorPrivate()
951 xGLXVendorPrivateWithReplyReq *req; in __glXSwapVendorPrivateWithReply() local
956 req = (xGLXVendorPrivateWithReplyReq *) pc; in __glXSwapVendorPrivateWithReply()
957 vendorCode = req->vendorCode; in __glXSwapVendorPrivateWithReply()
1021 cl->client->errorValue = req->vendorCode; in __glXSwapVendorPrivateWithReply()
1030 xGLXGetFBConfigsReq *req = (xGLXGetFBConfigsReq *) pc; in __glXSwapGetFBConfigs() local
1034 __GLX_SWAP_SHORT(&req->length); in __glXSwapGetFBConfigs()
1035 __GLX_SWAP_INT(&req->screen); in __glXSwapGetFBConfigs()
1043 xGLXGetFBConfigsSGIXReq *req = (xGLXGetFBConfigsSGIXReq *) pc; in __glXSwapGetFBConfigsSGIX() local
1046 new_req.reqType = req->reqType; in __glXSwapGetFBConfigsSGIX()
1047 new_req.glxCode = req->glxCode; in __glXSwapGetFBConfigsSGIX()
1048 new_req.length = req->length; in __glXSwapGetFBConfigsSGIX()
1049 new_req.screen = req->screen; in __glXSwapGetFBConfigsSGIX()
1057 xGLXCreateWindowReq *req = (xGLXCreateWindowReq *) pc; in __glXSwapCreateWindow() local
1061 __GLX_SWAP_SHORT(&req->length); in __glXSwapCreateWindow()
1062 __GLX_SWAP_INT(&req->screen); in __glXSwapCreateWindow()
1063 __GLX_SWAP_INT(&req->fbconfig); in __glXSwapCreateWindow()
1064 __GLX_SWAP_INT(&req->window); in __glXSwapCreateWindow()
1065 __GLX_SWAP_INT(&req->glxwindow); in __glXSwapCreateWindow()
1066 __GLX_SWAP_INT(&req->numAttribs); in __glXSwapCreateWindow()
1074 xGLXDestroyWindowReq *req = (xGLXDestroyWindowReq *) pc; in __glXSwapDestroyWindow() local
1078 __GLX_SWAP_SHORT(&req->length); in __glXSwapDestroyWindow()
1079 __GLX_SWAP_INT(&req->glxwindow); in __glXSwapDestroyWindow()
1087 xGLXQueryContextReq *req = (xGLXQueryContextReq *) pc; in __glXSwapQueryContext() local
1091 __GLX_SWAP_SHORT(&req->length); in __glXSwapQueryContext()
1092 __GLX_SWAP_INT(&req->context); in __glXSwapQueryContext()
1101 xGLXCreatePbufferReq *req = (xGLXCreatePbufferReq *) pc; in __glXSwapCreatePbuffer() local
1102 int nattr = req->numAttribs; in __glXSwapCreatePbuffer()
1107 __GLX_SWAP_SHORT(&req->length); in __glXSwapCreatePbuffer()
1108 __GLX_SWAP_INT(&req->screen); in __glXSwapCreatePbuffer()
1109 __GLX_SWAP_INT(&req->fbconfig); in __glXSwapCreatePbuffer()
1110 __GLX_SWAP_INT(&req->pbuffer); in __glXSwapCreatePbuffer()
1111 __GLX_SWAP_INT(&req->numAttribs); in __glXSwapCreatePbuffer()
1112 __GLX_SWAP_INT_ARRAY((int *) (req + 1), nattr * 2); in __glXSwapCreatePbuffer()
1120 xGLXDestroyPbufferReq *req = (xGLXDestroyPbufferReq *) pc; in __glXSwapDestroyPbuffer() local
1124 __GLX_SWAP_SHORT(&req->length); in __glXSwapDestroyPbuffer()
1125 __GLX_SWAP_INT(&req->pbuffer); in __glXSwapDestroyPbuffer()
1133 xGLXGetDrawableAttributesReq *req = (xGLXGetDrawableAttributesReq *) pc; in __glXSwapGetDrawableAttributes() local
1137 __GLX_SWAP_SHORT(&req->length); in __glXSwapGetDrawableAttributes()
1138 __GLX_SWAP_INT(&req->drawable); in __glXSwapGetDrawableAttributes()
1146 xGLXChangeDrawableAttributesReq *req = in __glXSwapChangeDrawableAttributes() local
1151 __GLX_SWAP_SHORT(&req->length); in __glXSwapChangeDrawableAttributes()
1152 __GLX_SWAP_INT(&req->drawable); in __glXSwapChangeDrawableAttributes()
1153 __GLX_SWAP_INT(&req->numAttribs); in __glXSwapChangeDrawableAttributes()
1154 __GLX_SWAP_INT_ARRAY((int *) (req + 1), req->numAttribs * 2); in __glXSwapChangeDrawableAttributes()