Home
last modified time | relevance | path

Searched refs:so_targets (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_so.c82 …pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], targets[i]… in llvmpipe_set_so_targets()
85 if (!append && llvmpipe->so_targets[i]) { in llvmpipe_set_so_targets()
86 llvmpipe->so_targets[i]->internal_offset = offsets[i]; in llvmpipe_set_so_targets()
91 llvmpipe->so_targets[i]->mapping = buf; in llvmpipe_set_so_targets()
96 pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], NULL); in llvmpipe_set_so_targets()
101 llvmpipe->so_targets); in llvmpipe_set_so_targets()
Dlp_context.h100 struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
Dlp_surface.c152 (struct pipe_stream_output_target**)lp->so_targets); in lp_blit()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_so.c72 …pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], targets[i]… in softpipe_set_so_targets()
76 softpipe->so_targets[i]->mapping = buf; in softpipe_set_so_targets()
81 pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], NULL); in softpipe_set_so_targets()
87 softpipe->so_targets); in softpipe_set_so_targets()
Dsp_context.h94 struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
Dsp_surface.c68 (struct pipe_stream_output_target**)sp->so_targets); in sp_blit()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_streamout.c84 pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer); in virgl_set_so_targets()
88 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); in virgl_set_so_targets()
92 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); in virgl_set_so_targets()
Dvirgl_context.h94 struct virgl_so_target so_targets[PIPE_MAX_SO_BUFFERS]; member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_streamout.c436 struct svga_buffer *sbuf = svga_buffer(svga->so_targets[i]->buffer); in svga_set_stream_output_targets()
444 for (i = 0; i < ARRAY_SIZE(svga->so_targets); i++) { in svga_set_stream_output_targets()
445 svga->vcount_so_targets[i] = svga->so_targets[i]; in svga_set_stream_output_targets()
461 svga->so_targets[i] = &sot->base; in svga_set_stream_output_targets()
483 svga->so_targets[i] = NULL; in svga_set_stream_output_targets()
Dsvga_pipe_draw.c334 for (unsigned i = 0; i < ARRAY_SIZE(svga->so_targets); i++) { in svga_draw_vbo()
Dsvga_pipe_clear.c51 (struct pipe_stream_output_target**)svga->so_targets); in begin_blit()
Dsvga_context.h620 struct pipe_stream_output_target *so_targets[SVGA3D_DX_MAX_SOTARGETS]; member
Dsvga_pipe_blit.c628 (struct pipe_stream_output_target**)svga->so_targets); in try_blit()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_draw.c56 struct zink_so_target *t = zink_so_target(ctx->so_targets[i]); in zink_emit_xfb_counter_barrier()
122 struct zink_so_target *t = (struct zink_so_target *)ctx->so_targets[i]; in zink_emit_stream_output_targets()
309 struct zink_so_target *t = zink_so_target(ctx->so_targets[i]); in zink_draw_vbo()
484 struct zink_so_target *t = zink_so_target(ctx->so_targets[i]); in zink_draw_vbo()
546 struct zink_so_target *t = zink_so_target(ctx->so_targets[i]); in zink_draw_vbo()
550 zink_resource(ctx->so_targets[i]->buffer)->needs_xfb_barrier = true; in zink_draw_vbo()
Dzink_context.h139 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_OUTPUTS]; member
Dzink_blit.c217 util_blitter_save_so_targets(ctx->blitter, ctx->num_so_targets, ctx->so_targets); in zink_blit()
Dzink_context.c1172 pipe_so_target_reference(&ctx->so_targets[i], NULL); in zink_set_stream_output_targets()
1176 pipe_so_target_reference(&ctx->so_targets[i], targets[i]); in zink_set_stream_output_targets()
1178 pipe_so_target_reference(&ctx->so_targets[i], NULL); in zink_set_stream_output_targets()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c103 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
473 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_destroy_context()
1505 pipe_so_target_reference(&ctx->so_targets[i], targets[i]); in cso_set_stream_outputs()
1509 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_set_stream_outputs()
1530 pipe_so_target_reference(&ctx->so_targets_saved[i], ctx->so_targets[i]); in cso_save_stream_outputs()
1552 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_restore_stream_outputs()
1554 ctx->so_targets[i] = ctx->so_targets_saved[i]; in cso_restore_stream_outputs()
1560 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_restore_stream_outputs()
1564 ctx->so_targets, offset); in cso_restore_stream_outputs()
/external/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_draw.c392 if (dstate->so_targets[i]) { in dd_dump_draw_vbo()
393 DUMP_I(stream_output_target, dstate->so_targets[i], i); in dd_dump_draw_vbo()
394 DUMP_M(resource, dstate->so_targets[i], buffer); in dd_dump_draw_vbo()
776 memset(state->base.so_targets, 0, in dd_init_copy_of_draw_state()
777 sizeof(state->base.so_targets)); in dd_init_copy_of_draw_state()
813 for (i = 0; i < ARRAY_SIZE(dst->so_targets); i++) in dd_unreference_copy_of_draw_state()
814 pipe_so_target_reference(&dst->so_targets[i], NULL); in dd_unreference_copy_of_draw_state()
853 pipe_so_target_reference(&dst->so_targets[i], src->so_targets[i]); in dd_copy_draw_state()
Ddd_pipe.h231 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.h182 pipe_stream_output_target *so_targets[MAX_SO_STREAMS];
Dswr_state.cpp840 struct pipe_stream_output_target *target = ctx->so_targets[i]; in swr_update_resource_status()
2000 if (ctx->so_targets[i]) { in swr_update_derived()
2003 (gfxptr_t)(swr_resource_data(ctx->so_targets[i]->buffer) + in swr_update_derived()
2004 ctx->so_targets[i]->buffer_offset); in swr_update_derived()
2005 buffer.bufferSize = ctx->so_targets[i]->buffer_size >> 2; in swr_update_derived()
2131 (struct pipe_stream_output_target **)&swr->so_targets[i], in swr_set_so_targets()
2137 (struct pipe_stream_output_target **)&swr->so_targets[i], NULL); in swr_set_so_targets()
Dswr_context.cpp328 (struct pipe_stream_output_target **)ctx->so_targets); in swr_blit()
/external/virglrenderer/src/
Dvrend_renderer.c429 struct vrend_so_target *so_targets[16]; member
1487 vrend_so_target_reference(&obj->so_targets[i], NULL); in vrend_destroy_streamout_object()
1582 if (obj->so_targets[i] == target) { in vrend_destroy_so_target_object()
6751 …if (so_obj->so_targets[i]->buffer_offset || so_obj->so_targets[i]->buffer_size < so_obj->so_target… in vrend_hw_emit_streamout_targets()
6752 …NSFORM_FEEDBACK_BUFFER, i, so_obj->so_targets[i]->buffer->id, so_obj->so_targets[i]->buffer_offset… in vrend_hw_emit_streamout_targets()
6754 glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, i, so_obj->so_targets[i]->buffer->id); in vrend_hw_emit_streamout_targets()
6800 vrend_so_target_reference(&obj->so_targets[i], target); in vrend_set_streamout_targets()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py542 self._state.so_targets = tgs

12