diff options
author | Brian Paul <[email protected]> | 2003-08-31 18:52:47 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-08-31 18:52:47 +0000 |
commit | 04a81da03bef5020d863e46aa597eddf7aaac016 (patch) | |
tree | 714f54ed6a4a5b74a17194cce98047e6a60dca1a /src/mesa/main/nvprogram.h | |
parent | e38a55ecb27562a52d48bf1d673803a10d8a5bce (diff) |
Moved some shared vertex/fragment program code into new program.c file.
Implemented new program_parameter_list type and functions for dealing with
named program parameters, constants and GL state references.
New state_index enum for describing GL state referenced within ARB vertex/
fragment programs. Plus, functions for fetching named GL state.
Diffstat (limited to 'src/mesa/main/nvprogram.h')
-rw-r--r-- | src/mesa/main/nvprogram.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/mesa/main/nvprogram.h b/src/mesa/main/nvprogram.h index c9b8a838d94..f505a84ab8c 100644 --- a/src/mesa/main/nvprogram.h +++ b/src/mesa/main/nvprogram.h @@ -30,36 +30,9 @@ #define NVPROGRAM_H -/** Internal functions **/ -extern void -_mesa_set_program_error(GLcontext *ctx, GLint pos, const char *string); - -extern const GLubyte * -_mesa_find_line_column(const GLubyte *string, const GLubyte *pos, - GLint *line, GLint *col); - -extern struct program * -_mesa_alloc_program(GLcontext *ctx, GLenum target, GLuint id); - -extern void -_mesa_delete_program(GLcontext *ctx, struct program *prog); - - - -/** API functions **/ - -extern void -_mesa_BindProgramNV(GLenum target, GLuint id); - -extern void -_mesa_DeleteProgramsNV(GLsizei n, const GLuint *ids); - extern void _mesa_ExecuteProgramNV(GLenum target, GLuint id, const GLfloat *params); -extern void -_mesa_GenProgramsNV(GLsizei n, GLuint *ids); - extern GLboolean _mesa_AreProgramsResidentNV(GLsizei n, const GLuint *ids, GLboolean *residences); @@ -93,9 +66,6 @@ _mesa_GetVertexAttribivNV(GLuint index, GLenum pname, GLint *params); extern void _mesa_GetVertexAttribPointervNV(GLuint index, GLenum pname, GLvoid **pointer); -extern GLboolean -_mesa_IsProgramNV(GLuint id); - extern void _mesa_LoadProgramNV(GLenum target, GLuint id, GLsizei len, const GLubyte *program); @@ -145,32 +115,5 @@ extern void _mesa_GetProgramNamedParameterdvNV(GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); -#if 0 -extern void -_mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index, - GLfloat x, GLfloat y, GLfloat z, GLfloat w); - -extern void -_mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index, - const GLfloat *params); - -extern void -_mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index, - GLdouble x, GLdouble y, - GLdouble z, GLdouble w); - -extern void -_mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index, - const GLdouble *params); - -extern void -_mesa_GetProgramLocalParameterfvARB(GLenum target, GLuint index, - GLfloat *params); - -extern void -_mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index, - GLdouble *params); -#endif - #endif |