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() 284 ctx.idxbuf = nouveau_resource_map_offset(&nv50->base, in nv50_push_vbo() 287 ctx.idxbuf = info->index.user; in nv50_push_vbo() 289 if (!ctx.idxbuf) in nv50_push_vbo() 306 ctx.idxbuf = NULL; in nv50_push_vbo()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_vbo_translate.c | 18 const void *idxbuf; member 95 ctx->idxbuf = nouveau_resource_map_offset( in nvc0_push_map_idxbuf() 98 ctx->idxbuf = info->index.user; in nvc0_push_map_idxbuf() 251 const uint8_t *restrict elts = (uint8_t *)ctx->idxbuf + start; in disp_vertices_i08() 308 const uint16_t *restrict elts = (uint16_t *)ctx->idxbuf + start; in disp_vertices_i16() 365 const uint32_t *restrict elts = (uint32_t *)ctx->idxbuf + start; in disp_vertices_i32() 606 ctx.idxbuf = NULL; /* shut up warnings */ in nvc0_push_vbo() 730 memcpy(data, ctx->idxbuf, info->count * index_size); in nvc0_push_upload_vertex_ids() 734 copy_indices_u8(data, ctx->idxbuf, info->index_bias, info->count); in nvc0_push_upload_vertex_ids() 737 copy_indices_u16(data, ctx->idxbuf, info->index_bias, info->count); in nvc0_push_upload_vertex_ids() [all …]
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | stateblock9.c | 77 nine_bind(&state->idxbuf, NULL); in NineStateBlock9_dtor() 271 (struct NineBuffer9 **)&dst->idxbuf, in nine_state_copy_common() 272 (struct NineBuffer9 *)src->idxbuf); in nine_state_copy_common() 454 (struct NineBuffer9 **)&dst->idxbuf, in nine_state_copy_common_all() 455 (struct NineBuffer9 *)src->idxbuf); in nine_state_copy_common_all()
|
D | nine_state.h | 205 struct NineIndexBuffer9 *idxbuf; member 279 struct pipe_resource *idxbuf; member 383 struct NineIndexBuffer9 *idxbuf);
|
D | nine_state.c | 1567 pipe_resource_reference(&context->idxbuf, res); in CSMT_ITEM_NO_WAIT() 1574 struct NineIndexBuffer9 *idxbuf) in nine_context_set_indices() argument 1580 if (idxbuf) { in nine_context_set_indices() 1581 res = NineIndexBuffer9_GetBuffer(idxbuf, &OffsetInBytes); in nine_context_set_indices() 1582 IndexSize = idxbuf->index_size; in nine_context_set_indices() 2037 nine_context_set_indices(device, src->idxbuf); in nine_context_apply_stateblock() 2366 info.index.resource = context->idxbuf; in CSMT_ITEM_NO_WAIT() 2881 (struct NineBuffer9 **)&state->idxbuf, in nine_device_state_clear() 2923 pipe_resource_reference(&context->idxbuf, NULL); in nine_context_clear()
|
D | device9.c | 2929 user_assert(This->state.idxbuf, D3DERR_INVALIDCALL); in NineDevice9_DrawIndexedPrimitive() 3685 struct NineIndexBuffer9 *idxbuf = NineIndexBuffer9(pIndexData); in NineDevice9_SetIndices() local 3690 nine_bind(&state->idxbuf, idxbuf); in NineDevice9_SetIndices() 3695 if (state->idxbuf == idxbuf) in NineDevice9_SetIndices() 3699 (struct NineBuffer9 **)&state->idxbuf, in NineDevice9_SetIndices() 3700 (struct NineBuffer9 *)idxbuf); in NineDevice9_SetIndices() 3702 nine_context_set_indices(This, idxbuf); in NineDevice9_SetIndices() 3715 nine_reference_set(ppIndexData, This->state.idxbuf); in NineDevice9_GetIndices()
|
D | buffer9.c | 200 if (device->state.idxbuf == (struct NineIndexBuffer9 *)This) in NineBuffer9_RebindIfRequired()
|