Lines Matching refs:stuff
111 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRIQueryDirectRenderingCapable()
112 client->errorValue = stuff->screen; in ProcXF86DRIQueryDirectRenderingCapable()
116 if (!DRIQueryDirectRenderingCapable(screenInfo.screens[stuff->screen], in ProcXF86DRIQueryDirectRenderingCapable()
152 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRIOpenConnection()
153 client->errorValue = stuff->screen; in ProcXF86DRIOpenConnection()
157 if (!DRIOpenConnection(screenInfo.screens[stuff->screen], in ProcXF86DRIOpenConnection()
199 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRIAuthConnection()
200 client->errorValue = stuff->screen; in ProcXF86DRIAuthConnection()
204 if (!DRIAuthConnection(screenInfo.screens[stuff->screen], stuff->magic)) { in ProcXF86DRIAuthConnection()
205 ErrorF("Failed to authenticate %lu\n", (unsigned long) stuff->magic); in ProcXF86DRIAuthConnection()
217 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRICloseConnection()
218 client->errorValue = stuff->screen; in ProcXF86DRICloseConnection()
222 DRICloseConnection(screenInfo.screens[stuff->screen]); in ProcXF86DRICloseConnection()
239 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRIGetClientDriverName()
240 client->errorValue = stuff->screen; in ProcXF86DRIGetClientDriverName()
244 DRIGetClientDriverName(screenInfo.screens[stuff->screen], in ProcXF86DRIGetClientDriverName()
274 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRICreateContext()
275 client->errorValue = stuff->screen; in ProcXF86DRICreateContext()
279 pScreen = screenInfo.screens[stuff->screen]; in ProcXF86DRICreateContext()
283 stuff->context, (drm_context_t *) &rep.hHWContext)) { in ProcXF86DRICreateContext()
296 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRIDestroyContext()
297 client->errorValue = stuff->screen; in ProcXF86DRIDestroyContext()
301 if (!DRIDestroyContext(screenInfo.screens[stuff->screen], stuff->context)) { in ProcXF86DRIDestroyContext()
321 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRICreateDrawable()
322 client->errorValue = stuff->screen; in ProcXF86DRICreateDrawable()
326 rc = dixLookupDrawable(&pDrawable, stuff->drawable, client, 0, in ProcXF86DRICreateDrawable()
331 if (!DRICreateDrawable(screenInfo.screens[stuff->screen], client, in ProcXF86DRICreateDrawable()
349 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRIDestroyDrawable()
350 client->errorValue = stuff->screen; in ProcXF86DRIDestroyDrawable()
354 rc = dixLookupDrawable(&pDrawable, stuff->drawable, client, 0, in ProcXF86DRIDestroyDrawable()
359 if (!DRIDestroyDrawable(screenInfo.screens[stuff->screen], client, in ProcXF86DRIDestroyDrawable()
383 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRIGetDrawableInfo()
384 client->errorValue = stuff->screen; in ProcXF86DRIGetDrawableInfo()
388 rc = dixLookupDrawable(&pDrawable, stuff->drawable, client, 0, in ProcXF86DRIGetDrawableInfo()
393 if (!DRIGetDrawableInfo(screenInfo.screens[stuff->screen], in ProcXF86DRIGetDrawableInfo()
428 ScreenPtr pScreen = screenInfo.screens[stuff->screen]; in ProcXF86DRIGetDrawableInfo()
485 if (stuff->screen >= screenInfo.numScreens) { in ProcXF86DRIGetDeviceInfo()
486 client->errorValue = stuff->screen; in ProcXF86DRIGetDeviceInfo()
490 if (!DRIGetDeviceInfo(screenInfo.screens[stuff->screen], in ProcXF86DRIGetDeviceInfo()
524 switch (stuff->data) { in ProcXF86DRIDispatch()
534 switch (stuff->data) { in ProcXF86DRIDispatch()
565 swaps(&stuff->length); in SProcXF86DRIQueryVersion()
574 swaps(&stuff->length); in SProcXF86DRIQueryDirectRenderingCapable()
575 swapl(&stuff->screen); in SProcXF86DRIQueryDirectRenderingCapable()
588 switch (stuff->data) { in SProcXF86DRIDispatch()