Lines Matching defs:mode

56  * by sending batches of immediate mode commands that are equivalent to the
70 static void emit_DrawArrays_none(GLenum mode, GLint first, GLsizei count);
71 static void emit_DrawArrays_old(GLenum mode, GLint first, GLsizei count);
73 static void emit_DrawElements_none(GLenum mode, GLsizei count, GLenum type,
75 static void emit_DrawElements_old(GLenum mode, GLsizei count, GLenum type,
89 static GLboolean validate_mode(struct glx_context * gc, GLenum mode);
312 * essentially the size of all the immediate-mode commands required to
348 * normalized, unsigned short, but the "closest" immediate mode
521 * emit immediate-mode commands that are equivalent to the requiested
527 emit_DrawArrays_none(GLenum mode, GLint first, GLsizei count)
546 *(int *) (pc + 4) = mode;
584 * \param mode Drawing mode.
595 GLenum mode, GLsizei count)
661 *(uint32_t *) (pc + 16) = mode;
678 *(uint32_t *) (pc + 12) = mode;
698 emit_DrawArrays_old(GLenum mode, GLint first, GLsizei count)
712 &total_requests, mode, count);
757 emit_DrawElements_none(GLenum mode, GLsizei count, GLenum type,
782 *(int *) (pc + 4) = mode;
824 emit_DrawElements_old(GLenum mode, GLsizei count, GLenum type,
841 &total_requests, mode, count);
908 * Validate that the \c mode parameter to \c glDrawArrays, et. al. is valid.
915 validate_mode(struct glx_context * gc, GLenum mode)
917 switch (mode) {
982 __indirect_glDrawArrays(GLenum mode, GLint first, GLsizei count)
990 if (validate_mode(gc, mode) && validate_count(gc, count)) {
995 arrays->DrawArrays(mode, first, count);
1026 __indirect_glDrawElements(GLenum mode, GLsizei count, GLenum type,
1035 if (validate_mode(gc, mode) && validate_count(gc, count)
1041 arrays->DrawElements(mode, count, type, indices);
1047 __indirect_glDrawRangeElements(GLenum mode, GLuint start, GLuint end,
1057 if (validate_mode(gc, mode) && validate_count(gc, count)
1068 arrays->DrawElements(mode, count, type, indices);
1074 __indirect_glMultiDrawArrays(GLenum mode, const GLint *first,
1084 if (validate_mode(gc, mode)) {
1091 arrays->DrawArrays(mode, first[i], count[i]);
1099 __indirect_glMultiDrawElementsEXT(GLenum mode, const GLsizei * count,
1110 if (validate_mode(gc, mode) && validate_type(gc, type)) {
1117 arrays->DrawElements(mode, count[i], type, indices[i]);