Home
last modified time | relevance | path

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

/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 pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], NULL); in llvmpipe_set_so_targets()
Dlp_draw_arrays.c107 if (lp->so_targets[i]) { in llvmpipe_draw_vbo()
108 buf = llvmpipe_resource(lp->so_targets[i]->target.buffer)->data; in llvmpipe_draw_vbo()
109 lp->so_targets[i]->mapping = buf; in llvmpipe_draw_vbo()
113 lp->so_targets); in llvmpipe_draw_vbo()
Dlp_context.h91 struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
Dlp_surface.c99 (struct pipe_stream_output_target**)lp->so_targets); in lp_blit()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_draw_arrays.c118 if (sp->so_targets[i]) { in softpipe_draw_vbo()
119 buf = softpipe_resource(sp->so_targets[i]->target.buffer)->data; in softpipe_draw_vbo()
120 sp->so_targets[i]->mapping = buf; in softpipe_draw_vbo()
125 sp->so_targets); in softpipe_draw_vbo()
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 pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], NULL); in softpipe_set_so_targets()
Dsp_context.h95 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.c75 pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer); in virgl_set_so_targets()
78 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); in virgl_set_so_targets()
Dvirgl_context.h68 struct virgl_so_target so_targets[PIPE_MAX_SO_BUFFERS]; member
Dvirgl_context.c149 res = virgl_resource(vctx->so_targets[i].base.buffer); in virgl_attach_res_so_targets()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_streamout.c270 struct svga_buffer *sbuf = svga_buffer(svga->so_targets[i]->buffer); in svga_set_stream_output_targets()
286 svga->so_targets[i] = &sot->base; in svga_set_stream_output_targets()
299 svga->so_targets[i] = NULL; in svga_set_stream_output_targets()
Dsvga_context.h570 struct pipe_stream_output_target *so_targets[SVGA3D_DX_MAX_SOTARGETS]; member
Dsvga_pipe_clear.c49 (struct pipe_stream_output_target**)svga->so_targets); in begin_blit()
Dsvga_pipe_blit.c395 (struct pipe_stream_output_target**)svga->so_targets); in svga_blit()
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_draw.c248 if (dstate->so_targets[i]) { in dd_dump_draw_vbo()
249 DUMP_I(stream_output_target, dstate->so_targets[i], i); in dd_dump_draw_vbo()
250 DUMP_M(resource, dstate->so_targets[i], buffer); in dd_dump_draw_vbo()
702 memset(state->base.so_targets, 0, in dd_init_copy_of_draw_state()
703 sizeof(state->base.so_targets)); in dd_init_copy_of_draw_state()
741 for (i = 0; i < ARRAY_SIZE(dst->so_targets); i++) in dd_unreference_copy_of_draw_state()
742 pipe_so_target_reference(&dst->so_targets[i], NULL); in dd_unreference_copy_of_draw_state()
784 for (i = 0; i < ARRAY_SIZE(src->so_targets); i++) in dd_copy_draw_state()
785 pipe_so_target_reference(&dst->so_targets[i], src->so_targets[i]); in dd_copy_draw_state()
Ddd_pipe.h157 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
Ddd_context.c585 safe_memcpy(dstate->so_targets, tgs, sizeof(*tgs) * num_targets); in dd_context_set_stream_output_targets()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c97 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
422 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_destroy_context()
1471 pipe_so_target_reference(&ctx->so_targets[i], targets[i]); in cso_set_stream_outputs()
1475 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_set_stream_outputs()
1496 pipe_so_target_reference(&ctx->so_targets_saved[i], ctx->so_targets[i]); in cso_save_stream_outputs()
1518 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_restore_stream_outputs()
1520 ctx->so_targets[i] = ctx->so_targets_saved[i]; in cso_restore_stream_outputs()
1526 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_restore_stream_outputs()
1530 ctx->so_targets, offset); in cso_restore_stream_outputs()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.h149 pipe_stream_output_target *so_targets[MAX_SO_STREAMS];
Dswr_state.cpp683 struct pipe_stream_output_target *target = ctx->so_targets[i]; in swr_update_resource_status()
1485 if (!ctx->so_targets[i]) in swr_update_derived()
1489 (uint32_t *)(swr_resource_data(ctx->so_targets[i]->buffer) + in swr_update_derived()
1490 ctx->so_targets[i]->buffer_offset); in swr_update_derived()
1491 buffer.bufferSize = ctx->so_targets[i]->buffer_size >> 2; in swr_update_derived()
1576 (struct pipe_stream_output_target **)&swr->so_targets[i], in swr_set_so_targets()
1582 (struct pipe_stream_output_target **)&swr->so_targets[i], NULL); in swr_set_so_targets()
Dswr_context.cpp316 (struct pipe_stream_output_target **)ctx->so_targets); in swr_blit()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py540 self._state.so_targets = tgs