/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_draw_quad.c | 50 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/ |
D | st_atom_array.c | 362 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 …]
|
D | st_cb_drawtex.c | 111 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()
|
D | st_draw_feedback.c | 206 draw_set_vertex_buffer(draw, attr, &vbuffer[attr]); in st_feedback_draw_vbo()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | polygon.c | 263 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/ |
D | output.c | 426 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/ |
D | GrVkCommandBuffer.h | 66 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/ |
D | draw_pt_fetch.c | 162 ((char *)draw->pt.user.vbuffer[i] + in draw_pt_fetch_run() 189 ((char *)draw->pt.user.vbuffer[i] + in draw_pt_fetch_run_linear()
|
D | draw_pt_fetch_shade_pipeline_llvm.c | 242 (const char **)draw->pt.user.vbuffer, in llvm_pipeline_generic() 251 (const char **)draw->pt.user.vbuffer, in llvm_pipeline_generic()
|
D | draw_pt.c | 272 ubyte *ptr = (ubyte *) draw->pt.user.vbuffer[buf]; in draw_print_arrays() 490 draw->pt.user.vbuffer[i]); in draw_vbo()
|
D | draw_private.h | 184 const void *vbuffer[PIPE_MAX_ATTRIBS]; member
|
D | draw_pt_fetch_emit.c | 172 ((char *)draw->pt.user.vbuffer[i] + in fetch_emit_prepare()
|
D | draw_pt_fetch_shade_emit.c | 162 ((const ubyte *) draw->pt.user.vbuffer[i] + in fse_prepare()
|
D | draw_context.c | 355 draw->pt.user.vbuffer[attr] = buffer; in draw_set_mapped_vertex_buffer()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.h | 508 const GrGLVertexBuffer* vbuffer,
|
D | GrGLGpu.cpp | 3948 const GrGLVertexBuffer* vbuffer, in bindArrayAndBuffersToDraw() argument 3950 SkASSERT(vbuffer); in bindArrayAndBuffersToDraw() 3951 GrGLuint vbufferID = vbuffer->bufferID(); in bindArrayAndBuffersToDraw()
|