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.c235 clear_with_quad(struct gl_context *ctx, unsigned clear_buffers) in clear_with_quad() argument
276 if (clear_buffers & PIPE_CLEAR_COLOR) { in clear_with_quad()
285 if (!(clear_buffers & (PIPE_CLEAR_COLOR0 << i))) in clear_with_quad()
301 if (clear_buffers & PIPE_CLEAR_DEPTH) { in clear_with_quad()
307 if (clear_buffers & PIPE_CLEAR_STENCIL) { in clear_with_quad()
434 GLbitfield clear_buffers = 0x0; in st_Clear() local
472 clear_buffers |= PIPE_CLEAR_COLOR0 << i; in st_Clear()
487 clear_buffers |= PIPE_CLEAR_DEPTH; in st_Clear()
501 clear_buffers |= PIPE_CLEAR_STENCIL; in st_Clear()
510 clear_buffers & PIPE_CLEAR_DEPTHSTENCIL) { in st_Clear()
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_clear.c267 zink_clear_framebuffer(struct zink_context *ctx, unsigned clear_buffers) in zink_clear_framebuffer() argument
272 …assert(!(clear_buffers & PIPE_CLEAR_DEPTHSTENCIL) || zink_fb_clear_enabled(ctx, PIPE_MAX_COLOR_BUF… in zink_clear_framebuffer()
273 for (int i = 0; i < fb_state->nr_cbufs && clear_buffers >= PIPE_CLEAR_COLOR0; i++) { in zink_clear_framebuffer()
274 assert(!(clear_buffers & (PIPE_CLEAR_COLOR0 << i)) || zink_fb_clear_enabled(ctx, i)); in zink_clear_framebuffer()
277 while (clear_buffers) { in zink_clear_framebuffer()
281 for (int i = 0; i < fb_state->nr_cbufs && clear_buffers >= PIPE_CLEAR_COLOR0; i++) { in zink_clear_framebuffer()
284 if (!(clear_buffers & (PIPE_CLEAR_COLOR0 << i))) in zink_clear_framebuffer()
308 clear_buffers &= ~(PIPE_CLEAR_COLOR0 << i); in zink_clear_framebuffer()
311 clear_buffers &= ~PIPE_CLEAR_COLOR; in zink_clear_framebuffer()
312 if (clear_buffers & PIPE_CLEAR_DEPTHSTENCIL) { in zink_clear_framebuffer()
[all …]
Dzink_clear.h95 zink_clear_framebuffer(struct zink_context *ctx, unsigned clear_buffers);
Dzink_context.c2150 unsigned clear_buffers = 0; in begin_render_pass() local
2159 clear_buffers |= (PIPE_CLEAR_COLOR0 << i); in begin_render_pass()
2182 …(clear_buffers & PIPE_CLEAR_DEPTHSTENCIL) != PIPE_CLEAR_DEPTHSTENCIL && j < zink_fb_clear_count(fb… in begin_render_pass()
2184 clear_buffers |= zink_fb_clear_element(fb_clear, j)->zs.bits; in begin_render_pass()
2232 return clear_buffers; in begin_render_pass()
2301 unsigned clear_buffers = begin_render_pass(ctx); in zink_begin_render_pass() local
2305 zink_clear_framebuffer(ctx, clear_buffers); in zink_begin_render_pass()
/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)
1414 unsigned clear_buffers) in get_clear_blend_state() argument
1419 clear_buffers &= PIPE_CLEAR_COLOR; in get_clear_blend_state()
1422 if (!clear_buffers) in get_clear_blend_state()
1425 index = GET_CLEAR_BLEND_STATE_IDX(clear_buffers); in get_clear_blend_state()
1438 if (clear_buffers & (PIPE_CLEAR_COLOR0 << i)) { in get_clear_blend_state()
1451 unsigned clear_buffers, in util_blitter_common_clear_setup() argument
1466 pipe->bind_blend_state(pipe, get_clear_blend_state(ctx, clear_buffers)); in util_blitter_common_clear_setup()
1471 } else if ((clear_buffers & PIPE_CLEAR_DEPTHSTENCIL) == PIPE_CLEAR_DEPTHSTENCIL) { in util_blitter_common_clear_setup()
[all …]
Du_blitter.h209 unsigned clear_buffers,
602 unsigned clear_buffers,
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_clear.c71 unsigned clear_buffers, in clear_buffers_with_quad() argument
81 clear_buffers, color, in clear_buffers_with_quad()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c127 unsigned clear_buffers) in r300_cbzb_clear_allowed() argument
133 if ((clear_buffers & ~PIPE_CLEAR_COLOR) != 0 || fb->nr_cbufs != 1 || !fb->cbufs[0]) in r300_cbzb_clear_allowed()
140 unsigned clear_buffers) in r300_fast_zclear_allowed() argument
/third_party/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c251 clear_buffers(struct gl_context *ctx, GLbitfield buffers) in clear_buffers() function
860 driver->Clear = clear_buffers; in xmesa_init_driver_functions()
/third_party/mesa3d/docs/relnotes/
D20.1.0.rst3230 - i965: Split merge_inputs and clear_buffers.