Lines Matching defs:arrays

409  * Initialize a gl_vertex_array_object's arrays.
423 /* Init the individual arrays */
531 * <insert code to handle a set of interleaved user space arrays at binding>
542 * <insert code to handle non vbo vertex arrays>
565 * enabled arrays.
584 * VERT_ATTRIB_* arrays to mesa driver arrayinputs or shader inputs.
586 * VERT_ATTRIB_{POS,GENERIC0} arrays and is tracked in the VAO.
598 /* Compute and store effectively enabled and mapped vbo arrays */
600 /* Walk those enabled arrays that have a real vbo attached */
603 /* Do not use u_bit_scan as we can walk multiple attrib arrays at once */
609 /* The scan goes different for user space arrays than vbos */
611 /* The bound arrays. */
614 /* Start this current effective binding with the actual bound arrays */
640 /* Finally this is the set of effectively bound arrays with the
644 /* The bound arrays past the VERT_ATTRIB_{POS,GENERIC0} mapping. */
652 * Note that this does also go beyond just interleaved arrays
664 * attrib arrays at once
715 /* Finally this is the set of effectively bound arrays */
717 /* The bound arrays past the VERT_ATTRIB_{POS,GENERIC0} mapping. */
722 /* Mark all the effective bound arrays as processed. */
726 /* Scanning of common bindings for user space arrays.
735 * user space arrays collected at multiple binding points.
736 * The only provider of user space interleaved arrays with a single
738 * provides a perfect interleaved set of arrays.
740 * If this would not be true we would potentially get attribute arrays
756 /* Walk other user space arrays and see which are interleaved
805 /* Finally this is the set of effectively bound arrays */
807 /* The bound arrays past the VERT_ATTRIB_{POS,GENERIC0} mapping. */
811 /* Mark all the effective bound arrays as processed. */
860 /* Walk those enabled arrays that have the default vbo attached */
865 * attrib arrays at once
892 /* Walk the enabled arrays that have a vbo attached */
918 * Map buffer objects used in attribute arrays.
926 /* Do not use u_bit_scan as we can walk multiple attrib arrays at once */
943 * Map buffer objects used in the vao, attribute arrays and index buffer.
960 * Unmap buffer objects used in attribute arrays.
968 /* Do not use u_bit_scan as we can walk multiple attrib arrays at once */
985 * Unmap buffer objects used in the vao, attribute arrays and index buffer.
1046 * to NULL for drivers not to set up arrays which are not bound,
1140 * Generate a set of unique array object IDs and store them in \c arrays.
1145 * \param arrays Array of \c n locations to store the IDs.
1150 gen_vertex_arrays(struct gl_context *ctx, GLsizei n, GLuint *arrays,
1156 if (!arrays)
1176 arrays[i] = first + i;
1182 gen_vertex_arrays_err(struct gl_context *ctx, GLsizei n, GLuint *arrays,
1190 gen_vertex_arrays(ctx, n, arrays, create, func);
1196 * All arrays will be required to live in VBOs.
1199 _mesa_GenVertexArrays_no_error(GLsizei n, GLuint *arrays)
1202 gen_vertex_arrays(ctx, n, arrays, false, "glGenVertexArrays");
1207 _mesa_GenVertexArrays(GLsizei n, GLuint *arrays)
1210 gen_vertex_arrays_err(ctx, n, arrays, false, "glGenVertexArrays");
1219 _mesa_CreateVertexArrays_no_error(GLsizei n, GLuint *arrays)
1222 gen_vertex_arrays(ctx, n, arrays, true, "glCreateVertexArrays");
1227 _mesa_CreateVertexArrays(GLsizei n, GLuint *arrays)
1230 gen_vertex_arrays_err(ctx, n, arrays, true, "glCreateVertexArrays");