Lines Matching refs:stuff

51     if (rep.majorVersion > stuff->majorVersion ||  in proc_present_query_version()
52 rep.minorVersion > stuff->minorVersion) { in proc_present_query_version()
53 rep.majorVersion = stuff->majorVersion; in proc_present_query_version()
54 rep.minorVersion = stuff->minorVersion; in proc_present_query_version()
101 ret = dixLookupWindow(&window, stuff->window, client, DixWriteAccess); in proc_present_pixmap()
104 … ret = dixLookupResourceByType((void **) &pixmap, stuff->pixmap, RT_PIXMAP, client, DixReadAccess); in proc_present_pixmap()
111 VERIFY_REGION_OR_NONE(valid, stuff->valid, client, DixReadAccess); in proc_present_pixmap()
112 VERIFY_REGION_OR_NONE(update, stuff->update, client, DixReadAccess); in proc_present_pixmap()
114 VERIFY_CRTC_OR_NONE(target_crtc, stuff->target_crtc, client, DixReadAccess); in proc_present_pixmap()
116 VERIFY_FENCE_OR_NONE(wait_fence, stuff->wait_fence, client, DixReadAccess); in proc_present_pixmap()
117 VERIFY_FENCE_OR_NONE(idle_fence, stuff->idle_fence, client, DixWriteAccess); in proc_present_pixmap()
119 if (stuff->options & ~(PresentAllOptions)) { in proc_present_pixmap()
120 client->errorValue = stuff->options; in proc_present_pixmap()
127 if (stuff->divisor == 0) { in proc_present_pixmap()
128 if (stuff->remainder != 0) { in proc_present_pixmap()
129 client->errorValue = (CARD32) stuff->remainder; in proc_present_pixmap()
133 if (stuff->remainder >= stuff->divisor) { in proc_present_pixmap()
134 client->errorValue = (CARD32) stuff->remainder; in proc_present_pixmap()
145 ret = present_create_notifies(client, nnotifies, (xPresentNotify *) (stuff + 1), &notifies); in proc_present_pixmap()
150 ret = present_pixmap(window, pixmap, stuff->serial, valid, update, in proc_present_pixmap()
151 stuff->x_off, stuff->y_off, target_crtc, in proc_present_pixmap()
152 wait_fence, idle_fence, stuff->options, in proc_present_pixmap()
153 stuff->target_msc, stuff->divisor, stuff->remainder, notifies, nnotifies); in proc_present_pixmap()
167 rc = dixLookupWindow(&window, stuff->window, client, DixReadAccess); in proc_present_notify_msc()
174 if (stuff->divisor == 0) { in proc_present_notify_msc()
175 if (stuff->remainder != 0) { in proc_present_notify_msc()
176 client->errorValue = (CARD32) stuff->remainder; in proc_present_notify_msc()
180 if (stuff->remainder >= stuff->divisor) { in proc_present_notify_msc()
181 client->errorValue = (CARD32) stuff->remainder; in proc_present_notify_msc()
186 return present_notify_msc(window, stuff->serial, in proc_present_notify_msc()
187 stuff->target_msc, stuff->divisor, stuff->remainder); in proc_present_notify_msc()
199 rc = dixLookupWindow(&window, stuff->window, client, DixGetAttrAccess); in proc_present_select_input()
203 if (stuff->eventMask & ~PresentAllEvents) { in proc_present_select_input()
204 client->errorValue = stuff->eventMask; in proc_present_select_input()
207 return present_select_input(client, stuff->eid, window, stuff->eventMask); in proc_present_select_input()
224 r = dixLookupWindow(&window, stuff->target, client, DixGetAttrAccess); in proc_present_query_capabilities()
230 VERIFY_RR_CRTC(stuff->target, crtc, DixGetAttrAccess); in proc_present_query_capabilities()
259 if (stuff->data >= PresentNumberRequests || !proc_present_vector[stuff->data]) in proc_present_dispatch()
261 return (*proc_present_vector[stuff->data]) (client); in proc_present_dispatch()
270 swaps(&stuff->length); in sproc_present_query_version()
271 swapl(&stuff->majorVersion); in sproc_present_query_version()
272 swapl(&stuff->minorVersion); in sproc_present_query_version()
273 return (*proc_present_vector[stuff->presentReqType]) (client); in sproc_present_query_version()
282 swaps(&stuff->length); in sproc_present_pixmap()
283 swapl(&stuff->window); in sproc_present_pixmap()
284 swapl(&stuff->pixmap); in sproc_present_pixmap()
285 swapl(&stuff->valid); in sproc_present_pixmap()
286 swapl(&stuff->update); in sproc_present_pixmap()
287 swaps(&stuff->x_off); in sproc_present_pixmap()
288 swaps(&stuff->y_off); in sproc_present_pixmap()
289 swapll(&stuff->target_msc); in sproc_present_pixmap()
290 swapll(&stuff->divisor); in sproc_present_pixmap()
291 swapll(&stuff->remainder); in sproc_present_pixmap()
292 swapl(&stuff->idle_fence); in sproc_present_pixmap()
293 return (*proc_present_vector[stuff->presentReqType]) (client); in sproc_present_pixmap()
302 swaps(&stuff->length); in sproc_present_notify_msc()
303 swapl(&stuff->window); in sproc_present_notify_msc()
304 swapll(&stuff->target_msc); in sproc_present_notify_msc()
305 swapll(&stuff->divisor); in sproc_present_notify_msc()
306 swapll(&stuff->remainder); in sproc_present_notify_msc()
307 return (*proc_present_vector[stuff->presentReqType]) (client); in sproc_present_notify_msc()
316 swaps(&stuff->length); in sproc_present_select_input()
317 swapl(&stuff->window); in sproc_present_select_input()
318 swapl(&stuff->eventMask); in sproc_present_select_input()
319 return (*proc_present_vector[stuff->presentReqType]) (client); in sproc_present_select_input()
327 swaps(&stuff->length); in sproc_present_query_capabilities()
328 swapl(&stuff->target); in sproc_present_query_capabilities()
329 return (*proc_present_vector[stuff->presentReqType]) (client); in sproc_present_query_capabilities()
344 if (stuff->data >= PresentNumberRequests || !sproc_present_vector[stuff->data]) in sproc_present_dispatch()
346 return (*sproc_present_vector[stuff->data]) (client); in sproc_present_dispatch()