Lines Matching refs:indices

64                const GLvoid **indices)
71 _mesa_glthread_upload(ctx, *indices, index_size * count,
74 *indices = (const GLvoid*)(intptr_t)upload_offset;
82 const GLsizei *count, const GLvoid *const *indices,
101 memcpy(upload_ptr + offset, indices[i], size);
568 const GLvoid *indices;
585 const GLvoid *indices = cmd->indices;
591 (mode, count, type, indices,
606 const GLvoid *indices;
617 const GLvoid *indices = cmd->indices;
624 type, indices, basevertex));
630 GLenum type, const GLvoid *indices, GLsizei instance_count,
642 cmd->indices = indices;
654 cmd->indices = indices;
674 const GLvoid *indices;
692 const GLvoid *indices = cmd->indices;
716 type, indices, basevertex));
719 (mode, count, type, indices,
737 GLenum type, const GLvoid *indices, GLsizei instance_count,
753 cmd->indices = indices;
768 draw_elements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices,
791 draw_elements_async(ctx, mode, count, type, indices, instance_count,
804 /* Sync if indices come from a buffer and vertices come from memory
807 * We would have to map the indices to compute the index bounds, and
818 ctx->GLThread._PrimitiveRestart, indices,
827 * indices. */
837 /* Upload indices. */
840 index_buffer = upload_indices(ctx, count, index_size, &indices);
843 draw_elements_async_user(ctx, mode, count, type, indices, instance_count,
856 (mode, count, type, indices, basevertex));
859 (mode, min_index, max_index, count, type, indices));
861 CALL_DrawElements(ctx->CurrentServerDispatch, (mode, count, type, indices));
866 type, indices, basevertex));
869 (mode, count, type, indices,
901 const GLvoid *const *indices = (const GLvoid *const *)variable_data;
923 (mode, count, type, indices, draw_count,
927 (mode, count, type, indices, draw_count));
944 const GLvoid *const *indices, GLsizei draw_count,
951 int indices_size = sizeof(indices[0]) * draw_count;
969 memcpy(variable_data, indices, indices_size);
984 const GLvoid *const *indices,
1002 multi_draw_elements_async(ctx, mode, count, type, indices, draw_count,
1011 * Sync if indices come from a buffer and vertices come from memory
1012 * and index bounds are not valid. We would have to map the indices
1036 multi_draw_elements_async(ctx, mode, count, type, indices, draw_count,
1046 ctx->GLThread._PrimitiveRestart, indices[i],
1061 multi_draw_elements_async(ctx, mode, count, type, indices, draw_count,
1067 * indices. */
1071 /* Only compute total_count for the upload of indices. */
1077 multi_draw_elements_async(ctx, mode, count, type, indices, draw_count,
1089 multi_draw_elements_async(ctx, mode, count, type, indices, draw_count,
1102 /* Upload indices. */
1105 const GLvoid **out_indices = alloca(sizeof(indices[0]) * draw_count);
1108 draw_count, count, indices,
1110 indices = out_indices;
1114 multi_draw_elements_async(ctx, mode, count, type, indices, draw_count,
1124 (mode, count, type, indices, draw_count,
1128 (mode, count, type, indices, draw_count));
1155 const GLvoid *indices)
1157 draw_elements(mode, count, type, indices, 1, 0, 0, false, 0, 0, true);
1163 const GLvoid *indices)
1165 draw_elements(mode, count, type, indices, 1, 0, 0, true, start, end, true);
1170 const GLvoid *indices, GLsizei instance_count)
1172 draw_elements(mode, count, type, indices, instance_count, 0, 0, false, 0, 0, false);
1177 const GLvoid *indices, GLint basevertex)
1179 draw_elements(mode, count, type, indices, 1, basevertex, 0, false, 0, 0, true);
1185 const GLvoid *indices, GLint basevertex)
1187 draw_elements(mode, count, type, indices, 1, basevertex, 0, true, start, end, false);
1192 GLenum type, const GLvoid *indices,
1195 draw_elements(mode, count, type, indices, instance_count, basevertex, 0, false, 0, 0, false);
1200 GLenum type, const GLvoid *indices,
1203 draw_elements(mode, count, type, indices, instance_count, 0, baseinstance, false, 0, 0, false);
1208 GLenum type, const GLvoid *indices,
1212 draw_elements(mode, count, type, indices, instance_count, basevertex, baseinstance, false, 0, 0, false);
1217 GLenum type, const GLvoid *const *indices,
1220 _mesa_marshal_MultiDrawElementsBaseVertex(mode, count, type, indices,