/* Ubyte indices. */
void util_shorten_ubyte_elts_to_userptr(struct pipe_context *context,
- struct pipe_index_buffer *ib,
+ const struct pipe_index_buffer *ib,
unsigned add_transfer_flags,
int index_bias,
unsigned start,
/* Ushort indices. */
void util_rebuild_ushort_elts_to_userptr(struct pipe_context *context,
- struct pipe_index_buffer *ib,
+ const struct pipe_index_buffer *ib,
unsigned add_transfer_flags,
int index_bias,
unsigned start, unsigned count,
/* Uint indices. */
void util_rebuild_uint_elts_to_userptr(struct pipe_context *context,
- struct pipe_index_buffer *ib,
+ const struct pipe_index_buffer *ib,
unsigned add_transfer_flags,
int index_bias,
unsigned start, unsigned count,
struct pipe_index_buffer;
void util_shorten_ubyte_elts_to_userptr(struct pipe_context *context,
- struct pipe_index_buffer *ib,
+ const struct pipe_index_buffer *ib,
unsigned add_transfer_flags,
int index_bias,
unsigned start,
void *out);
void util_rebuild_ushort_elts_to_userptr(struct pipe_context *context,
- struct pipe_index_buffer *ib,
+ const struct pipe_index_buffer *ib,
unsigned add_transfer_flags,
int index_bias,
unsigned start, unsigned count,
void *out);
void util_rebuild_uint_elts_to_userptr(struct pipe_context *context,
- struct pipe_index_buffer *ib,
+ const struct pipe_index_buffer *ib,
unsigned add_transfer_flags,
int index_bias,
unsigned start, unsigned count,