#include "mtypes.h"
Functions | |
GLuint | _mesa_max_buffer_index (GLcontext *ctx, GLuint count, GLenum type, const void *indices, struct gl_buffer_object *elementBuf) |
Find the max index in the given element/index buffer. | |
GLboolean | _mesa_validate_DrawArrays (GLcontext *ctx, GLenum mode, GLint start, GLsizei count) |
Called from the tnl module to error check the function parameters and verify that we really can draw something. | |
GLboolean | _mesa_validate_DrawElements (GLcontext *ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
Error checking for glDrawElements(). | |
GLboolean | _mesa_validate_DrawRangeElements (GLcontext *ctx, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
Error checking for glDrawRangeElements(). |
GLuint _mesa_max_buffer_index | ( | GLcontext * | ctx, | |
GLuint | count, | |||
GLenum | type, | |||
const void * | indices, | |||
struct gl_buffer_object * | elementBuf | |||
) |
Find the max index in the given element/index buffer.
GLboolean _mesa_validate_DrawArrays | ( | GLcontext * | ctx, | |
GLenum | mode, | |||
GLint | start, | |||
GLsizei | count | |||
) |
Called from the tnl module to error check the function parameters and verify that we really can draw something.
GLboolean _mesa_validate_DrawElements | ( | GLcontext * | ctx, | |
GLenum | mode, | |||
GLsizei | count, | |||
GLenum | type, | |||
const GLvoid * | indices, | |||
GLint | basevertex | |||
) |
Error checking for glDrawElements().
Includes parameter checking and VBO bounds checking.
GLboolean _mesa_validate_DrawRangeElements | ( | GLcontext * | ctx, | |
GLenum | mode, | |||
GLuint | start, | |||
GLuint | end, | |||
GLsizei | count, | |||
GLenum | type, | |||
const GLvoid * | indices, | |||
GLint | basevertex | |||
) |
Error checking for glDrawRangeElements().
Includes parameter checking and VBO bounds checking.