Home | History | Annotate | Download | only in i965

Lines Matching defs:scissor

40    struct gen6_scissor_rect *scissor;
43 scissor = brw_state_batch(brw, AUB_TRACE_SCISSOR_STATE,
44 sizeof(*scissor), 32, &scissor_state_offset);
48 /* The scissor only needs to handle the intersection of drawable and
49 * scissor rect. Clipping to the boundaries of static shared buffers
57 /* If the scissor was out of bounds and got clamped to 0
60 * anything. Instead, just provide a min > max scissor inside
63 scissor->xmin = 1;
64 scissor->xmax = 0;
65 scissor->ymin = 1;
66 scissor->ymax = 0;
69 scissor->xmin = ctx->DrawBuffer->_Xmin;
70 scissor->xmax = ctx->DrawBuffer->_Xmax - 1;
71 scissor->ymin = ctx->DrawBuffer->_Ymin;
72 scissor->ymax = ctx->DrawBuffer->_Ymax - 1;
76 scissor->xmin = ctx->DrawBuffer->_Xmin;
77 scissor->xmax = ctx->DrawBuffer->_Xmax - 1;
78 scissor->ymin = ctx->DrawBuffer->Height - ctx->DrawBuffer->_Ymax;
79 scissor->ymax = ctx->DrawBuffer->Height - ctx->DrawBuffer->_Ymin - 1;