Lines Matching refs:scissor
136 if (!scissor_state || (last_clear->has_scissor && scissor_states_equal(&last_clear->scissor, scissor_state)))
196 struct u_rect scissor = {scissor_state->minx, scissor_state->maxx, scissor_state->miny, scissor_state->maxy};
197 needs_rp = !zink_blit_region_fills(scissor, fb->width, fb->height);
290 clear->scissor = *scissor_state;
308 clear->scissor = *scissor_state;
359 if (a->has_scissor != b->has_scissor || (a->has_scissor && !scissor_states_equal(&a->scissor, &b->scissor)))
385 if (a->has_scissor != b->has_scissor || (a->has_scissor && !scissor_states_equal(&a->scissor, &b->scissor)))
406 clear->has_scissor ? &clear->scissor : NULL,
415 clear->has_scissor ? &clear->scissor : NULL,
462 struct pipe_scissor_state scissor = {box->x, box->y, box->x + box->width, box->y + box->height};
472 pctx->clear(pctx, PIPE_CLEAR_COLOR0, &scissor, &color, 0, 0);
492 pctx->clear(pctx, flags, &scissor, NULL, depth, stencil);
560 struct pipe_scissor_state scissor = {dstx, dsty, dstx + width, dsty + height};
561 pctx->clear(pctx, PIPE_CLEAR_COLOR0, &scissor, color, 0, 0);
589 struct pipe_scissor_state scissor = {dstx, dsty, dstx + width, dsty + height};
590 pctx->clear(pctx, clear_flags, &scissor, NULL, depth, stencil);
718 struct u_rect scissor = {clear->scissor.minx, clear->scissor.maxx,
719 clear->scissor.miny, clear->scissor.maxy};
720 if (!clear->has_scissor || zink_blit_region_covers(region, scissor)) {