/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_prim_vbuf.c | 67 void *vertex_buffer; member 96 align_free(cvbr->vertex_buffer); in sp_vbuf_allocate_vertices() 97 cvbr->vertex_buffer = align_malloc(size, 16); in sp_vbuf_allocate_vertices() 104 return cvbr->vertex_buffer != NULL; in sp_vbuf_allocate_vertices() 119 return cvbr->vertex_buffer; in sp_vbuf_map_vertices() 148 static inline cptrf4 get_vert( const void *vertex_buffer, in get_vert() argument 152 return (cptrf4)((char *)vertex_buffer + index * stride); in get_vert() 165 const void *vertex_buffer = cvbr->vertex_buffer; in sp_vbuf_draw_elements() local 174 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() 181 get_vert(vertex_buffer, indices[i-1], stride), in sp_vbuf_draw_elements() [all …]
|
D | sp_draw_arrays.c | 85 const void *buf = sp->vertex_buffer[i].is_user_buffer ? in softpipe_draw_vbo() 86 sp->vertex_buffer[i].buffer.user : NULL; in softpipe_draw_vbo() 89 if (!sp->vertex_buffer[i].buffer.resource) { in softpipe_draw_vbo() 92 buf = softpipe_resource_data(sp->vertex_buffer[i].buffer.resource); in softpipe_draw_vbo() 93 size = sp->vertex_buffer[i].buffer.resource->width0; in softpipe_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_vbuf.c | 82 align_free(setup->vertex_buffer); in lp_setup_allocate_vertices() 83 setup->vertex_buffer = align_malloc(size, 16); in lp_setup_allocate_vertices() 90 return setup->vertex_buffer != NULL; in lp_setup_allocate_vertices() 103 return setup->vertex_buffer; in lp_setup_map_vertices() 125 static inline const_float4_ptr get_vert( const void *vertex_buffer, in get_vert() argument 129 return (const_float4_ptr)((char *)vertex_buffer + index * stride); in get_vert() 140 const void *vertex_buffer = setup->vertex_buffer; in lp_setup_draw_elements() local 153 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() 160 get_vert(vertex_buffer, indices[i-1], stride), in lp_setup_draw_elements() 161 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() [all …]
|
D | lp_draw_arrays.c | 76 const void *buf = lp->vertex_buffer[i].is_user_buffer ? in llvmpipe_draw_vbo() 77 lp->vertex_buffer[i].buffer.user : NULL; in llvmpipe_draw_vbo() 80 if (!lp->vertex_buffer[i].buffer.resource) { in llvmpipe_draw_vbo() 83 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer.resource); in llvmpipe_draw_vbo() 84 size = lp->vertex_buffer[i].buffer.resource->width0; in llvmpipe_draw_vbo()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt.c | 300 ptr += draw->pt.vertex_buffer[buf].buffer_offset; in draw_print_arrays() 301 ptr += draw->pt.vertex_buffer[buf].stride * ii; in draw_print_arrays() 444 struct pipe_vertex_buffer *vertex_buffer) in resolve_draw_info() argument 451 assert(vertex_buffer != NULL); in resolve_draw_info() 452 info->count = vertex_buffer->stride == 0 ? 0 : in resolve_draw_info() 453 target->internal_offset / vertex_buffer->stride; in resolve_draw_info() 485 resolve_draw_info(info, &resolved_info, &(draw->pt.vertex_buffer[0])); in draw_vbo() 523 draw->pt.vertex_buffer[i].stride, in draw_vbo() 524 draw->pt.vertex_buffer[i].buffer_offset, in draw_vbo() 533 index_limit = util_draw_max_index(draw->pt.vertex_buffer, in draw_vbo()
|
D | draw_pt_fetch.c | 161 draw->pt.vertex_buffer[i].buffer_offset), in draw_pt_fetch_run() 162 draw->pt.vertex_buffer[i].stride, in draw_pt_fetch_run() 189 draw->pt.vertex_buffer[i].buffer_offset), in draw_pt_fetch_run_linear() 190 draw->pt.vertex_buffer[i].stride, in draw_pt_fetch_run_linear()
|
D | draw_pt_fetch_shade_emit.c | 118 if (draw->pt.vertex_buffer[i].stride == 0) in fse_prepare() 163 draw->pt.vertex_buffer[i].buffer_offset), in fse_prepare() 164 draw->pt.vertex_buffer[i].stride, in fse_prepare()
|
/external/deqp-deps/amber/src/vulkan/ |
D | graphics_pipeline.h | 60 Result Draw(const DrawArraysCommand* command, VertexBuffer* vertex_buffer); 75 const VertexBuffer* vertex_buffer, 79 Result SendVertexBufferDataIfNeeded(VertexBuffer* vertex_buffer);
|
D | graphics_pipeline.cc | 540 const VertexBuffer* vertex_buffer, in CreateVkGraphicsPipeline() argument 551 if (vertex_buffer != nullptr) { in CreateVkGraphicsPipeline() 552 vertex_bindings = vertex_buffer->GetVkVertexInputBinding(); in CreateVkGraphicsPipeline() 553 vertex_attribs = vertex_buffer->GetVkVertexInputAttr(); in CreateVkGraphicsPipeline() 710 VertexBuffer* vertex_buffer) { in SendVertexBufferDataIfNeeded() argument 711 if (!vertex_buffer || vertex_buffer->VertexDataSent()) in SendVertexBufferDataIfNeeded() 713 return vertex_buffer->SendVertexData(command_.get()); in SendVertexBufferDataIfNeeded() 833 VertexBuffer* vertex_buffer) { in Draw() argument 846 vertex_buffer, pipeline_layout, &pipeline); in Draw() 860 r = SendVertexBufferDataIfNeeded(vertex_buffer); in Draw() [all …]
|
D | engine_vulkan.cc | 208 if (!info.vertex_buffer) in CreatePipeline() 209 info.vertex_buffer = MakeUnique<VertexBuffer>(device_.get()); in CreatePipeline() 211 info.vertex_buffer->SetData(static_cast<uint8_t>(vtex_info.location), in CreatePipeline() 506 auto vertex_buffer = MakeUnique<VertexBuffer>(device_.get()); in DoDrawRect() local 507 vertex_buffer->SetData(0, buf.get(), InputRate::kVertex, buf->GetFormat(), 0, in DoDrawRect() 517 Result r = graphics->Draw(&draw, vertex_buffer.get()); in DoDrawRect() 594 auto vertex_buffer = MakeUnique<VertexBuffer>(device_.get()); in DoDrawGrid() local 595 vertex_buffer->SetData(0, buf.get(), InputRate::kVertex, buf->GetFormat(), 0, in DoDrawGrid() 604 Result r = graphics->Draw(&draw, vertex_buffer.get()); in DoDrawGrid() 617 info.vertex_buffer.get()); in DoDrawArrays()
|
/external/webrtc/test/win/ |
D | d3d_renderer.cc | 105 IDirect3DVertexBuffer9* vertex_buffer; in Init() local 109 &vertex_buffer, NULL) != D3D_OK) { in Init() 113 vertex_buffer_ = vertex_buffer; in Init() 114 vertex_buffer->Release(); in Init()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_emit.c | 329 for (int x = 0; x < ctx->vertex_buffer.count; ++x) { in etna_emit_state() 330 …/*14600*/ EMIT_STATE_RELOC(NFE_VERTEX_STREAMS_BASE_ADDR(x), &ctx->vertex_buffer.cvb[x].FE_VERTEX_S… in etna_emit_state() 332 for (int x = 0; x < ctx->vertex_buffer.count; ++x) { in etna_emit_state() 333 if (ctx->vertex_buffer.cvb[x].FE_VERTEX_STREAM_BASE_ADDR.bo) { in etna_emit_state() 334 …/*14640*/ EMIT_STATE(NFE_VERTEX_STREAMS_CONTROL(x), ctx->vertex_buffer.cvb[x].FE_VERTEX_STREAM_CON… in etna_emit_state() 338 for (int x = 0; x < ctx->vertex_buffer.count; ++x) { in etna_emit_state() 339 …/*00680*/ EMIT_STATE_RELOC(FE_VERTEX_STREAMS_BASE_ADDR(x), &ctx->vertex_buffer.cvb[x].FE_VERTEX_ST… in etna_emit_state() 341 for (int x = 0; x < ctx->vertex_buffer.count; ++x) { in etna_emit_state() 342 if (ctx->vertex_buffer.cvb[x].FE_VERTEX_STREAM_BASE_ADDR.bo) { in etna_emit_state() 343 …/*006A0*/ EMIT_STATE(FE_VERTEX_STREAMS_CONTROL(x), ctx->vertex_buffer.cvb[x].FE_VERTEX_STREAM_CONT… in etna_emit_state() [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_render.c | 122 struct vertex_buffer *VB = &tnl->vb; \ 158 struct vertex_buffer *VB = &tnl->vb; in clip_elt_triangles() 212 struct vertex_buffer *VB = &tnl->vb; \ 243 struct vertex_buffer *VB = &tnl->vb; in _tnl_RenderClippedPolygon() 268 struct vertex_buffer *VB = &tnl->vb; in run_render()
|
D | t_vb_texmat.c | 59 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_texmat_stage() 87 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_texmat_data()
|
D | t_vb_points.c | 55 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_point_stage() 83 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_point_data()
|
D | t_vb_texgen.c | 254 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_reflection_map_nv() 276 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_normal_map_nv() 304 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_sphere_map() 338 struct vertex_buffer *VB = &tnl->vb; in texgen() 486 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_texgen_stage() 562 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_texgen_data()
|
D | t_vb_light.c | 47 struct vertex_buffer *VB, 224 struct vertex_buffer *VB, struct light_stage_data *store) in prepare_materials() 333 struct vertex_buffer *VB = &tnl->vb; in run_lighting()
|
D | t_vb_cliptmp.h | 121 struct vertex_buffer *VB = &tnl->vb; in TAG() 189 struct vertex_buffer *VB = &tnl->vb; in TAG() 268 struct vertex_buffer *VB = &tnl->vb; in TAG()
|
D | t_vb_vertex.c | 142 struct vertex_buffer *VB = &tnl->vb; in run_vertex_stage() 237 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in init_vertex_stage()
|
/external/mesa3d/src/gallium/ |
D | README.portability | 73 static inline struct vertex_buffer *vertex_buffer(struct buffer *buf) 75 return (struct vertex_buffer *) buf;
|
/external/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_unfilled.h | 39 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() 103 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG()
|
D | t_dd_tritmp.h | 116 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in TAG() 342 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in TAG() 583 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() 603 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() 634 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in TAG()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_vbuf.c | 157 struct pipe_vertex_buffer vertex_buffer[PIPE_MAX_ATTRIBS]; member 398 pipe_vertex_buffer_unreference(&mgr->vertex_buffer[i]); in u_vbuf_destroy() 433 vb = &mgr->vertex_buffer[i]; in u_vbuf_translate_buffers() 644 if (!mgr->vertex_buffer[vb_index].stride) { in u_vbuf_translate_begin() 905 pipe_vertex_buffer_unreference(&mgr->vertex_buffer[dst_index]); in u_vbuf_set_vertex_buffers() 916 struct pipe_vertex_buffer *orig_vb = &mgr->vertex_buffer[dst_index]; in u_vbuf_set_vertex_buffers() 1023 struct pipe_vertex_buffer *vb = &mgr->vertex_buffer[index]; in u_vbuf_upload_buffers() 1032 const uint8_t *ptr = mgr->vertex_buffer[index].buffer.user; in u_vbuf_upload_buffers() 1055 struct pipe_vertex_buffer *vb = &mgr->vertex_buffer[index]; in u_vbuf_upload_buffers() 1092 ptr = mgr->vertex_buffer[i].buffer.user; in u_vbuf_upload_buffers() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_scratch.h | 41 struct swr_scratch_space vertex_buffer; member
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_render.c | 172 choose_render(struct intel_context *intel, struct vertex_buffer *VB) in choose_render() 225 struct vertex_buffer *VB = &tnl->vb; in intel_run_render()
|