Home
last modified time | relevance | path

Searched refs:indexbuf (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_draw.c198 struct pipe_resource *indexbuf = in svga_draw_vbo() local
212 !util_upload_index_buffer(pipe, info, &indexbuf, &index_offset)) { in svga_draw_vbo()
261 ret = svga_swtnl_draw_vbo(svga, info, indexbuf, index_offset); in svga_draw_vbo()
264 if (info->index_size && indexbuf) { in svga_draw_vbo()
271 indexbuf, in svga_draw_vbo()
299 if (info->index_size && info->index.resource != indexbuf) in svga_draw_vbo()
300 pipe_resource_reference(&indexbuf, NULL); in svga_draw_vbo()
Dsvga_swtnl_draw.c42 struct pipe_resource *indexbuf, in svga_swtnl_draw_vbo() argument
88 if (info->index_size && indexbuf) { in svga_swtnl_draw_vbo()
89 map = pipe_buffer_map(&svga->pipe, indexbuf, in svga_swtnl_draw_vbo()
Dsvga_swtnl.h43 struct pipe_resource *indexbuf,
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c182 struct pipe_resource *indexbuf = NULL; in etna_draw_vbo() local
185 indexbuf = info->has_user_indices ? NULL : info->index.resource; in etna_draw_vbo()
187 !util_upload_index_buffer(pctx, info, &indexbuf, &index_offset)) { in etna_draw_vbo()
194 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.bo = etna_resource(indexbuf)->bo; in etna_draw_vbo()
259 resource_read(ctx, indexbuf); in etna_draw_vbo()
303 if (info->index_size && indexbuf != info->index.resource) in etna_draw_vbo()
304 pipe_resource_reference(&indexbuf, NULL); in etna_draw_vbo()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c643 struct pipe_resource *indexbuf, in si_emit_draw_packets() argument
713 index_max_size = (indexbuf->width0 - index_offset) / in si_emit_draw_packets()
715 index_va = r600_resource(indexbuf)->gpu_address + index_offset; in si_emit_draw_packets()
718 (struct r600_resource *)indexbuf, in si_emit_draw_packets()
1214 struct pipe_resource *indexbuf = info->index.resource; in si_draw_vbo() local
1340 indexbuf = NULL; in si_draw_vbo()
1344 &offset, &indexbuf, &ptr); in si_draw_vbo()
1345 if (!indexbuf) in si_draw_vbo()
1361 indexbuf = NULL; in si_draw_vbo()
1366 &index_offset, &indexbuf); in si_draw_vbo()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.c104 struct pipe_resource *indexbuf = NULL; in fd_draw_vbo() local
109 if (!util_upload_index_buffer(pctx, info, &indexbuf, &index_offset)) in fd_draw_vbo()
112 new_info.index.resource = indexbuf; in fd_draw_vbo()
116 indexbuf = info->index.resource; in fd_draw_vbo()
207 resource_read(batch, indexbuf); in fd_draw_vbo()
269 pipe_resource_reference(&indexbuf, NULL); in fd_draw_vbo()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c1911 struct pipe_resource *indexbuf = info->has_user_indices ? NULL : info->index.resource; in r600_draw_vbo() local
2020 indexbuf = out_buffer; in r600_draw_vbo()
2034 indexbuf = NULL; in r600_draw_vbo()
2037 info->index.user, &index_offset, &indexbuf); in r600_draw_vbo()
2177 uint64_t va = r600_resource(indexbuf)->gpu_address + index_offset; in r600_draw_vbo()
2187 (struct r600_resource*)indexbuf, in r600_draw_vbo()
2192 uint32_t max_size = (indexbuf->width0 - index_offset) / index_size; in r600_draw_vbo()
2200 (struct r600_resource*)indexbuf, in r600_draw_vbo()
2297 if (index_size && indexbuf != info->index.resource) in r600_draw_vbo()
2298 pipe_resource_reference(&indexbuf, NULL); in r600_draw_vbo()
/external/mesa3d/src/mesa/vbo/
Dvbo_save_api.c1245 struct gl_buffer_object *indexbuf = ctx->Array.VAO->IndexBufferObj; in _save_OBE_DrawElementsBaseVertex() local
1271 if (_mesa_is_bufferobj(indexbuf)) in _save_OBE_DrawElementsBaseVertex()
1273 ADD_POINTERS(indexbuf->Mappings[MAP_INTERNAL].Pointer, indices); in _save_OBE_DrawElementsBaseVertex()