2 * Mesa 3-D graphics library
5 * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
14 * The above copyright notice and this permission notice shall be included
15 * in all copies or substantial portions of the Software.
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
21 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 * OTHER DEALINGS IN THE SOFTWARE.
34 extern void GLAPIENTRY
35 _mesa_BindProgramARB(GLenum target
, GLuint id
);
37 extern void GLAPIENTRY
38 _mesa_DeleteProgramsARB(GLsizei n
, const GLuint
*ids
);
40 extern void GLAPIENTRY
41 _mesa_GenProgramsARB(GLsizei n
, GLuint
*ids
);
44 extern GLboolean GLAPIENTRY
45 _mesa_IsProgramARB(GLuint id
);
48 extern void GLAPIENTRY
49 _mesa_ProgramStringARB(GLenum target
, GLenum format
, GLsizei len
,
50 const GLvoid
*string
);
53 extern void GLAPIENTRY
54 _mesa_ProgramEnvParameter4dARB(GLenum target
, GLuint index
,
55 GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
58 extern void GLAPIENTRY
59 _mesa_ProgramEnvParameter4dvARB(GLenum target
, GLuint index
,
60 const GLdouble
*params
);
63 extern void GLAPIENTRY
64 _mesa_ProgramEnvParameter4fARB(GLenum target
, GLuint index
,
65 GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
68 extern void GLAPIENTRY
69 _mesa_ProgramEnvParameter4fvARB(GLenum target
, GLuint index
,
70 const GLfloat
*params
);
73 extern void GLAPIENTRY
74 _mesa_ProgramEnvParameters4fvEXT(GLenum target
, GLuint index
, GLsizei count
,
75 const GLfloat
*params
);
78 extern void GLAPIENTRY
79 _mesa_ProgramLocalParameter4dARB(GLenum target
, GLuint index
,
80 GLdouble x
, GLdouble y
,
81 GLdouble z
, GLdouble w
);
84 extern void GLAPIENTRY
85 _mesa_ProgramLocalParameter4dvARB(GLenum target
, GLuint index
,
86 const GLdouble
*params
);
89 extern void GLAPIENTRY
90 _mesa_ProgramLocalParameter4fARB(GLenum target
, GLuint index
,
91 GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
94 extern void GLAPIENTRY
95 _mesa_ProgramLocalParameter4fvARB(GLenum target
, GLuint index
,
96 const GLfloat
*params
);
99 extern void GLAPIENTRY
100 _mesa_ProgramLocalParameters4fvEXT(GLenum target
, GLuint index
, GLsizei count
,
101 const GLfloat
*params
);
104 extern void GLAPIENTRY
105 _mesa_GetProgramEnvParameterdvARB(GLenum target
, GLuint index
,
109 extern void GLAPIENTRY
110 _mesa_GetProgramEnvParameterfvARB(GLenum target
, GLuint index
,
114 extern void GLAPIENTRY
115 _mesa_GetProgramLocalParameterdvARB(GLenum target
, GLuint index
,
119 extern void GLAPIENTRY
120 _mesa_GetProgramLocalParameterfvARB(GLenum target
, GLuint index
,
124 extern void GLAPIENTRY
125 _mesa_GetProgramivARB(GLenum target
, GLenum pname
, GLint
*params
);
128 extern void GLAPIENTRY
129 _mesa_GetProgramStringARB(GLenum target
, GLenum pname
, GLvoid
*string
);