/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_clear.c | 521 struct pipe_scissor_state scissor_state = { in st_Clear() local 536 miny = fb->Height - scissor_state.maxy; in st_Clear() 537 maxy = fb->Height - scissor_state.miny; in st_Clear() 538 scissor_state.miny = MAX2(miny, 0); in st_Clear() 539 scissor_state.maxy = MAX2(maxy, 0); in st_Clear() 543 scissor_state.maxx = MIN2(scissor_state.maxx, fb->Width); in st_Clear() 544 scissor_state.maxy = MIN2(scissor_state.maxy, fb->Height); in st_Clear() 545 if (scissor_state.minx >= scissor_state.maxx || in st_Clear() 546 scissor_state.miny >= scissor_state.maxy) in st_Clear() 552 st->pipe->clear(st->pipe, clear_buffers, have_scissor_buffers ? &scissor_state : NULL, in st_Clear()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_clear.c | 66 const struct pipe_scissor_state *scissor_state, in clear_in_rp() argument 108 if (scissor_state) { in clear_in_rp() 109 cr.rect.offset.x = scissor_state->minx; in clear_in_rp() 110 cr.rect.offset.y = scissor_state->miny; in clear_in_rp() 111 cr.rect.extent.width = MIN2(fb->width, scissor_state->maxx - scissor_state->minx); in clear_in_rp() 112 cr.rect.extent.height = MIN2(fb->height, scissor_state->maxy - scissor_state->miny); in clear_in_rp() 173 …text *ctx, struct zink_framebuffer_clear *fb_clear, const struct pipe_scissor_state *scissor_state) in get_clear_data() argument 180 …if (!scissor_state || (last_clear->has_scissor && scissor_states_equal(&last_clear->scissor, sciss… in get_clear_data() 194 const struct pipe_scissor_state *scissor_state, in zink_clear() argument 206 if (scissor_state) { in zink_clear() [all …]
|
D | zink_clear.h | 59 const struct pipe_scissor_state *scissor_state,
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_clear.c | 641 const struct pipe_scissor_state *scissor_state, in crocus_clear() argument 657 if (scissor_state) { in crocus_clear() 658 box.x = scissor_state->minx; in crocus_clear() 659 box.y = scissor_state->miny; in crocus_clear() 660 box.width = MIN2(box.width, scissor_state->maxx - scissor_state->minx); in crocus_clear() 661 box.height = MIN2(box.height, scissor_state->maxy - scissor_state->miny); in crocus_clear()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_clear.c | 657 const struct pipe_scissor_state *scissor_state, in iris_clear() argument 672 if (scissor_state) { in iris_clear() 673 box.x = scissor_state->minx; in iris_clear() 674 box.y = scissor_state->miny; in iris_clear() 675 box.width = MIN2(box.width, scissor_state->maxx - scissor_state->minx); in iris_clear() 676 box.height = MIN2(box.height, scissor_state->maxy - scissor_state->miny); in iris_clear()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_clear.h | 40 const struct pipe_scissor_state *scissor_state,
|
D | lp_clear.c | 51 const struct pipe_scissor_state *scissor_state, in llvmpipe_clear() argument
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_clear.h | 39 const struct pipe_scissor_state *scissor_state,
|
D | sp_clear.c | 51 const struct pipe_scissor_state *scissor_state, in softpipe_clear() argument
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_context.h | 398 const struct pipe_scissor_state *scissor_state, 402 const struct pipe_scissor_state *scissor_state,
|
D | i915_clear.c | 221 const struct pipe_scissor_state *scissor_state, in i915_clear_blitter() argument 250 const struct pipe_scissor_state *scissor_state, in i915_clear_render() argument
|
/third_party/mesa3d/src/intel/vulkan/ |
D | gfx7_cmd_buffer.c | 62 struct anv_state scissor_state = in gfx7_cmd_buffer_emit_scissor() local 114 GFX7_SCISSOR_RECT_pack(NULL, scissor_state.map + i * 8, in gfx7_cmd_buffer_emit_scissor() 117 GFX7_SCISSOR_RECT_pack(NULL, scissor_state.map + i * 8, &scissor); in gfx7_cmd_buffer_emit_scissor() 123 ssp.ScissorRectPointer = scissor_state.offset; in gfx7_cmd_buffer_emit_scissor()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_context.c | 117 FREE(r300->scissor_state.state); in r300_destroy_context() 188 R300_INIT_ATOM(scissor_state, 3); in r300_setup_atoms() 238 R300_ALLOC_ATOM(scissor_state, pipe_scissor_state); in r300_setup_atoms()
|
D | r300_blit.c | 70 util_blitter_save_scissor(r300->blitter, r300->scissor_state.state); in r300_blitter_begin() 205 const struct pipe_scissor_state *scissor_state, in r300_clear() argument
|
D | r300_context.h | 512 struct r300_atom scissor_state; member
|
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/ |
D | dd_draw.c | 296 DUMP_I(scissor_state, &dstate->scissors[i], i); in dd_dump_shader() 484 DUMP_M_ADDR(scissor_state, info, scissor); in dd_dump_blit() 524 info->scissor_state.minx, info->scissor_state.miny, in dd_dump_clear() 525 info->scissor_state.maxx, info->scissor_state.maxy); in dd_dump_clear() 1496 …clear(struct pipe_context *_pipe, unsigned buffers, const struct pipe_scissor_state *scissor_state, in dd_context_clear() argument 1506 if (scissor_state) in dd_context_clear() 1507 record->call.info.clear.scissor_state = *scissor_state; in dd_context_clear() 1513 pipe->clear(pipe, buffers, scissor_state, color, depth, stencil); in dd_context_clear()
|
D | dd_pipe.h | 96 struct pipe_scissor_state scissor_state; member
|
/third_party/mesa3d/src/gallium/drivers/swr/ |
D | swr_clear.cpp | 30 const struct pipe_scissor_state *scissor_state, in swr_clear() argument
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_surface.c | 693 const struct pipe_scissor_state *scissor_state, in nvc0_clear() argument 707 if (scissor_state) { in nvc0_clear() 708 uint32_t minx = scissor_state->minx; in nvc0_clear() 709 uint32_t maxx = MIN2(fb->width, scissor_state->maxx); in nvc0_clear() 710 uint32_t miny = scissor_state->miny; in nvc0_clear() 711 uint32_t maxy = MIN2(fb->height, scissor_state->maxy); in nvc0_clear() 779 if (scissor_state) { in nvc0_clear()
|
D | nvc0_context.h | 360 const struct pipe_scissor_state *scissor_state,
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_surface.c | 527 …_clear(struct pipe_context *pipe, unsigned buffers, const struct pipe_scissor_state *scissor_state, in nv50_clear() argument 541 if (scissor_state) { in nv50_clear() 542 uint32_t minx = scissor_state->minx; in nv50_clear() 543 uint32_t maxx = MIN2(fb->width, scissor_state->maxx); in nv50_clear() 544 uint32_t miny = scissor_state->miny; in nv50_clear() 545 uint32_t maxy = MIN2(fb->height, scissor_state->maxy); in nv50_clear() 620 if (scissor_state) { in nv50_clear()
|
D | nv50_context.h | 294 const struct pipe_scissor_state *scissor_state,
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_clear.c | 53 …_clear(struct pipe_context *pipe, unsigned buffers, const struct pipe_scissor_state *scissor_state, in nv30_clear() argument
|
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
D | tr_context.c | 993 trace_dump_arg(scissor_state, states); in trace_context_set_scissor_states() 1364 const struct pipe_scissor_state *scissor_state, in trace_context_clear() argument 1377 trace_dump_scissor_state(scissor_state); in trace_context_clear() 1388 pipe->clear(pipe, buffers, scissor_state, color, depth, stencil); in trace_context_clear()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_context.h | 663 const struct pipe_scissor_state *scissor_state,
|