Lines Matching refs:mode

350                   GLenum mode, GLint start, GLsizei count)  in print_draw_arrays()  argument
358 mode, start, count); in print_draw_arrays()
583 vbo_draw_arrays(struct gl_context *ctx, GLenum mode, GLint start, in vbo_draw_arrays() argument
596 prim[0].mode = mode; in vbo_draw_arrays()
661 vbo_exec_DrawArrays(GLenum mode, GLint start, GLsizei count) in vbo_exec_DrawArrays() argument
667 _mesa_lookup_enum_by_nr(mode), start, count); in vbo_exec_DrawArrays()
669 if (!_mesa_validate_DrawArrays( ctx, mode, start, count )) in vbo_exec_DrawArrays()
675 vbo_draw_arrays(ctx, mode, start, count, 1, 0); in vbo_exec_DrawArrays()
678 print_draw_arrays(ctx, mode, start, count); in vbo_exec_DrawArrays()
687 vbo_exec_DrawArraysInstanced(GLenum mode, GLint start, GLsizei count, in vbo_exec_DrawArraysInstanced() argument
694 _mesa_lookup_enum_by_nr(mode), start, count, numInstances); in vbo_exec_DrawArraysInstanced()
696 if (!_mesa_validate_DrawArraysInstanced(ctx, mode, start, count, numInstances)) in vbo_exec_DrawArraysInstanced()
702 vbo_draw_arrays(ctx, mode, start, count, numInstances, 0); in vbo_exec_DrawArraysInstanced()
705 print_draw_arrays(ctx, mode, start, count); in vbo_exec_DrawArraysInstanced()
713 vbo_exec_DrawArraysInstancedBaseInstance(GLenum mode, GLint first, GLsizei count, in vbo_exec_DrawArraysInstancedBaseInstance() argument
720 _mesa_lookup_enum_by_nr(mode), first, count, in vbo_exec_DrawArraysInstancedBaseInstance()
723 if (!_mesa_validate_DrawArraysInstanced(ctx, mode, first, count, in vbo_exec_DrawArraysInstancedBaseInstance()
730 vbo_draw_arrays(ctx, mode, first, count, numInstances, baseInstance); in vbo_exec_DrawArraysInstancedBaseInstance()
733 print_draw_arrays(ctx, mode, first, count); in vbo_exec_DrawArraysInstancedBaseInstance()
803 vbo_validated_drawrangeelements(struct gl_context *ctx, GLenum mode, in vbo_validated_drawrangeelements() argument
827 prim[0].mode = mode; in vbo_validated_drawrangeelements()
880 vbo_exec_DrawRangeElementsBaseVertex(GLenum mode, in vbo_exec_DrawRangeElementsBaseVertex() argument
893 _mesa_lookup_enum_by_nr(mode), start, end, count, in vbo_exec_DrawRangeElementsBaseVertex()
896 if (!_mesa_validate_DrawRangeElements( ctx, mode, start, end, count, in vbo_exec_DrawRangeElementsBaseVertex()
955 vbo_validated_drawrangeelements(ctx, mode, index_bounds_valid, start, end, in vbo_exec_DrawRangeElementsBaseVertex()
964 vbo_exec_DrawRangeElements(GLenum mode, GLuint start, GLuint end, in vbo_exec_DrawRangeElements() argument
971 _mesa_lookup_enum_by_nr(mode), start, end, count, in vbo_exec_DrawRangeElements()
975 vbo_exec_DrawRangeElementsBaseVertex(mode, start, end, count, type, in vbo_exec_DrawRangeElements()
984 vbo_exec_DrawElements(GLenum mode, GLsizei count, GLenum type, in vbo_exec_DrawElements() argument
991 _mesa_lookup_enum_by_nr(mode), count, in vbo_exec_DrawElements()
994 if (!_mesa_validate_DrawElements( ctx, mode, count, type, indices, 0 )) in vbo_exec_DrawElements()
997 vbo_validated_drawrangeelements(ctx, mode, GL_FALSE, ~0, ~0, in vbo_exec_DrawElements()
1006 vbo_exec_DrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, in vbo_exec_DrawElementsBaseVertex() argument
1013 _mesa_lookup_enum_by_nr(mode), count, in vbo_exec_DrawElementsBaseVertex()
1016 if (!_mesa_validate_DrawElements( ctx, mode, count, type, indices, in vbo_exec_DrawElementsBaseVertex()
1020 vbo_validated_drawrangeelements(ctx, mode, GL_FALSE, ~0, ~0, in vbo_exec_DrawElementsBaseVertex()
1029 vbo_exec_DrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, in vbo_exec_DrawElementsInstanced() argument
1036 _mesa_lookup_enum_by_nr(mode), count, in vbo_exec_DrawElementsInstanced()
1039 if (!_mesa_validate_DrawElementsInstanced(ctx, mode, count, type, indices, in vbo_exec_DrawElementsInstanced()
1043 vbo_validated_drawrangeelements(ctx, mode, GL_FALSE, ~0, ~0, in vbo_exec_DrawElementsInstanced()
1052 vbo_exec_DrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, in vbo_exec_DrawElementsInstancedBaseVertex() argument
1060 _mesa_lookup_enum_by_nr(mode), count, in vbo_exec_DrawElementsInstancedBaseVertex()
1064 if (!_mesa_validate_DrawElementsInstanced(ctx, mode, count, type, indices, in vbo_exec_DrawElementsInstancedBaseVertex()
1068 vbo_validated_drawrangeelements(ctx, mode, GL_FALSE, ~0, ~0, in vbo_exec_DrawElementsInstancedBaseVertex()
1077 vbo_exec_DrawElementsInstancedBaseInstance(GLenum mode, GLsizei count, GLenum type, in vbo_exec_DrawElementsInstancedBaseInstance() argument
1085 _mesa_lookup_enum_by_nr(mode), count, in vbo_exec_DrawElementsInstancedBaseInstance()
1089 if (!_mesa_validate_DrawElementsInstanced(ctx, mode, count, type, indices, in vbo_exec_DrawElementsInstancedBaseInstance()
1093 vbo_validated_drawrangeelements(ctx, mode, GL_FALSE, ~0, ~0, in vbo_exec_DrawElementsInstancedBaseInstance()
1103 vbo_exec_DrawElementsInstancedBaseVertexBaseInstance(GLenum mode, GLsizei count, GLenum type, in vbo_exec_DrawElementsInstancedBaseVertexBaseInstance() argument
1111 _mesa_lookup_enum_by_nr(mode), count, in vbo_exec_DrawElementsInstancedBaseVertexBaseInstance()
1115 if (!_mesa_validate_DrawElementsInstanced(ctx, mode, count, type, indices, in vbo_exec_DrawElementsInstancedBaseVertexBaseInstance()
1119 vbo_validated_drawrangeelements(ctx, mode, GL_FALSE, ~0, ~0, in vbo_exec_DrawElementsInstancedBaseVertexBaseInstance()
1131 vbo_validated_multidrawelements(struct gl_context *ctx, GLenum mode, in vbo_validated_multidrawelements() argument
1198 prim[i].mode = mode; in vbo_validated_multidrawelements()
1225 prim[0].mode = mode; in vbo_validated_multidrawelements()
1251 vbo_exec_MultiDrawElements(GLenum mode, in vbo_exec_MultiDrawElements() argument
1258 if (!_mesa_validate_MultiDrawElements(ctx, mode, count, type, indices, in vbo_exec_MultiDrawElements()
1262 vbo_validated_multidrawelements(ctx, mode, count, type, indices, primcount, in vbo_exec_MultiDrawElements()
1268 vbo_exec_MultiDrawElementsBaseVertex(GLenum mode, in vbo_exec_MultiDrawElementsBaseVertex() argument
1276 if (!_mesa_validate_MultiDrawElements(ctx, mode, count, type, indices, in vbo_exec_MultiDrawElementsBaseVertex()
1280 vbo_validated_multidrawelements(ctx, mode, count, type, indices, primcount, in vbo_exec_MultiDrawElementsBaseVertex()
1287 vbo_draw_transform_feedback(struct gl_context *ctx, GLenum mode, in vbo_draw_transform_feedback() argument
1295 if (!_mesa_validate_DrawTransformFeedback(ctx, mode, obj, stream, in vbo_draw_transform_feedback()
1306 prim[0].mode = mode; in vbo_draw_transform_feedback()
1332 vbo_exec_DrawTransformFeedback(GLenum mode, GLuint name) in vbo_exec_DrawTransformFeedback() argument
1340 _mesa_lookup_enum_by_nr(mode), name); in vbo_exec_DrawTransformFeedback()
1342 vbo_draw_transform_feedback(ctx, mode, obj, 0, 1); in vbo_exec_DrawTransformFeedback()
1346 vbo_exec_DrawTransformFeedbackStream(GLenum mode, GLuint name, GLuint stream) in vbo_exec_DrawTransformFeedbackStream() argument
1354 _mesa_lookup_enum_by_nr(mode), name, stream); in vbo_exec_DrawTransformFeedbackStream()
1356 vbo_draw_transform_feedback(ctx, mode, obj, stream, 1); in vbo_exec_DrawTransformFeedbackStream()
1360 vbo_exec_DrawTransformFeedbackInstanced(GLenum mode, GLuint name, in vbo_exec_DrawTransformFeedbackInstanced() argument
1369 _mesa_lookup_enum_by_nr(mode), name); in vbo_exec_DrawTransformFeedbackInstanced()
1371 vbo_draw_transform_feedback(ctx, mode, obj, 0, primcount); in vbo_exec_DrawTransformFeedbackInstanced()
1375 vbo_exec_DrawTransformFeedbackStreamInstanced(GLenum mode, GLuint name, in vbo_exec_DrawTransformFeedbackStreamInstanced() argument
1385 _mesa_lookup_enum_by_nr(mode), name, stream, primcount); in vbo_exec_DrawTransformFeedbackStreamInstanced()
1387 vbo_draw_transform_feedback(ctx, mode, obj, stream, primcount); in vbo_exec_DrawTransformFeedbackStreamInstanced()
1439 _mesa_DrawArrays(GLenum mode, GLint first, GLsizei count) in _mesa_DrawArrays() argument
1441 vbo_exec_DrawArrays(mode, first, count); in _mesa_DrawArrays()
1446 _mesa_DrawElements(GLenum mode, GLsizei count, GLenum type, in _mesa_DrawElements() argument
1449 vbo_exec_DrawElements(mode, count, type, indices); in _mesa_DrawElements()
1454 _mesa_DrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, in _mesa_DrawElementsBaseVertex() argument
1457 vbo_exec_DrawElementsBaseVertex(mode, count, type, indices, basevertex); in _mesa_DrawElementsBaseVertex()
1462 _mesa_DrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, in _mesa_DrawRangeElements() argument
1465 vbo_exec_DrawRangeElements(mode, start, end, count, type, indices); in _mesa_DrawRangeElements()
1470 _mesa_DrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, in _mesa_DrawRangeElementsBaseVertex() argument
1474 vbo_exec_DrawRangeElementsBaseVertex(mode, start, end, count, type, in _mesa_DrawRangeElementsBaseVertex()
1480 _mesa_MultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, in _mesa_MultiDrawElementsEXT() argument
1483 vbo_exec_MultiDrawElements(mode, count, type, indices, primcount); in _mesa_MultiDrawElementsEXT()
1488 _mesa_MultiDrawElementsBaseVertex(GLenum mode, in _mesa_MultiDrawElementsBaseVertex() argument
1493 vbo_exec_MultiDrawElementsBaseVertex(mode, count, type, indices, in _mesa_MultiDrawElementsBaseVertex()
1500 _mesa_DrawTransformFeedback(GLenum mode, GLuint name) in _mesa_DrawTransformFeedback() argument
1502 vbo_exec_DrawTransformFeedback(mode, name); in _mesa_DrawTransformFeedback()