Home
last modified time | relevance | path

Searched refs:scissor_state (Results 1 – 25 of 45) sorted by relevance

12

/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c521 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/
Dzink_clear.c66 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 …]
Dzink_clear.h59 const struct pipe_scissor_state *scissor_state,
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_clear.c641 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/
Diris_clear.c657 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/
Dlp_clear.h40 const struct pipe_scissor_state *scissor_state,
Dlp_clear.c51 const struct pipe_scissor_state *scissor_state, in llvmpipe_clear() argument
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_clear.h39 const struct pipe_scissor_state *scissor_state,
Dsp_clear.c51 const struct pipe_scissor_state *scissor_state, in softpipe_clear() argument
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_context.h398 const struct pipe_scissor_state *scissor_state,
402 const struct pipe_scissor_state *scissor_state,
Di915_clear.c221 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/
Dgfx7_cmd_buffer.c62 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/
Dr300_context.c117 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()
Dr300_blit.c70 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
Dr300_context.h512 struct r300_atom scissor_state; member
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_draw.c296 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()
Ddd_pipe.h96 struct pipe_scissor_state scissor_state; member
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_clear.cpp30 const struct pipe_scissor_state *scissor_state, in swr_clear() argument
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c693 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()
Dnvc0_context.h360 const struct pipe_scissor_state *scissor_state,
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_surface.c527 …_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()
Dnv50_context.h294 const struct pipe_scissor_state *scissor_state,
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_clear.c53 …_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/
Dtr_context.c993 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/
Dp_context.h663 const struct pipe_scissor_state *scissor_state,

12