/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 | 460 struct pipe_vertex_buffer vbuffer; in setup_interleaved_attribs() local 533 vbuffer.buffer.resource = NULL; in setup_interleaved_attribs() 534 vbuffer.is_user_buffer = false; in setup_interleaved_attribs() 535 vbuffer.buffer_offset = 0; in setup_interleaved_attribs() 536 vbuffer.stride = 0; in setup_interleaved_attribs() 547 vbuffer.buffer.resource = stobj->buffer; in setup_interleaved_attribs() 548 vbuffer.is_user_buffer = false; in setup_interleaved_attribs() 549 vbuffer.buffer_offset = pointer_to_offset(low_addr); in setup_interleaved_attribs() 550 vbuffer.stride = stride; in setup_interleaved_attribs() 554 vbuffer.buffer.user = low_addr; 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 | 233 draw_set_vertex_buffer(draw, attr, &vbuffer[attr]); in st_feedback_draw_vbo()
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | output.c | 442 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 | 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 | 435 draw->pt.user.vbuffer[attr].map = buffer; in draw_set_mapped_vertex_buffer() 436 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 | 402 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/skia/src/gpu/ops/ |
D | GrFillRectOp.cpp | 211 sk_sp<const GrBuffer> vbuffer; in onPrepareDraws() local 217 &vbuffer, &vertexOffsetInBuffer); in onPrepareDraws() 249 mesh->setVertexData(std::move(vbuffer), vertexOffsetInBuffer); in onPrepareDraws()
|
D | GrTextureOp.cpp | 477 sk_sp<const GrBuffer> vbuffer; in onPrepareDraws() local 492 vertexSize, meshVertexCnt, numQuadVerticesLeft, &vbuffer, in onPrepareDraws() 509 meshes[m].setVertexData(vbuffer, vertexOffsetInBuffer); in onPrepareDraws()
|
/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/skia/src/gpu/vk/ |
D | GrVkCommandBuffer.cpp | 185 const GrVkVertexBuffer* vbuffer) { in bindInputBuffer() argument 186 VkBuffer vkBuffer = vbuffer->buffer(); in bindInputBuffer() 192 VkDeviceSize offset = vbuffer->offset(); in bindInputBuffer() 199 this->addResource(vbuffer->resource()); in bindInputBuffer()
|
D | GrVkCommandBuffer.h | 49 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, const GrVkVertexBuffer* vbuffer);
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe_common.c | 227 struct pipe_vertex_buffer vbuffer = {}; in r600_draw_rectangle() local 228 vbuffer.buffer.resource = buf; in r600_draw_rectangle() 229 vbuffer.stride = 2 * 4 * sizeof(float); /* vertex size */ in r600_draw_rectangle() 230 vbuffer.buffer_offset = offset; in r600_draw_rectangle() 232 rctx->b.set_vertex_buffers(&rctx->b, blitter->vb_slot, 1, &vbuffer); in r600_draw_rectangle()
|