/external/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, &vbuffer); in util_draw_vertex_buffer() 67 pipe->set_vertex_buffers(pipe, vbuf_slot, 1, &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 …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_array.c | 136 struct pipe_vertex_buffer *vbuffer, unsigned *num_vbuffers, in st_setup_arrays() argument 165 vbuffer[bufidx].buffer.resource = stobj ? stobj->buffer : NULL; in st_setup_arrays() 166 vbuffer[bufidx].is_user_buffer = false; in st_setup_arrays() 167 vbuffer[bufidx].buffer_offset = binding->Offset + in st_setup_arrays() 170 vbuffer[bufidx].buffer.user = attrib->Ptr; in st_setup_arrays() 171 vbuffer[bufidx].is_user_buffer = true; in st_setup_arrays() 172 vbuffer[bufidx].buffer_offset = 0; in st_setup_arrays() 174 vbuffer[bufidx].stride = binding->Stride; /* in bytes */ in st_setup_arrays() 195 vbuffer[bufidx].buffer.resource = stobj ? stobj->buffer : NULL; in st_setup_arrays() 196 vbuffer[bufidx].is_user_buffer = false; in st_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() 337 util_draw_vertex_buffer(pipe, cso, vbuffer, 0, in st_DrawTex() 343 pipe_resource_reference(&vbuffer, NULL); in st_DrawTex()
|
D | st_atom.h | 67 struct pipe_vertex_buffer *vbuffer, unsigned *num_vbuffers, 75 struct pipe_vertex_buffer *vbuffer, unsigned *num_vbuffers);
|
D | st_draw_feedback.c | 172 struct pipe_vertex_buffer *vbuffer = &vbuffers[buf]; in st_feedback_draw_vbo() local 174 if (vbuffer->is_user_buffer) { in st_feedback_draw_vbo() 175 draw_set_mapped_vertex_buffer(draw, buf, vbuffer->buffer.user, ~0); in st_feedback_draw_vbo() 177 void *map = pipe_buffer_map(pipe, vbuffer->buffer.resource, in st_feedback_draw_vbo() 180 vbuffer->buffer.resource->width0); in st_feedback_draw_vbo()
|
/external/mesa3d/src/gallium/frontends/vdpau/ |
D | output.c | 443 struct pipe_video_buffer vtmpl, *vbuffer; in vlVdpOutputSurfacePutBitsYCbCr() local 477 vbuffer = pipe->create_video_buffer(pipe, &vtmpl); in vlVdpOutputSurfacePutBitsYCbCr() 478 if (!vbuffer) { in vlVdpOutputSurfacePutBitsYCbCr() 483 sampler_views = vbuffer->get_sampler_view_planes(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr() 485 vbuffer->destroy(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr() 514 vl_compositor_set_buffer_layer(cstate, compositor, 0, vbuffer, NULL, NULL, VL_COMPOSITOR_WEAVE); in vlVdpOutputSurfacePutBitsYCbCr() 518 vbuffer->destroy(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr() 523 vbuffer->destroy(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch.c | 160 ((char *)draw->pt.user.vbuffer[i].map + in draw_pt_fetch_run() 188 ((char *)draw->pt.user.vbuffer[i].map + in draw_pt_fetch_run_linear()
|
D | draw_pt.c | 294 ubyte *ptr = (ubyte *) draw->pt.user.vbuffer[buf].map; in draw_print_arrays() 525 (int) draw->pt.user.vbuffer[i].size, in draw_vbo() 526 draw->pt.user.vbuffer[i].map); in draw_vbo()
|
D | draw_private.h | 203 struct draw_vertex_buffer vbuffer[PIPE_MAX_ATTRIBS]; member
|
D | draw_pt_fetch_shade_emit.c | 162 ((const ubyte *) draw->pt.user.vbuffer[i].map + in fse_prepare()
|
D | draw_pt_fetch_emit.c | 172 ((char *)draw->pt.user.vbuffer[i].map + in fetch_emit_prepare()
|
D | draw_context.c | 448 draw->pt.user.vbuffer[attr].map = buffer; in draw_set_mapped_vertex_buffer() 449 draw->pt.user.vbuffer[attr].size = size; in draw_set_mapped_vertex_buffer()
|
D | draw_pt_fetch_shade_pipeline_llvm.c | 626 draw->pt.user.vbuffer, in llvm_pipeline_generic()
|
/external/skqp/src/gpu/vk/ |
D | GrVkCommandBuffer.cpp | 182 const GrVkVertexBuffer* vbuffer) { in bindInputBuffer() argument 183 VkBuffer vkBuffer = vbuffer->buffer(); in bindInputBuffer() 189 VkDeviceSize offset = vbuffer->offset(); in bindInputBuffer() 196 addResource(vbuffer->resource()); in bindInputBuffer()
|
D | GrVkCommandBuffer.h | 48 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, const GrVkVertexBuffer* vbuffer);
|
/external/skqp/src/gpu/ops/ |
D | GrFillRectOp.cpp | 189 sk_sp<const GrBuffer> vbuffer; in onPrepareDraws() local 195 &vbuffer, &vertexOffsetInBuffer); in onPrepareDraws() 226 mesh->setVertexData(std::move(vbuffer), vertexOffsetInBuffer); in onPrepareDraws()
|
D | GrTextureOp.cpp | 398 sk_sp<const GrBuffer> vbuffer; in onPrepareDraws() local 413 vertexSize, meshVertexCnt, numQuadVerticesLeft, &vbuffer, in onPrepareDraws() 430 meshes[m].setVertexData(vbuffer, vertexOffsetInBuffer); in onPrepareDraws()
|
/external/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, &vbuffer); in r600_draw_rectangle()
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_context.c | 76 struct pipe_vertex_buffer vbuffer = {0}; in hud_draw_colored_prims() local 90 &vbuffer.buffer_offset, &vbuffer.buffer.resource); in hud_draw_colored_prims() 92 vbuffer.stride = 2 * sizeof(float); in hud_draw_colored_prims() 94 cso_set_vertex_buffers(cso, 0, 1, &vbuffer); in hud_draw_colored_prims() 95 pipe_resource_reference(&vbuffer.buffer.resource, NULL); in hud_draw_colored_prims()
|
/external/mesa3d/src/compiler/ |
D | builtin_type_macros.h | 193 DECL_TYPE(vbuffer, GL_IMAGE_BUFFER, GLSL_TYPE_IMAGE, GLSL_SAMPLER_DIM_BUF, 0, 0, GLSL_TYPE_VOID)
|