Lines Matching refs:ib
59 const struct _mesa_index_buffer *ib; member
152 const struct _mesa_index_buffer *ib) in dump_draw_info() argument
160 printf(" IB: %p\n", (void*) ib); in dump_draw_info()
472 if (copy->ib->obj) { in replay_init()
473 if (!_mesa_bufferobj_mapped(copy->ib->obj, MAP_INTERNAL)) in replay_init()
474 ctx->Driver.MapBufferRange(ctx, 0, copy->ib->obj->Size, GL_MAP_READ_BIT, in replay_init()
475 copy->ib->obj, MAP_INTERNAL); in replay_init()
478 ADD_POINTERS(copy->ib->obj->Mappings[MAP_INTERNAL].Pointer, in replay_init()
479 copy->ib->ptr); in replay_init()
481 srcptr = copy->ib->ptr; in replay_init()
483 switch (copy->ib->index_size_shift) { in replay_init()
485 copy->translated_elt_buf = malloc(sizeof(GLuint) * copy->ib->count); in replay_init()
488 for (i = 0; i < copy->ib->count; i++) in replay_init()
493 copy->translated_elt_buf = malloc(sizeof(GLuint) * copy->ib->count); in replay_init()
496 for (i = 0; i < copy->ib->count; i++) in replay_init()
543 copy->dstelt_size = MIN2(65536, copy->ib->count * 2 + 3); in replay_init()
581 if (copy->ib->obj && in replay_finish()
582 _mesa_bufferobj_mapped(copy->ib->obj, MAP_INTERNAL)) { in replay_finish()
583 ctx->Driver.UnmapBuffer(ctx, copy->ib->obj, MAP_INTERNAL); in replay_finish()
596 const struct _mesa_index_buffer *ib, in _tnl_split_copy() argument
618 assert(ib); in _tnl_split_copy()
624 copy.ib = ib; in _tnl_split_copy()