/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 = 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.user_buffer = buffer; in util_draw_user_vertex_buffer() 86 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ in util_draw_user_vertex_buffer() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_array.c | 451 struct pipe_vertex_buffer *vbuffer, in setup_interleaved_attribs() argument 525 vbuffer->buffer = NULL; in setup_interleaved_attribs() 526 vbuffer->user_buffer = NULL; in setup_interleaved_attribs() 527 vbuffer->buffer_offset = 0; in setup_interleaved_attribs() 528 vbuffer->stride = 0; in setup_interleaved_attribs() 538 vbuffer->buffer = stobj->buffer; in setup_interleaved_attribs() 539 vbuffer->user_buffer = NULL; in setup_interleaved_attribs() 540 vbuffer->buffer_offset = pointer_to_offset(low_addr); in setup_interleaved_attribs() 541 vbuffer->stride = stride; in setup_interleaved_attribs() 545 vbuffer->buffer = NULL; in setup_interleaved_attribs() [all …]
|
D | st_cb_drawtex.c | 112 struct pipe_resource *vbuffer = NULL; in st_DrawTex() local 161 &offset, &vbuffer, (void **) &vbuf); in st_DrawTex() 162 if (!vbuffer) { in st_DrawTex() 279 util_draw_vertex_buffer(pipe, cso, vbuffer, in st_DrawTex() 286 pipe_resource_reference(&vbuffer, NULL); in st_DrawTex()
|
D | st_draw_feedback.c | 234 draw_set_vertex_buffer(draw, attr, &vbuffer[attr]); in st_feedback_draw_vbo()
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | output.c | 435 struct pipe_video_buffer vtmpl, *vbuffer; in vlVdpOutputSurfacePutBitsYCbCr() local 470 vbuffer = pipe->create_video_buffer(pipe, &vtmpl); in vlVdpOutputSurfacePutBitsYCbCr() 471 if (!vbuffer) { in vlVdpOutputSurfacePutBitsYCbCr() 476 sampler_views = vbuffer->get_sampler_view_planes(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr() 478 vbuffer->destroy(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr() 507 vl_compositor_set_buffer_layer(cstate, compositor, 0, vbuffer, NULL, NULL, VL_COMPOSITOR_WEAVE); in vlVdpOutputSurfacePutBitsYCbCr() 511 vbuffer->destroy(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr() 516 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 | 285 ubyte *ptr = (ubyte *) draw->pt.user.vbuffer[buf].map; in draw_print_arrays() 510 (int) draw->pt.user.vbuffer[i].size, in draw_vbo() 511 draw->pt.user.vbuffer[i].map); in draw_vbo()
|
D | draw_private.h | 201 struct draw_vertex_buffer vbuffer[PIPE_MAX_ATTRIBS]; member
|
D | draw_context.c | 436 draw->pt.user.vbuffer[attr].map = buffer; in draw_set_mapped_vertex_buffer() 437 draw->pt.user.vbuffer[attr].size = size; in draw_set_mapped_vertex_buffer()
|
D | draw_pt_fetch_emit.c | 172 ((char *)draw->pt.user.vbuffer[i].map + in fetch_emit_prepare()
|
D | draw_pt_fetch_shade_emit.c | 162 ((const ubyte *) draw->pt.user.vbuffer[i].map + in fse_prepare()
|
D | draw_pt_fetch_shade_pipeline_llvm.c | 390 draw->pt.user.vbuffer, in llvm_pipeline_generic()
|
/external/skqp/src/gpu/vk/ |
D | GrVkCommandBuffer.cpp | 154 const GrVkVertexBuffer* vbuffer) { in bindInputBuffer() argument 155 VkBuffer vkBuffer = vbuffer->buffer(); in bindInputBuffer() 161 VkDeviceSize offset = vbuffer->offset(); in bindInputBuffer() 168 addResource(vbuffer->resource()); in bindInputBuffer()
|
D | GrVkCommandBuffer.h | 48 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, const GrVkVertexBuffer* vbuffer);
|
/external/skia/src/gpu/vk/ |
D | GrVkCommandBuffer.cpp | 154 const GrVkVertexBuffer* vbuffer) { in bindInputBuffer() argument 155 VkBuffer vkBuffer = vbuffer->buffer(); in bindInputBuffer() 161 VkDeviceSize offset = vbuffer->offset(); in bindInputBuffer() 168 addResource(vbuffer->resource()); in bindInputBuffer()
|
D | GrVkCommandBuffer.h | 48 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, const GrVkVertexBuffer* vbuffer);
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_context.c | 121 struct pipe_vertex_buffer vbuffer = {0}; in hud_draw_colored_prims() local 133 vbuffer.user_buffer = buffer; in hud_draw_colored_prims() 134 vbuffer.stride = 2 * sizeof(float); in hud_draw_colored_prims() 137 1, &vbuffer); in hud_draw_colored_prims()
|
/external/skqp/src/gpu/ops/ |
D | GrTextureOp.cpp | 575 const GrBuffer* vbuffer; in onPrepareDraws() local 576 void* vdata = target->makeVertexSpace(gp->getVertexStride(), 4 * fDraws.count(), &vbuffer, in onPrepareDraws() 652 mesh.setVertexData(vbuffer, vstart); in onPrepareDraws()
|
/external/skia/src/gpu/ops/ |
D | GrTextureOp.cpp | 570 const GrBuffer* vbuffer; in onPrepareDraws() local 571 void* vdata = target->makeVertexSpace(gp->getVertexStride(), 4 * fDraws.count(), &vbuffer, in onPrepareDraws() 647 mesh.setVertexData(vbuffer, vstart); in onPrepareDraws()
|