Home
last modified time | relevance | path

Searched refs:vbo_index (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_render.c41 .vbo_index = 0,
46 .vbo_index = 2,
51 .vbo_index = 3,
56 .vbo_index = 4,
61 .vbo_index = 5,
66 .vbo_index = 9,
71 .vbo_index = 10,
76 .vbo_index = 11,
81 .vbo_index = 12,
Dnv10_render.c41 .vbo_index = 0,
46 .vbo_index = 1,
51 .vbo_index = 2,
56 .vbo_index = 3,
61 .vbo_index = 4,
66 .vbo_index = 5,
71 .vbo_index = 7,
Dnouveau_render.h37 int vbo_index; member
Dnouveau_vbo_t.c157 render->map[info->vbo_index] = attr; in vbo_emit_attr()
160 info->vbo_index + 1); in vbo_emit_attr()
Dnouveau_swtnl_t.c137 render->map[ha->vbo_index] = i; in swtnl_choose_attrs()
/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_vbuf.c83 size_t vbo_index; /**< index offset to be added to all indices */ member
200 i915_render->vbo_index = 0; in i915_vbuf_render_new_buf()
242 i915_render->vbo_index = offset / vertex_size; in i915_vbuf_render_allocate_vertices()
316 if (max_index + i915_render->vbo_index < ((1 << 17) - 1)) in i915_vbuf_ensure_index_bounds()
320 i915_render->vbo_index = 0; in i915_vbuf_ensure_index_bounds()
390 unsigned end = start + nr + i915_render->vbo_index; in draw_arrays_generate_indices()
391 start += i915_render->vbo_index; in draw_arrays_generate_indices()
508 start += i915_render->vbo_index; in i915_vbuf_render_draw_arrays()
554 unsigned o = i915_render->vbo_index; in draw_generate_indices()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c372 int instance_divisor, int vbo_index) in init_velement() argument
377 velement->vertex_buffer_index = vbo_index; in init_velement()
384 int instance_divisor, int vbo_index, in init_velement_lowered() argument
398 lower_format, instance_divisor, vbo_index); in init_velement_lowered()
410 lower_format, instance_divisor, vbo_index); in init_velement_lowered()
416 instance_divisor, vbo_index); in init_velement_lowered()
423 format, instance_divisor, vbo_index); in init_velement_lowered()
/external/virglrenderer/src/
Dvrend_renderer.c3360 int vbo_index = ve->base.vertex_buffer_index; in vrend_draw_bind_vertex_legacy() local
3369 res = (struct vrend_resource *)ctx->sub->vbo[vbo_index].buffer; in vrend_draw_bind_vertex_legacy()
3401 if (ctx->sub->vbo[vbo_index].stride == 0) { in vrend_draw_bind_vertex_legacy()
3404 …data = glMapBufferRange(GL_ARRAY_BUFFER, ctx->sub->vbo[vbo_index].buffer_offset, ve->nr_chan * siz… in vrend_draw_bind_vertex_legacy()
3426 …r_chan, ve->type, ctx->sub->vbo[vbo_index].stride, (void *)(unsigned long)(ve->base.src_offset + c… in vrend_draw_bind_vertex_legacy()
3428 …->type, ve->norm, ctx->sub->vbo[vbo_index].stride, (void *)(unsigned long)(ve->base.src_offset + c… in vrend_draw_bind_vertex_legacy()
3869 int vbo_index = ve->base.vertex_buffer_index; in vrend_draw_vbo() local
3870 if (!ctx->sub->vbo[vbo_index].buffer) { in vrend_draw_vbo()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c4221 unsigned vbo_index = elements[i].vertex_buffer_index; in si_create_vertex_elements() local
4224 if (vbo_index >= SI_NUM_VERTEX_BUFFERS) { in si_create_vertex_elements()
4239 if (!used[vbo_index]) { in si_create_vertex_elements()
4241 used[vbo_index] = true; in si_create_vertex_elements()
4253 v->vertex_buffer_index[i] = vbo_index; in si_create_vertex_elements()
Dsi_descriptors.c1058 unsigned vbo_index = velems->vertex_buffer_index[i]; in si_upload_vertex_buffer_descriptors() local
1061 vb = &sctx->vertex_buffer[vbo_index]; in si_upload_vertex_buffer_descriptors()