• Home
  • Raw
  • Download

Lines Matching refs:req

224    xDRI2QueryVersionReq *req;  in DRI2QueryVersion()  local
230 GetReq(DRI2QueryVersion, req); in DRI2QueryVersion()
231 req->reqType = info->codes->major_opcode; in DRI2QueryVersion()
232 req->dri2ReqType = X_DRI2QueryVersion; in DRI2QueryVersion()
233 req->majorVersion = DRI2_MAJOR; in DRI2QueryVersion()
234 req->minorVersion = DRI2_MINOR; in DRI2QueryVersion()
271 xDRI2ConnectReq *req; in DRI2Connect() local
277 GetReq(DRI2Connect, req); in DRI2Connect()
278 req->reqType = info->codes->major_opcode; in DRI2Connect()
279 req->dri2ReqType = X_DRI2Connect; in DRI2Connect()
280 req->window = window; in DRI2Connect()
282 req->driverType = DRI2DriverDRI; in DRI2Connect()
290 req->driverType |= ((primeid & DRI2DriverPrimeMask) << DRI2DriverPrimeShift); in DRI2Connect()
339 xDRI2AuthenticateReq *req; in DRI2Authenticate() local
345 GetReq(DRI2Authenticate, req); in DRI2Authenticate()
346 req->reqType = info->codes->major_opcode; in DRI2Authenticate()
347 req->dri2ReqType = X_DRI2Authenticate; in DRI2Authenticate()
348 req->window = window; in DRI2Authenticate()
349 req->magic = magic; in DRI2Authenticate()
367 xDRI2CreateDrawableReq *req; in DRI2CreateDrawable() local
372 GetReq(DRI2CreateDrawable, req); in DRI2CreateDrawable()
373 req->reqType = info->codes->major_opcode; in DRI2CreateDrawable()
374 req->dri2ReqType = X_DRI2CreateDrawable; in DRI2CreateDrawable()
375 req->drawable = drawable; in DRI2CreateDrawable()
384 xDRI2DestroyDrawableReq *req; in DRI2DestroyDrawable() local
391 GetReq(DRI2DestroyDrawable, req); in DRI2DestroyDrawable()
392 req->reqType = info->codes->major_opcode; in DRI2DestroyDrawable()
393 req->dri2ReqType = X_DRI2DestroyDrawable; in DRI2DestroyDrawable()
394 req->drawable = drawable; in DRI2DestroyDrawable()
406 xDRI2GetBuffersReq *req; in DRI2GetBuffers() local
415 GetReqExtra(DRI2GetBuffers, count * 4, req); in DRI2GetBuffers()
416 req->reqType = info->codes->major_opcode; in DRI2GetBuffers()
417 req->dri2ReqType = X_DRI2GetBuffers; in DRI2GetBuffers()
418 req->drawable = drawable; in DRI2GetBuffers()
419 req->count = count; in DRI2GetBuffers()
420 p = (CARD32 *) & req[1]; in DRI2GetBuffers()
465 xDRI2GetBuffersReq *req; in DRI2GetBuffersWithFormat() local
474 GetReqExtra(DRI2GetBuffers, count * (4 * 2), req); in DRI2GetBuffersWithFormat()
475 req->reqType = info->codes->major_opcode; in DRI2GetBuffersWithFormat()
476 req->dri2ReqType = X_DRI2GetBuffersWithFormat; in DRI2GetBuffersWithFormat()
477 req->drawable = drawable; in DRI2GetBuffersWithFormat()
478 req->count = count; in DRI2GetBuffersWithFormat()
479 p = (CARD32 *) & req[1]; in DRI2GetBuffersWithFormat()
522 xDRI2CopyRegionReq *req; in DRI2CopyRegion() local
528 GetReq(DRI2CopyRegion, req); in DRI2CopyRegion()
529 req->reqType = info->codes->major_opcode; in DRI2CopyRegion()
530 req->dri2ReqType = X_DRI2CopyRegion; in DRI2CopyRegion()
531 req->drawable = drawable; in DRI2CopyRegion()
532 req->region = region; in DRI2CopyRegion()
533 req->dest = dest; in DRI2CopyRegion()
534 req->src = src; in DRI2CopyRegion()
544 load_swap_req(xDRI2SwapBuffersReq *req, CARD64 target, CARD64 divisor, in load_swap_req() argument
547 req->target_msc_hi = target >> 32; in load_swap_req()
548 req->target_msc_lo = target & 0xffffffff; in load_swap_req()
549 req->divisor_hi = divisor >> 32; in load_swap_req()
550 req->divisor_lo = divisor & 0xffffffff; in load_swap_req()
551 req->remainder_hi = remainder >> 32; in load_swap_req()
552 req->remainder_lo = remainder & 0xffffffff; in load_swap_req()
565 xDRI2SwapBuffersReq *req; in DRI2SwapBuffers() local
571 GetReq(DRI2SwapBuffers, req); in DRI2SwapBuffers()
572 req->reqType = info->codes->major_opcode; in DRI2SwapBuffers()
573 req->dri2ReqType = X_DRI2SwapBuffers; in DRI2SwapBuffers()
574 req->drawable = drawable; in DRI2SwapBuffers()
575 load_swap_req(req, target_msc, divisor, remainder); in DRI2SwapBuffers()
591 xDRI2GetMSCReq *req; in DRI2GetMSC() local
597 GetReq(DRI2GetMSC, req); in DRI2GetMSC()
598 req->reqType = info->codes->major_opcode; in DRI2GetMSC()
599 req->dri2ReqType = X_DRI2GetMSC; in DRI2GetMSC()
600 req->drawable = drawable; in DRI2GetMSC()
621 load_msc_req(xDRI2WaitMSCReq *req, CARD64 target, CARD64 divisor, in load_msc_req() argument
624 req->target_msc_hi = target >> 32; in load_msc_req()
625 req->target_msc_lo = target & 0xffffffff; in load_msc_req()
626 req->divisor_hi = divisor >> 32; in load_msc_req()
627 req->divisor_lo = divisor & 0xffffffff; in load_msc_req()
628 req->remainder_hi = remainder >> 32; in load_msc_req()
629 req->remainder_lo = remainder & 0xffffffff; in load_msc_req()
636 xDRI2WaitMSCReq *req; in DRI2WaitMSC() local
642 GetReq(DRI2WaitMSC, req); in DRI2WaitMSC()
643 req->reqType = info->codes->major_opcode; in DRI2WaitMSC()
644 req->dri2ReqType = X_DRI2WaitMSC; in DRI2WaitMSC()
645 req->drawable = drawable; in DRI2WaitMSC()
646 load_msc_req(req, target_msc, divisor, remainder); in DRI2WaitMSC()
667 load_sbc_req(xDRI2WaitSBCReq *req, CARD64 target) in load_sbc_req() argument
669 req->target_sbc_hi = target >> 32; in load_sbc_req()
670 req->target_sbc_lo = target & 0xffffffff; in load_sbc_req()
677 xDRI2WaitSBCReq *req; in DRI2WaitSBC() local
683 GetReq(DRI2WaitSBC, req); in DRI2WaitSBC()
684 req->reqType = info->codes->major_opcode; in DRI2WaitSBC()
685 req->dri2ReqType = X_DRI2WaitSBC; in DRI2WaitSBC()
686 req->drawable = drawable; in DRI2WaitSBC()
687 load_sbc_req(req, target_sbc); in DRI2WaitSBC()
710 xDRI2SwapIntervalReq *req; in DRI2SwapInterval() local
715 GetReq(DRI2SwapInterval, req); in DRI2SwapInterval()
716 req->reqType = info->codes->major_opcode; in DRI2SwapInterval()
717 req->dri2ReqType = X_DRI2SwapInterval; in DRI2SwapInterval()
718 req->drawable = drawable; in DRI2SwapInterval()
719 req->interval = interval; in DRI2SwapInterval()