Lines Matching refs:ntraps
716 int rc, ntraps; in ProcRenderTrapezoids() local
741 ntraps = (client->req_len << 2) - sizeof(xRenderTrapezoidsReq); in ProcRenderTrapezoids()
742 if (ntraps % sizeof(xTrapezoid)) in ProcRenderTrapezoids()
744 ntraps /= sizeof(xTrapezoid); in ProcRenderTrapezoids()
745 if (ntraps) in ProcRenderTrapezoids()
748 ntraps, (xTrapezoid *) &stuff[1]); in ProcRenderTrapezoids()
1820 int ntraps; in ProcRenderAddTraps() local
1829 ntraps = (client->req_len << 2) - sizeof(xRenderAddTrapsReq); in ProcRenderAddTraps()
1830 if (ntraps % sizeof(xTrap)) in ProcRenderAddTraps()
1832 ntraps /= sizeof(xTrap); in ProcRenderAddTraps()
1833 if (ntraps) in ProcRenderAddTraps()
1835 stuff->xOff, stuff->yOff, ntraps, (xTrap *) &stuff[1]); in ProcRenderAddTraps()