Lines Matching defs:index
81 unsigned index);
84 unsigned index);
87 unsigned index);
246 arrays->arrays[4 + i].index = i;
278 arrays->arrays[idx + i].index = idx;
337 const struct array_state_vector * arrays, unsigned index)
344 const size_t offset = index * arrays->arrays[i].true_stride;
359 arrays->arrays[i].index > 0) {
364 GLenum texture = arrays->arrays[i].index + GL_TEXTURE0;
379 /* Vertex attribute data requires the index sent first.
381 (void) memcpy(dst, &arrays->arrays[i].index, 4);
404 const struct array_state_vector * arrays, unsigned index)
411 const size_t offset = index * arrays->arrays[i].true_stride;
426 GLenum key, unsigned index)
432 && (arrays->arrays[i].index == index)) {
787 unsigned index = 0;
795 index = (unsigned) (((GLuint *) indices)[i]);
798 index = (unsigned) (((GLushort *) indices)[i]);
801 index = (unsigned) (((GLubyte *) indices)[i]);
804 pc = emit_element_none(pc, arrays, index);
858 const GLint index = (GLint) * (ui_ptr++);
859 pc = emit_element_old(pc, arrays, index);
867 const GLint index = (GLint) * (us_ptr++);
868 pc = emit_element_old(pc, arrays, index);
876 const GLint index = (GLint) * (ub_ptr++);
877 pc = emit_element_old(pc, arrays, index);
1001 __indirect_glArrayElement(GLint index)
1017 gc->pc = emit_element_none(gc->pc, arrays, index);
1125 * plus any additional index word e.g. for texture units or vertex
1445 unsigned index;
1453 index = arrays->active_texture_unit;
1454 if (index == 0) {
1497 a = get_array_entry(arrays, GL_TEXTURE_COORD_ARRAY, index);
1611 __indirect_glVertexAttribPointer(GLuint index, GLint size,
1638 || (index > arrays->num_vertex_program_attribs)) {
1709 a = get_array_entry(arrays, GL_VERTEX_ATTRIB_ARRAY_POINTER, index);
1737 __indirect_glVertexAttribPointerNV(GLuint index, GLint size,
1756 __indirect_glVertexAttribPointer(index, size, type,
1789 __glXSetArrayEnable(__GLXattribute * state, GLenum key, unsigned index,
1796 /* Texture coordinate arrays have an implict index set when the
1800 index = arrays->active_texture_unit;
1803 a = get_array_entry(arrays, key, index);
1833 GLenum key, unsigned index, GLintptr * dest)
1838 key, index);
1852 GLenum key, unsigned index, GLintptr * dest)
1857 key, index);
1871 GLenum key, unsigned index, GLintptr * dest)
1876 key, index);
1890 GLenum key, unsigned index, GLintptr * dest)
1895 key, index);
1909 GLenum key, unsigned index, void **dest)
1914 key, index);
1929 GLenum key, unsigned index, GLintptr * dest)
1934 key, index);
1969 stack[i].index = arrays->arrays[i].index;
2010 arrays->active_texture_unit = stack[i].index;
2028 __glXSetArrayEnable(state, stack[i].key, stack[i].index,