Home
last modified time | relevance | path

Searched refs:so_targets (Results 1 – 24 of 24) 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.c104 if (lp->so_targets[i]) { in llvmpipe_draw_vbo()
105 buf = llvmpipe_resource(lp->so_targets[i]->target.buffer)->data; in llvmpipe_draw_vbo()
106 lp->so_targets[i]->mapping = buf; in llvmpipe_draw_vbo()
110 lp->so_targets); in llvmpipe_draw_vbo()
Dlp_context.h90 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.c115 if (sp->so_targets[i]) { in softpipe_draw_vbo()
116 buf = softpipe_resource(sp->so_targets[i]->target.buffer)->data; in softpipe_draw_vbo()
117 sp->so_targets[i]->mapping = buf; in softpipe_draw_vbo()
122 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.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.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.h67 struct virgl_so_target so_targets[PIPE_MAX_SO_BUFFERS]; member
Dvirgl_context.c151 res = virgl_resource(vctx->so_targets[i].base.buffer); in virgl_attach_res_so_targets()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_streamout.c268 struct svga_buffer *sbuf = svga_buffer(svga->so_targets[i]->buffer); in svga_set_stream_output_targets()
285 svga->so_targets[i] = &sot->base; in svga_set_stream_output_targets()
298 svga->so_targets[i] = NULL; in svga_set_stream_output_targets()
Dsvga_context.h578 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.c526 (struct pipe_stream_output_target**)svga->so_targets); in try_blit()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c101 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
430 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_destroy_context()
1449 pipe_so_target_reference(&ctx->so_targets[i], targets[i]); in cso_set_stream_outputs()
1453 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_set_stream_outputs()
1474 pipe_so_target_reference(&ctx->so_targets_saved[i], ctx->so_targets[i]); in cso_save_stream_outputs()
1496 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_restore_stream_outputs()
1498 ctx->so_targets[i] = ctx->so_targets_saved[i]; in cso_restore_stream_outputs()
1504 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_restore_stream_outputs()
1508 ctx->so_targets, offset); in cso_restore_stream_outputs()
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_draw.c320 if (dstate->so_targets[i]) { in dd_dump_draw_vbo()
321 DUMP_I(stream_output_target, dstate->so_targets[i], i); in dd_dump_draw_vbo()
322 DUMP_M(resource, dstate->so_targets[i], buffer); in dd_dump_draw_vbo()
694 memset(state->base.so_targets, 0, in dd_init_copy_of_draw_state()
695 sizeof(state->base.so_targets)); in dd_init_copy_of_draw_state()
731 for (i = 0; i < ARRAY_SIZE(dst->so_targets); i++) in dd_unreference_copy_of_draw_state()
732 pipe_so_target_reference(&dst->so_targets[i], NULL); in dd_unreference_copy_of_draw_state()
771 pipe_so_target_reference(&dst->so_targets[i], src->so_targets[i]); in dd_copy_draw_state()
Ddd_pipe.h224 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
Ddd_context.c562 safe_memcpy(dstate->so_targets, tgs, sizeof(*tgs) * num_targets); in dd_context_set_stream_output_targets()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.h158 pipe_stream_output_target *so_targets[MAX_SO_STREAMS];
Dswr_state.cpp749 struct pipe_stream_output_target *target = ctx->so_targets[i]; in swr_update_resource_status()
1745 if (!ctx->so_targets[i]) in swr_update_derived()
1749 (uint32_t *)(swr_resource_data(ctx->so_targets[i]->buffer) + in swr_update_derived()
1750 ctx->so_targets[i]->buffer_offset); in swr_update_derived()
1751 buffer.bufferSize = ctx->so_targets[i]->buffer_size >> 2; in swr_update_derived()
1872 (struct pipe_stream_output_target **)&swr->so_targets[i], in swr_set_so_targets()
1878 (struct pipe_stream_output_target **)&swr->so_targets[i], NULL); in swr_set_so_targets()
Dswr_context.cpp326 (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.py540 self._state.so_targets = tgs