Lines Matching refs:arrays
165 struct gl_client_array *arrays = exec->vtx.arrays; in vbo_exec_bind_arrays() local
227 ASSERT(attr < Elements(exec->vtx.arrays)); /* arrays[] */ in vbo_exec_bind_arrays()
228 exec->vtx.inputs[attr] = &arrays[attr]; in vbo_exec_bind_arrays()
234 arrays[attr].Ptr = (GLubyte *)exec->vtx.bufferobj->Offset + offset; in vbo_exec_bind_arrays()
238 arrays[attr].Ptr = (GLubyte *)exec->vtx.buffer_map + offset; in vbo_exec_bind_arrays()
240 arrays[attr].Size = exec->vtx.attrsz[src]; in vbo_exec_bind_arrays()
241 arrays[attr].StrideB = exec->vtx.vertex_size * sizeof(GLfloat); in vbo_exec_bind_arrays()
242 arrays[attr].Stride = exec->vtx.vertex_size * sizeof(GLfloat); in vbo_exec_bind_arrays()
243 arrays[attr].Type = exec->vtx.attrtype[src]; in vbo_exec_bind_arrays()
244 arrays[attr].Integer = in vbo_exec_bind_arrays()
246 arrays[attr].Format = GL_RGBA; in vbo_exec_bind_arrays()
247 arrays[attr].Enabled = 1; in vbo_exec_bind_arrays()
248 arrays[attr]._ElementSize = arrays[attr].Size * sizeof(GLfloat); in vbo_exec_bind_arrays()
250 &arrays[attr].BufferObj, in vbo_exec_bind_arrays()
252 arrays[attr]._MaxElement = count; /* ??? */ in vbo_exec_bind_arrays()