/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_array.cpp | 86 struct pipe_vertex_buffer *vbuffer, unsigned *num_vbuffers, in setup_arrays() argument 110 vbuffer[bufidx].buffer.resource = in setup_arrays() 112 vbuffer[bufidx].is_user_buffer = false; in setup_arrays() 113 vbuffer[bufidx].buffer_offset = binding->Offset + in setup_arrays() 116 vbuffer[bufidx].buffer.user = attrib->Ptr; in setup_arrays() 117 vbuffer[bufidx].is_user_buffer = true; in setup_arrays() 118 vbuffer[bufidx].buffer_offset = 0; in setup_arrays() 120 vbuffer[bufidx].stride = binding->Stride; /* in bytes */ in setup_arrays() 143 vbuffer[bufidx].buffer.resource = in setup_arrays() 145 vbuffer[bufidx].is_user_buffer = false; in setup_arrays() [all …]
|
D | st_cb_drawtex.c | 168 struct pipe_resource *vbuffer = NULL; in st_DrawTex() local 217 &offset, &vbuffer, (void **) &vbuf); in st_DrawTex() 218 if (!vbuffer) { in st_DrawTex() 341 util_draw_vertex_buffer(pipe, cso, vbuffer, 0, in st_DrawTex() 348 pipe_resource_reference(&vbuffer, NULL); in st_DrawTex()
|
D | st_atom.h | 72 struct pipe_vertex_buffer *vbuffer, unsigned *num_vbuffers, 80 struct pipe_vertex_buffer *vbuffer, unsigned *num_vbuffers);
|
D | st_draw_feedback.c | 173 struct pipe_vertex_buffer *vbuffer = &vbuffers[buf]; in st_feedback_draw_vbo() local 175 if (vbuffer->is_user_buffer) { in st_feedback_draw_vbo() 176 draw_set_mapped_vertex_buffer(draw, buf, vbuffer->buffer.user, ~0); in st_feedback_draw_vbo() 178 void *map = pipe_buffer_map(pipe, vbuffer->buffer.resource, in st_feedback_draw_vbo() 181 vbuffer->buffer.resource->width0); in st_feedback_draw_vbo()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_draw_quad.c | 51 struct pipe_vertex_buffer vbuffer; in util_draw_vertex_buffer() local 56 memset(&vbuffer, 0, sizeof(vbuffer)); in util_draw_vertex_buffer() 57 vbuffer.buffer.resource = vbuf; in util_draw_vertex_buffer() 58 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ in util_draw_vertex_buffer() 59 vbuffer.buffer_offset = offset; in util_draw_vertex_buffer() 64 cso_set_vertex_buffers(cso, vbuf_slot, 1, 0, false, &vbuffer); in util_draw_vertex_buffer() 67 pipe->set_vertex_buffers(pipe, vbuf_slot, 1, 0, false, &vbuffer); in util_draw_vertex_buffer() 81 struct pipe_vertex_buffer vbuffer = {0}; in util_draw_user_vertex_buffer() local 85 vbuffer.is_user_buffer = true; in util_draw_user_vertex_buffer() 86 vbuffer.buffer.user = buffer; in util_draw_user_vertex_buffer() [all …]
|
D | u_vertex_state_cache.c | 78 key.input.vbuffer.stride = buffer->stride; in util_vertex_state_cache_get() 80 key.input.vbuffer.buffer_offset = buffer->buffer_offset; in util_vertex_state_cache_get() 81 key.input.vbuffer.buffer = buffer->buffer; in util_vertex_state_cache_get()
|
D | u_helpers.c | 515 pipe_vertex_buffer_reference(&state->input.vbuffer, buffer); in util_init_pipe_vertex_state()
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | output.c | 446 struct pipe_video_buffer vtmpl, *vbuffer; in vlVdpOutputSurfacePutBitsYCbCr() local 483 vbuffer = pipe->create_video_buffer(pipe, &vtmpl); in vlVdpOutputSurfacePutBitsYCbCr() 484 if (!vbuffer) { in vlVdpOutputSurfacePutBitsYCbCr() 489 sampler_views = vbuffer->get_sampler_view_planes(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr() 491 vbuffer->destroy(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr() 520 vl_compositor_set_buffer_layer(cstate, compositor, 0, vbuffer, NULL, NULL, VL_COMPOSITOR_WEAVE); in vlVdpOutputSurfacePutBitsYCbCr() 524 vbuffer->destroy(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr() 529 vbuffer->destroy(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch.c | 155 ((char *)draw->pt.user.vbuffer[i].map + in draw_pt_fetch_run() 183 ((char *)draw->pt.user.vbuffer[i].map + in draw_pt_fetch_run_linear()
|
D | draw_pt.c | 286 ubyte *ptr = (ubyte *) draw->pt.user.vbuffer[buf].map; in draw_print_arrays() 567 (int) draw->pt.user.vbuffer[i].size, in draw_vbo() 568 draw->pt.user.vbuffer[i].map); in draw_vbo()
|
D | draw_pt_fetch_shade_emit.c | 161 ((const ubyte *) draw->pt.user.vbuffer[i].map + in fse_prepare()
|
D | draw_private.h | 235 struct draw_vertex_buffer vbuffer[PIPE_MAX_ATTRIBS]; member
|
D | draw_context.c | 446 draw->pt.user.vbuffer[attr].map = buffer; in draw_set_mapped_vertex_buffer() 447 draw->pt.user.vbuffer[attr].size = size; in draw_set_mapped_vertex_buffer()
|
D | draw_pt_fetch_shade_pipeline_llvm.c | 624 draw->pt.user.vbuffer, in llvm_pipeline_generic()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe_common.c | 205 struct pipe_vertex_buffer vbuffer = {}; in r600_draw_rectangle() local 206 vbuffer.buffer.resource = buf; in r600_draw_rectangle() 207 vbuffer.stride = 2 * 4 * sizeof(float); /* vertex size */ in r600_draw_rectangle() 208 vbuffer.buffer_offset = offset; in r600_draw_rectangle() 210 rctx->b.set_vertex_buffers(&rctx->b, blitter->vb_slot, 1, 0, false, &vbuffer); in r600_draw_rectangle()
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_context.c | 78 struct pipe_vertex_buffer vbuffer = {0}; in hud_draw_colored_prims() local 92 &vbuffer.buffer_offset, &vbuffer.buffer.resource); in hud_draw_colored_prims() 94 vbuffer.stride = 2 * sizeof(float); in hud_draw_colored_prims() 96 cso_set_vertex_buffers(cso, 0, 1, 0, false, &vbuffer); in hud_draw_colored_prims() 97 pipe_resource_reference(&vbuffer.buffer.resource, NULL); in hud_draw_colored_prims()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 752 struct pipe_vertex_buffer vbuffer; member
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_draw.cpp | 161 if (!vstate->input.vbuffer.buffer.resource) in zink_bind_vertex_state() 167 struct zink_resource *res = zink_resource(vstate->input.vbuffer.buffer.resource); in zink_bind_vertex_state() 169 VkDeviceSize offset = vstate->input.vbuffer.buffer_offset; in zink_bind_vertex_state() 909 struct zink_resource *res = zink_resource(vstate->input.vbuffer.buffer.resource); in zink_draw_vertex_state()
|
D | zink_state.c | 729 pipe_vertex_buffer_unreference(&vstate->input.vbuffer); in zink_vertex_state_destroy()
|
/third_party/mesa3d/src/util/indices/ |
D | u_primconvert.c | 359 … &vstate->input.vbuffer, in util_primconvert_draw_vertex_state()
|
/third_party/mesa3d/src/compiler/ |
D | builtin_type_macros.h | 240 DECL_TYPE(vbuffer, GL_IMAGE_BUFFER, GLSL_TYPE_IMAGE, GLSL_SAMPLER_DIM_BUF, 0, 0, GLSL_TYPE_VOID)
|
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/ |
D | noop_pipe.c | 741 pipe_vertex_buffer_unreference(&state->input.vbuffer); in noop_vertex_state_destroy()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_draw.cpp | 1968 if (vstate->b.input.vbuffer.buffer.resource != vstate->b.input.indexbuf) { in si_upload_and_prefetch_VB_descriptors() 1970 si_resource(vstate->b.input.vbuffer.buffer.resource), in si_upload_and_prefetch_VB_descriptors()
|
D | si_state.c | 5258 si_set_vertex_buffer_descriptor(sscreen, &state->velems, &state->b.input.vbuffer, i, in si_create_vertex_state() 5268 pipe_vertex_buffer_unreference(&state->input.vbuffer); in si_vertex_state_destroy()
|