| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/ |
| H A D | swr_scratch.h | 40 struct swr_scratch_space index_buffer; member in struct:swr_scratch_buffers
|
| H A D | swr_scratch.cpp | 98 AlignedFree(scratch->index_buffer.base);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/ |
| H A D | r300_screen_buffer.h | 40 struct pipe_resource **index_buffer,
|
| H A D | r300_screen_buffer.c | 36 struct pipe_resource **index_buffer, 42 *index_buffer = NULL; 48 index_buffer); 35 r300_upload_index_buffer(struct r300_context * r300,struct pipe_resource ** index_buffer,unsigned index_size,unsigned * start,unsigned count,const uint8_t * ptr) argument
|
| H A D | r300_render.c | 230 * \param index_buffer The index buffer to validate. The parameter may be NULL. 238 struct pipe_resource *index_buffer, 251 index_buffer)) { 292 * \param index_buffer The index buffer to validate. The parameter may be NULL. 301 struct pipe_resource *index_buffer, 311 return r300_emit_states(r300, flags, index_buffer, buffer_offset, 1018 struct pipe_resource *index_buffer = NULL; local in function:r300_render_draw_elements 1025 &index_buffer_offset, &index_buffer); 1026 if (!index_buffer) { 1033 index_buffer, 1 236 r300_emit_states(struct r300_context * r300,enum r300_prepare_flags flags,struct pipe_resource * index_buffer,int buffer_offset,int index_bias,int instance_id) argument 299 r300_prepare_for_rendering(struct r300_context * r300,enum r300_prepare_flags flags,struct pipe_resource * index_buffer,unsigned cs_dwords,int buffer_offset,int index_bias,int instance_id) argument [all...] |
| H A D | r300_emit.h | 130 struct pipe_resource *index_buffer);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/ |
| H A D | swr_scratch.h | 42 struct swr_scratch_space index_buffer; member in struct:swr_scratch_buffers
|
| H A D | swr_scratch.cpp | 103 AlignedFree(scratch->index_buffer.base);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/ |
| H A D | r300_screen_buffer.h | 40 struct pipe_resource **index_buffer,
|
| H A D | r300_screen_buffer.c | 36 struct pipe_resource **index_buffer, 42 *index_buffer = NULL; 48 index_buffer); 35 r300_upload_index_buffer(struct r300_context * r300,struct pipe_resource ** index_buffer,unsigned index_size,unsigned * start,unsigned count,const uint8_t * ptr) argument
|
| H A D | r300_render.c | 231 * \param index_buffer The index buffer to validate. The parameter may be NULL. 239 struct pipe_resource *index_buffer, 252 index_buffer)) { 293 * \param index_buffer The index buffer to validate. The parameter may be NULL. 302 struct pipe_resource *index_buffer, 312 return r300_emit_states(r300, flags, index_buffer, buffer_offset, 1045 struct pipe_resource *index_buffer = NULL; local in function:r300_render_draw_elements 1052 &index_buffer_offset, &index_buffer); 1053 if (!index_buffer) { 1060 index_buffer, 1 237 r300_emit_states(struct r300_context * r300,enum r300_prepare_flags flags,struct pipe_resource * index_buffer,int buffer_offset,int index_bias,int instance_id) argument 300 r300_prepare_for_rendering(struct r300_context * r300,enum r300_prepare_flags flags,struct pipe_resource * index_buffer,unsigned cs_dwords,int buffer_offset,int index_bias,int instance_id) argument [all...] |
| H A D | r300_emit.h | 130 struct pipe_resource *index_buffer);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| H A D | svga_draw_elements.c | 184 struct pipe_resource *index_buffer, 210 min_index, max_index, index_buffer, 263 struct pipe_resource *index_buffer = NULL; local in function:svga_hwtnl_draw_range_elements 269 &index_offset, &index_buffer); 273 pipe_resource_reference(&index_buffer, info->index.resource); 277 assert(index_buffer != NULL); 279 ret = svga_hwtnl_simple_draw_range_elements(hwtnl, index_buffer, 288 pipe_resource_reference(&index_buffer, NULL); 183 svga_hwtnl_simple_draw_range_elements(struct svga_hwtnl * hwtnl,struct pipe_resource * index_buffer,unsigned index_size,int index_bias,unsigned min_index,unsigned max_index,enum pipe_prim_type prim,unsigned start,unsigned count,unsigned start_instance,unsigned instance_count,ubyte vertices_per_patch) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_context.c | 103 uint32_t new_control = ctx->index_buffer.FE_INDEX_STREAM_CONTROL; 110 if (ctx->index_buffer.FE_INDEX_STREAM_CONTROL != new_control || 111 (info->primitive_restart && ctx->index_buffer.FE_PRIMITIVE_RESTART_INDEX != info->restart_index)) { 112 ctx->index_buffer.FE_INDEX_STREAM_CONTROL = new_control; 113 ctx->index_buffer.FE_PRIMITIVE_RESTART_INDEX = info->restart_index; 200 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.bo = etna_resource(indexbuf)->bo; 201 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.offset = index_offset; 202 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.flags = ETNA_RELOC_READ; 203 ctx->index_buffer.FE_INDEX_STREAM_CONTROL = translate_index_size(info->index_size); 205 if (!ctx->index_buffer [all...] |
| H A D | etnaviv_context.h | 167 struct etna_index_buffer index_buffer; member in struct:etna_context
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_context.c | 178 uint32_t new_control = ctx->index_buffer.FE_INDEX_STREAM_CONTROL; 185 if (ctx->index_buffer.FE_INDEX_STREAM_CONTROL != new_control || 186 (info->primitive_restart && ctx->index_buffer.FE_PRIMITIVE_RESTART_INDEX != info->restart_index)) { 187 ctx->index_buffer.FE_INDEX_STREAM_CONTROL = new_control; 188 ctx->index_buffer.FE_PRIMITIVE_RESTART_INDEX = info->restart_index; 281 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.bo = etna_resource(indexbuf)->bo; 282 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.offset = index_offset; 283 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.flags = ETNA_RELOC_READ; 284 ctx->index_buffer.FE_INDEX_STREAM_CONTROL = translate_index_size(info->index_size); 286 if (!ctx->index_buffer [all...] |
| H A D | etnaviv_context.h | 172 struct etna_index_buffer index_buffer; member in struct:etna_context
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| H A D | svga_draw_elements.c | 151 struct pipe_resource *index_buffer, 176 min_index, max_index, index_buffer, 183 struct pipe_resource *index_buffer, 220 ret = svga_hwtnl_simple_draw_range_elements(hwtnl, index_buffer, 240 index_buffer, 150 svga_hwtnl_simple_draw_range_elements(struct svga_hwtnl * hwtnl,struct pipe_resource * index_buffer,unsigned index_size,int index_bias,unsigned min_index,unsigned max_index,enum pipe_prim_type prim,unsigned start,unsigned count,unsigned start_instance,unsigned instance_count) argument 182 svga_hwtnl_draw_range_elements(struct svga_hwtnl * hwtnl,struct pipe_resource * index_buffer,unsigned index_size,int index_bias,unsigned min_index,unsigned max_index,enum pipe_prim_type prim,unsigned start,unsigned count,unsigned start_instance,unsigned instance_count) argument
|
| H A D | svga_pipe_draw.c | 52 struct pipe_resource *index_buffer, 69 index_buffer, index_size, 51 retry_draw_range_elements(struct svga_context * svga,struct pipe_resource * index_buffer,unsigned index_size,int index_bias,unsigned min_index,unsigned max_index,enum pipe_prim_type prim,unsigned start,unsigned count,unsigned start_instance,unsigned instance_count) argument
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | glthread_draw.c | 675 struct gl_buffer_object *index_buffer; member in struct:marshal_cmd_DrawElementsInstancedBaseVertexBaseInstance 699 struct gl_buffer_object *index_buffer = cmd->index_buffer; local in function:_mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance 708 if (index_buffer) { 709 _mesa_InternalBindElementBuffer(ctx, index_buffer); 725 if (index_buffer) { 740 struct gl_buffer_object *index_buffer, 761 cmd->index_buffer = index_buffer; 838 struct gl_buffer_object *index_buffer local in function:draw_elements 736 draw_elements_async_user(struct gl_context * ctx,GLenum mode,GLsizei count,GLenum type,const GLvoid * indices,GLsizei instance_count,GLint basevertex,GLuint baseinstance,bool index_bounds_valid,GLuint min_index,GLuint max_index,struct gl_buffer_object * index_buffer,unsigned user_buffer_mask,const struct glthread_attrib_binding * buffers) argument 883 struct gl_buffer_object *index_buffer; member in struct:marshal_cmd_MultiDrawElementsBaseVertex 895 struct gl_buffer_object *index_buffer = cmd->index_buffer; local in function:_mesa_unmarshal_MultiDrawElementsBaseVertex 942 multi_draw_elements_async(struct gl_context * ctx,GLenum mode,const GLsizei * count,GLenum type,const GLvoid * const * indices,GLsizei draw_count,const GLsizei * basevertex,struct gl_buffer_object * index_buffer,unsigned user_buffer_mask,const struct glthread_attrib_binding * buffers) argument 1103 struct gl_buffer_object *index_buffer = NULL; local in function:_mesa_marshal_MultiDrawElementsBaseVertex [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_draw_upload.c | 729 const struct _mesa_index_buffer *index_buffer = brw->ib.ib; local in function:brw_upload_indices 736 if (index_buffer == NULL) 739 ib_type_size = index_buffer->index_size; 740 ib_size = index_buffer->count ? ib_type_size * index_buffer->count : 741 index_buffer->obj->Size; 742 bufferobj = index_buffer->obj; 749 brw_upload_data(&brw->upload, index_buffer->ptr, ib_size, ib_type_size, 753 offset = (GLuint) (unsigned long) index_buffer->ptr; 775 if (index_buffer [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/ |
| H A D | Draw.cpp | 173 if (!pDevice->index_buffer) { 187 info.index.resource = null_ib ? null_ib : pDevice->index_buffer; 274 if (!pDevice->index_buffer) { 288 info.index.resource = null_ib ? null_ib : pDevice->index_buffer;
|
| H A D | InputAssembly.cpp | 227 pipe_resource_reference(&pDevice->index_buffer, resource); 229 pipe_resource_reference(&pDevice->index_buffer, NULL);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_draw_upload.c | 733 const struct _mesa_index_buffer *index_buffer = brw->ib.ib; local in function:brw_upload_indices 740 if (index_buffer == NULL) 743 ib_type_size = 1 << index_buffer->index_size_shift; 744 ib_size = index_buffer->count ? ib_type_size * index_buffer->count : 745 index_buffer->obj->Size; 746 bufferobj = index_buffer->obj; 753 brw_upload_data(&brw->upload, index_buffer->ptr, ib_size, ib_type_size, 757 offset = (GLuint) (unsigned long) index_buffer->ptr; 779 unsigned index_size = 1 << index_buffer [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| H A D | gen7_cmd_buffer.c | 142 cmd_buffer->state.gfx.gen7.index_buffer = buffer; 252 if (cmd_buffer->state.gfx.gen7.index_buffer && 255 struct anv_buffer *buffer = cmd_buffer->state.gfx.gen7.index_buffer;
|