Searched refs:idxbuf (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_push.c | 40 const void *idxbuf; member 88 uint8_t *elts = (uint8_t *)ctx->idxbuf + start; in emit_vertices_i08() 120 uint16_t *elts = (uint16_t *)ctx->idxbuf + start; in emit_vertices_i16() 152 uint32_t *elts = (uint32_t *)ctx->idxbuf + start; in emit_vertices_i32() 229 ctx.idxbuf = nouveau_resource_map_offset(&nv30->base, in nv30_push_vbo() 233 ctx.idxbuf = info->index.user; in nv30_push_vbo() 234 if (!ctx.idxbuf) { in nv30_push_vbo() 242 ctx.idxbuf = NULL; in nv30_push_vbo()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_push.c | 16 const void *idxbuf; member 70 uint8_t *elts = (uint8_t *)ctx->idxbuf + start; in emit_vertices_i08() 109 uint16_t *elts = (uint16_t *)ctx->idxbuf + start; in emit_vertices_i16() 148 uint32_t *elts = (uint32_t *)ctx->idxbuf + start; in emit_vertices_i32() 281 ctx.idxbuf = nouveau_resource_map_offset(&nv50->base, in nv50_push_vbo() 284 ctx.idxbuf = info->index.user; in nv50_push_vbo() 286 if (!ctx.idxbuf) in nv50_push_vbo() 303 ctx.idxbuf = NULL; in nv50_push_vbo()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_vbo_translate.c | 18 const void *idxbuf; member 91 ctx->idxbuf = nouveau_resource_map_offset( in nvc0_push_map_idxbuf() 94 ctx->idxbuf = info->index.user; in nvc0_push_map_idxbuf() 243 const uint8_t *restrict elts = (uint8_t *)ctx->idxbuf + start; in disp_vertices_i08() 300 const uint16_t *restrict elts = (uint16_t *)ctx->idxbuf + start; in disp_vertices_i16() 357 const uint32_t *restrict elts = (uint32_t *)ctx->idxbuf + start; in disp_vertices_i32() 521 ctx.idxbuf = NULL; /* shut up warnings */ in nvc0_push_vbo() 645 memcpy(data, ctx->idxbuf, info->count * index_size); in nvc0_push_upload_vertex_ids() 649 copy_indices_u8(data, ctx->idxbuf, info->index_bias, info->count); in nvc0_push_upload_vertex_ids() 652 copy_indices_u16(data, ctx->idxbuf, info->index_bias, info->count); in nvc0_push_upload_vertex_ids() [all …]
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_state.h | 204 struct NineIndexBuffer9 *idxbuf; member 274 struct pipe_resource *idxbuf; member 376 struct NineIndexBuffer9 *idxbuf);
|
D | stateblock9.c | 252 (struct NineBuffer9 **)&dst->idxbuf, in nine_state_copy_common() 253 (struct NineBuffer9 *)src->idxbuf); in nine_state_copy_common() 433 (struct NineBuffer9 **)&dst->idxbuf, in nine_state_copy_common_all() 434 (struct NineBuffer9 *)src->idxbuf); in nine_state_copy_common_all()
|
D | nine_state.c | 1492 pipe_resource_reference(&context->idxbuf, res); in CSMT_ITEM_NO_WAIT() 1499 struct NineIndexBuffer9 *idxbuf) in nine_context_set_indices() argument 1505 if (idxbuf) { in nine_context_set_indices() 1506 res = NineIndexBuffer9_GetBuffer(idxbuf, &OffsetInBytes); in nine_context_set_indices() 1507 IndexSize = idxbuf->index_size; in nine_context_set_indices() 1973 nine_context_set_indices(device, src->idxbuf); 2191 nine_context_set_indices(device, src->idxbuf); in nine_context_apply_stateblock() 2514 info.index.resource = context->idxbuf; in CSMT_ITEM_NO_WAIT() 3022 nine_bind(&state->idxbuf, NULL); in nine_state_clear() 3067 pipe_resource_reference(&context->idxbuf, NULL); in nine_context_clear()
|
D | device9.c | 2783 user_assert(This->state.idxbuf, D3DERR_INVALIDCALL); in NineDevice9_DrawIndexedPrimitive() 3530 struct NineIndexBuffer9 *idxbuf = NineIndexBuffer9(pIndexData); in NineDevice9_SetIndices() local 3535 nine_bind(&state->idxbuf, idxbuf); in NineDevice9_SetIndices() 3540 if (state->idxbuf == idxbuf) in NineDevice9_SetIndices() 3544 (struct NineBuffer9 **)&state->idxbuf, in NineDevice9_SetIndices() 3545 (struct NineBuffer9 *)idxbuf); in NineDevice9_SetIndices() 3547 nine_context_set_indices(This, idxbuf); in NineDevice9_SetIndices() 3560 nine_reference_set(ppIndexData, This->state.idxbuf); in NineDevice9_GetIndices()
|
D | buffer9.c | 199 if (device->state.idxbuf == (struct NineIndexBuffer9 *)This) in NineBuffer9_RebindIfRequired()
|