Lines Matching defs: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 */
563 /* Walk those enabled arrays that have a real vbo attached */
566 /* Do not use u_bit_scan as we can walk multiple attrib arrays at once */
572 /* The scan goes different for user space arrays than vbos */
574 /* The bound arrays. */
577 /* Start this current effective binding with the actual bound arrays */
603 /* Finally this is the set of effectively bound arrays with the
607 /* The bound arrays past the VERT_ATTRIB_{POS,GENERIC0} mapping. */
615 * Note that this does also go beyond just interleaved arrays
627 * attrib arrays at once
678 /* Finally this is the set of effectively bound arrays */
680 /* The bound arrays past the VERT_ATTRIB_{POS,GENERIC0} mapping. */
685 /* Mark all the effective bound arrays as processed. */
689 /* Scanning of common bindings for user space arrays.
698 * user space arrays collected at multiple binding points.
699 * The only provider of user space interleaved arrays with a single
701 * provides a perfect interleaved set of arrays.
703 * If this would not be true we would potentially get attribute arrays
719 /* Walk other user space arrays and see which are interleaved
768 /* Finally this is the set of effectively bound arrays */
770 /* The bound arrays past the VERT_ATTRIB_{POS,GENERIC0} mapping. */
774 /* Mark all the effective bound arrays as processed. */
822 * Map buffer objects used in attribute arrays.
830 /* Do not use u_bit_scan as we can walk multiple attrib arrays at once */
847 * Map buffer objects used in the vao, attribute arrays and index buffer.
864 * Unmap buffer objects used in attribute arrays.
872 /* Do not use u_bit_scan as we can walk multiple attrib arrays at once */
889 * Unmap buffer objects used in the vao, attribute arrays and index buffer.
950 * to NULL for drivers not to set up arrays which are not bound,
1051 * Generate a set of unique array object IDs and store them in \c arrays.
1056 * \param arrays Array of \c n locations to store the IDs.
1061 gen_vertex_arrays(struct gl_context *ctx, GLsizei n, GLuint *arrays,
1066 if (!arrays)
1069 _mesa_HashFindFreeKeys(ctx->Array.Objects, arrays, n);
1078 obj = _mesa_new_vao(ctx, arrays[i]);
1090 gen_vertex_arrays_err(struct gl_context *ctx, GLsizei n, GLuint *arrays,
1098 gen_vertex_arrays(ctx, n, arrays, create, func);
1104 * All arrays will be required to live in VBOs.
1107 _mesa_GenVertexArrays_no_error(GLsizei n, GLuint *arrays)
1110 gen_vertex_arrays(ctx, n, arrays, false, "glGenVertexArrays");
1115 _mesa_GenVertexArrays(GLsizei n, GLuint *arrays)
1118 gen_vertex_arrays_err(ctx, n, arrays, false, "glGenVertexArrays");
1127 _mesa_CreateVertexArrays_no_error(GLsizei n, GLuint *arrays)
1130 gen_vertex_arrays(ctx, n, arrays, true, "glCreateVertexArrays");
1135 _mesa_CreateVertexArrays(GLsizei n, GLuint *arrays)
1138 gen_vertex_arrays_err(ctx, n, arrays, true, "glCreateVertexArrays");