Lines Matching refs:arrays

392  * Initialize a gl_vertex_array_object's arrays.
478 * <insert code to handle a set of interleaved user space arrays at binding>
489 * <insert code to handle non vbo vertex arrays>
512 * enabled arrays.
531 * VERT_ATTRIB_* arrays to mesa driver arrayinputs or shader inputs.
533 * VERT_ATTRIB_{POS,GENERIC0} arrays and is tracked in the VAO.
546 /* Compute and store effectively enabled and mapped vbo arrays */
561 /* Walk those enabled arrays that have a real vbo attached */
564 /* Do not use u_bit_scan as we can walk multiple attrib arrays at once */
570 /* The scan goes different for user space arrays than vbos */
572 /* The bound arrays. */
575 /* Start this current effective binding with the actual bound arrays */
601 /* Finally this is the set of effectively bound arrays with the
605 /* The bound arrays past the VERT_ATTRIB_{POS,GENERIC0} mapping. */
613 * Note that this does also go beyond just interleaved arrays
625 * attrib arrays at once
676 /* Finally this is the set of effectively bound arrays */
678 /* The bound arrays past the VERT_ATTRIB_{POS,GENERIC0} mapping. */
683 /* Mark all the effective bound arrays as processed. */
687 /* Scanning of common bindings for user space arrays.
696 * user space arrays collected at multiple binding points.
697 * The only provider of user space interleaved arrays with a single
699 * provides a perfect interleaved set of arrays.
701 * If this would not be true we would potentially get attribute arrays
717 /* Walk other user space arrays and see which are interleaved
766 /* Finally this is the set of effectively bound arrays */
768 /* The bound arrays past the VERT_ATTRIB_{POS,GENERIC0} mapping. */
772 /* Mark all the effective bound arrays as processed. */
821 /* Walk those enabled arrays that have the default vbo attached */
826 * attrib arrays at once
853 /* Walk the enabled arrays that have a vbo attached */
879 * Map buffer objects used in attribute arrays.
887 /* Do not use u_bit_scan as we can walk multiple attrib arrays at once */
904 * Map buffer objects used in the vao, attribute arrays and index buffer.
921 * Unmap buffer objects used in attribute arrays.
929 /* Do not use u_bit_scan as we can walk multiple attrib arrays at once */
946 * Unmap buffer objects used in the vao, attribute arrays and index buffer.
1007 * to NULL for drivers not to set up arrays which are not bound,
1108 * Generate a set of unique array object IDs and store them in \c arrays.
1113 * \param arrays Array of \c n locations to store the IDs.
1118 gen_vertex_arrays(struct gl_context *ctx, GLsizei n, GLuint *arrays,
1123 if (!arrays)
1126 _mesa_HashFindFreeKeys(ctx->Array.Objects, arrays, n);
1135 obj = _mesa_new_vao(ctx, arrays[i]);
1147 gen_vertex_arrays_err(struct gl_context *ctx, GLsizei n, GLuint *arrays,
1155 gen_vertex_arrays(ctx, n, arrays, create, func);
1161 * All arrays will be required to live in VBOs.
1164 _mesa_GenVertexArrays_no_error(GLsizei n, GLuint *arrays)
1167 gen_vertex_arrays(ctx, n, arrays, false, "glGenVertexArrays");
1172 _mesa_GenVertexArrays(GLsizei n, GLuint *arrays)
1175 gen_vertex_arrays_err(ctx, n, arrays, false, "glGenVertexArrays");
1184 _mesa_CreateVertexArrays_no_error(GLsizei n, GLuint *arrays)
1187 gen_vertex_arrays(ctx, n, arrays, true, "glCreateVertexArrays");
1192 _mesa_CreateVertexArrays(GLsizei n, GLuint *arrays)
1195 gen_vertex_arrays_err(ctx, n, arrays, true, "glCreateVertexArrays");