Home
last modified time | relevance | path

Searched refs:clear_buffers (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c226 clear_with_quad(struct gl_context *ctx, unsigned clear_buffers) in clear_with_quad() argument
267 if (clear_buffers & PIPE_CLEAR_COLOR) { in clear_with_quad()
276 if (!(clear_buffers & (PIPE_CLEAR_COLOR0 << i))) in clear_with_quad()
292 if (clear_buffers & PIPE_CLEAR_DEPTH) { in clear_with_quad()
298 if (clear_buffers & PIPE_CLEAR_STENCIL) { in clear_with_quad()
424 GLbitfield clear_buffers = 0x0; in st_Clear() local
461 clear_buffers |= PIPE_CLEAR_COLOR0 << i; in st_Clear()
474 clear_buffers |= PIPE_CLEAR_DEPTH; in st_Clear()
486 clear_buffers |= PIPE_CLEAR_STENCIL; in st_Clear()
495 clear_buffers & PIPE_CLEAR_DEPTHSTENCIL) { in st_Clear()
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_clear.c217 unsigned clear_buffers = buffers >> 2; in zink_clear() local
220 (ctx->fb_layer_mismatch & clear_buffers & BITFIELD_BIT(i))) { in zink_clear()
330 zink_clear_framebuffer(struct zink_context *ctx, unsigned clear_buffers) in zink_clear_framebuffer() argument
335 …assert(!(clear_buffers & PIPE_CLEAR_DEPTHSTENCIL) || zink_fb_clear_enabled(ctx, PIPE_MAX_COLOR_BUF… in zink_clear_framebuffer()
336 for (int i = 0; i < fb_state->nr_cbufs && clear_buffers >= PIPE_CLEAR_COLOR0; i++) { in zink_clear_framebuffer()
337 assert(!(clear_buffers & (PIPE_CLEAR_COLOR0 << i)) || zink_fb_clear_enabled(ctx, i)); in zink_clear_framebuffer()
340 while (clear_buffers) { in zink_clear_framebuffer()
344 for (int i = 0; i < fb_state->nr_cbufs && clear_buffers >= PIPE_CLEAR_COLOR0; i++) { in zink_clear_framebuffer()
347 if (!(clear_buffers & (PIPE_CLEAR_COLOR0 << i))) in zink_clear_framebuffer()
371 clear_buffers &= ~(PIPE_CLEAR_COLOR0 << i); in zink_clear_framebuffer()
[all …]
Dzink_clear.h92 zink_clear_framebuffer(struct zink_context *ctx, unsigned clear_buffers);
Dzink_render_pass.c583 unsigned clear_buffers = 0; in begin_render_pass() local
592 clear_buffers |= (PIPE_CLEAR_COLOR0 << i); in begin_render_pass()
615 …(clear_buffers & PIPE_CLEAR_DEPTHSTENCIL) != PIPE_CLEAR_DEPTHSTENCIL && j < zink_fb_clear_count(fb… in begin_render_pass()
617 clear_buffers |= zink_fb_clear_element(fb_clear, j)->zs.bits; in begin_render_pass()
673 return clear_buffers; in begin_render_pass()
Dzink_context.c2213 unsigned clear_buffers = 0; in begin_rendering() local
2291 clear_buffers |= (PIPE_CLEAR_COLOR0 << i); in begin_rendering()
2319 …(clear_buffers & PIPE_CLEAR_DEPTHSTENCIL) != PIPE_CLEAR_DEPTHSTENCIL && j < zink_fb_clear_count(fb… in begin_rendering()
2321 clear_buffers |= zink_fb_clear_element(fb_clear, j)->zs.bits; in begin_rendering()
2364 return clear_buffers; in begin_rendering()
2381 unsigned clear_buffers; in zink_batch_rp() local
2387 clear_buffers = zink_begin_render_pass(ctx); in zink_batch_rp()
2389 clear_buffers = begin_rendering(ctx); in zink_batch_rp()
2395 zink_clear_framebuffer(ctx, clear_buffers); in zink_batch_rp()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c54 #define GET_CLEAR_BLEND_STATE_IDX(clear_buffers) \ argument
55 ((clear_buffers) / PIPE_CLEAR_COLOR0)
1475 unsigned clear_buffers) in get_clear_blend_state() argument
1480 clear_buffers &= PIPE_CLEAR_COLOR; in get_clear_blend_state()
1483 if (!clear_buffers) in get_clear_blend_state()
1486 index = GET_CLEAR_BLEND_STATE_IDX(clear_buffers); in get_clear_blend_state()
1499 if (clear_buffers & (PIPE_CLEAR_COLOR0 << i)) { in get_clear_blend_state()
1512 unsigned clear_buffers, in util_blitter_common_clear_setup() argument
1527 pipe->bind_blend_state(pipe, get_clear_blend_state(ctx, clear_buffers)); in util_blitter_common_clear_setup()
1532 } else if ((clear_buffers & PIPE_CLEAR_DEPTHSTENCIL) == PIPE_CLEAR_DEPTHSTENCIL) { in util_blitter_common_clear_setup()
[all …]
Du_blitter.h210 unsigned clear_buffers,
594 unsigned clear_buffers,
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_clear.c73 unsigned clear_buffers, in clear_buffers_with_quad() argument
83 clear_buffers, color, in clear_buffers_with_quad()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c136 unsigned clear_buffers) in r300_cbzb_clear_allowed() argument
142 if ((clear_buffers & ~PIPE_CLEAR_COLOR) != 0 || fb->nr_cbufs != 1 || !fb->cbufs[0]) in r300_cbzb_clear_allowed()
149 unsigned clear_buffers) in r300_fast_zclear_allowed() argument
/third_party/mesa3d/docs/relnotes/
D20.1.0.rst3230 - i965: Split merge_inputs and clear_buffers.