diff options
author | Brian Paul <[email protected]> | 2010-05-10 21:11:21 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-05-10 21:11:25 -0600 |
commit | fef6e36e0736a68e24d7844bae65a01de8359214 (patch) | |
tree | e5d9abc8125f9166c55efe22dc11309099e1394c /src/mesa/main/transformfeedback.h | |
parent | 12bc39f30c2cc27fe9bc4d33c7c79919d895537d (diff) |
mesa: more transform feedback infrastructure
Includes GL_ARB_transform_feedback2 which encapsulates transform feedback
state in objects.
Diffstat (limited to 'src/mesa/main/transformfeedback.h')
-rw-r--r-- | src/mesa/main/transformfeedback.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/mesa/main/transformfeedback.h b/src/mesa/main/transformfeedback.h index e89cc414736..53cc4565916 100644 --- a/src/mesa/main/transformfeedback.h +++ b/src/mesa/main/transformfeedback.h @@ -41,6 +41,12 @@ extern void _mesa_free_transform_feedback(GLcontext *ctx); +extern void +_mesa_init_transform_feedback_functions(struct dd_function_table *driver); + + +/*** GL_EXT_transform_feedback ***/ + extern void GLAPIENTRY _mesa_BeginTransformFeedback(GLenum mode); @@ -68,4 +74,29 @@ _mesa_GetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei *size, GLenum *type, GLchar *name); + +/*** GL_ARB_transform_feedback2 ***/ + +extern void GLAPIENTRY +_mesa_GenTransformFeedbacks(GLsizei n, GLuint *names); + +extern GLboolean GLAPIENTRY +_mesa_IsTransformFeedback(GLuint name); + +extern void GLAPIENTRY +_mesa_BindTransformFeedback(GLenum target, uint name); + +extern void GLAPIENTRY +_mesa_DeleteTransformFeedbacks(GLsizei n, const GLuint *names); + +extern void GLAPIENTRY +_mesa_PauseTransformFeedback(void); + +extern void GLAPIENTRY +_mesa_ResumeTransformFeedback(void); + +extern void GLAPIENTRY +_mesa_DrawTransformFeedback(GLenum mode, GLuint name); + + #endif /* TRANSFORM_FEEDBACK_H */ |