From 04a81da03bef5020d863e46aa597eddf7aaac016 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 31 Aug 2003 18:52:47 +0000 Subject: 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. --- src/mesa/main/nvprogram.h | 57 ----------------------------------------------- 1 file changed, 57 deletions(-) (limited to 'src/mesa/main/nvprogram.h') diff --git a/src/mesa/main/nvprogram.h b/src/mesa/main/nvprogram.h index c9b8a838d9..f505a84ab8 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 -- cgit v1.2.3