Home
last modified time | relevance | path

Searched refs:vbuffer (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_draw_quad.c51 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/
Dst_atom_array.c460 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 …]
Dst_cb_drawtex.c112 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()
Dst_draw_feedback.c233 draw_set_vertex_buffer(draw, attr, &vbuffer[attr]); in st_feedback_draw_vbo()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Doutput.c442 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/
Ddraw_pt_fetch.c160 ((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()
Ddraw_pt.c285 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()
Ddraw_private.h201 struct draw_vertex_buffer vbuffer[PIPE_MAX_ATTRIBS]; member
Ddraw_context.c435 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()
Ddraw_pt_fetch_emit.c172 ((char *)draw->pt.user.vbuffer[i].map + in fetch_emit_prepare()
Ddraw_pt_fetch_shade_emit.c162 ((const ubyte *) draw->pt.user.vbuffer[i].map + in fse_prepare()
Ddraw_pt_fetch_shade_pipeline_llvm.c402 draw->pt.user.vbuffer, in llvm_pipeline_generic()
/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.cpp182 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()
DGrVkCommandBuffer.h48 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, const GrVkVertexBuffer* vbuffer);
/external/skia/src/gpu/ops/
DGrFillRectOp.cpp211 sk_sp<const GrBuffer> vbuffer; in onPrepareDraws() local
217 &vbuffer, &vertexOffsetInBuffer); in onPrepareDraws()
249 mesh->setVertexData(std::move(vbuffer), vertexOffsetInBuffer); in onPrepareDraws()
DGrTextureOp.cpp477 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/
DGrFillRectOp.cpp189 sk_sp<const GrBuffer> vbuffer; in onPrepareDraws() local
195 &vbuffer, &vertexOffsetInBuffer); in onPrepareDraws()
226 mesh->setVertexData(std::move(vbuffer), vertexOffsetInBuffer); in onPrepareDraws()
DGrTextureOp.cpp398 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/
DGrVkCommandBuffer.cpp185 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()
DGrVkCommandBuffer.h49 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, const GrVkVertexBuffer* vbuffer);
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c227 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()