Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/util/
Du_draw_quad.c50 struct pipe_vertex_buffer vbuffer; in util_draw_vertex_buffer() local
55 memset(&vbuffer, 0, sizeof(vbuffer)); in util_draw_vertex_buffer()
56 vbuffer.buffer = vbuf; in util_draw_vertex_buffer()
57 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ in util_draw_vertex_buffer()
58 vbuffer.buffer_offset = offset; in util_draw_vertex_buffer()
63 cso_set_vertex_buffers(cso, 1, &vbuffer); in util_draw_vertex_buffer()
66 pipe->set_vertex_buffers(pipe, 1, &vbuffer); in util_draw_vertex_buffer()
80 struct pipe_vertex_buffer vbuffer = {0}; in util_draw_user_vertex_buffer() local
84 vbuffer.user_buffer = buffer; in util_draw_user_vertex_buffer()
85 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ in util_draw_user_vertex_buffer()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c362 struct pipe_vertex_buffer *vbuffer, in setup_interleaved_attribs() argument
426 vbuffer->buffer = NULL; in setup_interleaved_attribs()
427 vbuffer->user_buffer = NULL; in setup_interleaved_attribs()
428 vbuffer->buffer_offset = 0; in setup_interleaved_attribs()
429 vbuffer->stride = 0; in setup_interleaved_attribs()
439 vbuffer->buffer = stobj->buffer; in setup_interleaved_attribs()
440 vbuffer->user_buffer = NULL; in setup_interleaved_attribs()
441 vbuffer->buffer_offset = pointer_to_offset(low_addr); in setup_interleaved_attribs()
442 vbuffer->stride = stride; in setup_interleaved_attribs()
446 vbuffer->buffer = NULL; in setup_interleaved_attribs()
[all …]
Dst_cb_drawtex.c111 struct pipe_resource *vbuffer = NULL; in st_DrawTex() local
156 &offset, &vbuffer, (void **) &vbuf) != PIPE_OK) { in st_DrawTex()
270 util_draw_vertex_buffer(pipe, cso, vbuffer, in st_DrawTex()
277 pipe_resource_reference(&vbuffer, NULL); in st_DrawTex()
Dst_draw_feedback.c206 draw_set_vertex_buffer(draw, attr, &vbuffer[attr]); in st_feedback_draw_vbo()
/external/mesa3d/src/gallium/state_trackers/vega/
Dpolygon.c263 struct pipe_vertex_buffer vbuffer; in polygon_fill() local
289 memset(&vbuffer, 0, sizeof(vbuffer)); in polygon_fill()
290 vbuffer.user_buffer = poly->user_vbuf; in polygon_fill()
291 vbuffer.stride = COMPONENTS * sizeof(float); /* vertex size */ in polygon_fill()
295 renderer_polygon_stencil(ctx->renderer, &vbuffer, in polygon_fill()
312 struct pipe_vertex_buffer vbuffer; in polygon_array_fill() local
330 memset(&vbuffer, 0, sizeof(vbuffer)); in polygon_array_fill()
331 vbuffer.stride = COMPONENTS * sizeof(float); /* vertex size */ in polygon_array_fill()
340 vbuffer.user_buffer = poly->user_vbuf; in polygon_array_fill()
342 renderer_polygon_stencil(ctx->renderer, &vbuffer, in polygon_array_fill()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Doutput.c426 struct pipe_video_buffer vtmpl, *vbuffer; in vlVdpOutputSurfacePutBitsYCbCr() local
462 vbuffer = pipe->create_video_buffer(pipe, &vtmpl); in vlVdpOutputSurfacePutBitsYCbCr()
463 if (!vbuffer) { in vlVdpOutputSurfacePutBitsYCbCr()
468 sampler_views = vbuffer->get_sampler_view_planes(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr()
470 vbuffer->destroy(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr()
497 vl_compositor_set_buffer_layer(cstate, compositor, 0, vbuffer, NULL, NULL, VL_COMPOSITOR_WEAVE); in vlVdpOutputSurfacePutBitsYCbCr()
501 vbuffer->destroy(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.h66 void bindVertexBuffer(GrVkGpu* gpu, GrVkVertexBuffer* vbuffer) { in bindVertexBuffer() argument
67 VkBuffer vkBuffer = vbuffer->buffer(); in bindVertexBuffer()
77 addResource(vbuffer->resource()); in bindVertexBuffer()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch.c162 ((char *)draw->pt.user.vbuffer[i] + in draw_pt_fetch_run()
189 ((char *)draw->pt.user.vbuffer[i] + in draw_pt_fetch_run_linear()
Ddraw_pt_fetch_shade_pipeline_llvm.c242 (const char **)draw->pt.user.vbuffer, in llvm_pipeline_generic()
251 (const char **)draw->pt.user.vbuffer, in llvm_pipeline_generic()
Ddraw_pt.c272 ubyte *ptr = (ubyte *) draw->pt.user.vbuffer[buf]; in draw_print_arrays()
490 draw->pt.user.vbuffer[i]); in draw_vbo()
Ddraw_private.h184 const void *vbuffer[PIPE_MAX_ATTRIBS]; member
Ddraw_pt_fetch_emit.c172 ((char *)draw->pt.user.vbuffer[i] + in fetch_emit_prepare()
Ddraw_pt_fetch_shade_emit.c162 ((const ubyte *) draw->pt.user.vbuffer[i] + in fse_prepare()
Ddraw_context.c355 draw->pt.user.vbuffer[attr] = buffer; in draw_set_mapped_vertex_buffer()
/external/skia/src/gpu/gl/
DGrGLGpu.h508 const GrGLVertexBuffer* vbuffer,
DGrGLGpu.cpp3948 const GrGLVertexBuffer* vbuffer, in bindArrayAndBuffersToDraw() argument
3950 SkASSERT(vbuffer); in bindArrayAndBuffersToDraw()
3951 GrGLuint vbufferID = vbuffer->bufferID(); in bindArrayAndBuffersToDraw()