2 * Mesa 3-D graphics library
4 * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
13 * The above copyright notice and this permission notice shall be included
14 * in all copies or substantial portions of the Software.
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 * OTHER DEALINGS IN THE SOFTWARE.
33 extern void GLAPIENTRY
34 _mesa_BindProgramARB(GLenum target
, GLuint id
);
36 extern void GLAPIENTRY
37 _mesa_DeleteProgramsARB(GLsizei n
, const GLuint
*ids
);
39 extern void GLAPIENTRY
40 _mesa_GenProgramsARB(GLsizei n
, GLuint
*ids
);
43 extern GLboolean GLAPIENTRY
44 _mesa_IsProgramARB(GLuint id
);
47 extern void GLAPIENTRY
48 _mesa_ProgramStringARB(GLenum target
, GLenum format
, GLsizei len
,
49 const GLvoid
*string
);
51 extern void GLAPIENTRY
52 _mesa_NamedProgramStringEXT(GLuint program
, GLenum target
, GLenum format
,
53 GLsizei len
, const GLvoid
*string
);
55 extern void GLAPIENTRY
56 _mesa_ProgramEnvParameter4dARB(GLenum target
, GLuint index
,
57 GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
60 extern void GLAPIENTRY
61 _mesa_ProgramEnvParameter4dvARB(GLenum target
, GLuint index
,
62 const GLdouble
*params
);
65 extern void GLAPIENTRY
66 _mesa_ProgramEnvParameter4fARB(GLenum target
, GLuint index
,
67 GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
70 extern void GLAPIENTRY
71 _mesa_ProgramEnvParameter4fvARB(GLenum target
, GLuint index
,
72 const GLfloat
*params
);
75 extern void GLAPIENTRY
76 _mesa_ProgramEnvParameters4fvEXT(GLenum target
, GLuint index
, GLsizei count
,
77 const GLfloat
*params
);
80 extern void GLAPIENTRY
81 _mesa_ProgramLocalParameter4dARB(GLenum target
, GLuint index
,
82 GLdouble x
, GLdouble y
,
83 GLdouble z
, GLdouble w
);
86 extern void GLAPIENTRY
87 _mesa_ProgramLocalParameter4dvARB(GLenum target
, GLuint index
,
88 const GLdouble
*params
);
91 extern void GLAPIENTRY
92 _mesa_ProgramLocalParameter4fARB(GLenum target
, GLuint index
,
93 GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
96 extern void GLAPIENTRY
97 _mesa_NamedProgramLocalParameter4fvEXT(GLuint program
, GLenum target
,
98 GLuint index
, const GLfloat
*params
);
100 extern void GLAPIENTRY
101 _mesa_NamedProgramLocalParameter4dEXT(GLuint program
, GLenum target
,
102 GLuint index
, GLdouble x
, GLdouble y
,
103 GLdouble z
, GLdouble w
);
105 extern void GLAPIENTRY
106 _mesa_NamedProgramLocalParameter4dvEXT(GLuint program
, GLenum target
,
107 GLuint index
, const GLdouble
*params
);
110 extern void GLAPIENTRY
111 _mesa_NamedProgramLocalParameter4fEXT(GLuint program
, GLenum target
,
112 GLuint index
, GLfloat x
, GLfloat y
,
113 GLfloat z
, GLfloat w
);
116 extern void GLAPIENTRY
117 _mesa_ProgramLocalParameter4fvARB(GLenum target
, GLuint index
,
118 const GLfloat
*params
);
120 extern void GLAPIENTRY
121 _mesa_ProgramLocalParameters4fvEXT(GLenum target
, GLuint index
, GLsizei count
,
122 const GLfloat
*params
);
124 extern void GLAPIENTRY
125 _mesa_NamedProgramLocalParameters4fvEXT(GLuint program
, GLenum target
, GLuint index
,
126 GLsizei count
, const GLfloat
*params
);
128 extern void GLAPIENTRY
129 _mesa_GetProgramEnvParameterdvARB(GLenum target
, GLuint index
,
133 extern void GLAPIENTRY
134 _mesa_GetProgramEnvParameterfvARB(GLenum target
, GLuint index
,
138 extern void GLAPIENTRY
139 _mesa_GetProgramLocalParameterdvARB(GLenum target
, GLuint index
,
142 extern void GLAPIENTRY
143 _mesa_GetNamedProgramLocalParameterdvEXT(GLuint program
, GLenum target
,
144 GLuint index
, GLdouble
*params
);
146 extern void GLAPIENTRY
147 _mesa_GetProgramLocalParameterfvARB(GLenum target
, GLuint index
,
150 extern void GLAPIENTRY
151 _mesa_GetNamedProgramLocalParameterfvEXT(GLuint program
, GLenum target
,
152 GLuint index
, GLfloat
*params
);
154 extern void GLAPIENTRY
155 _mesa_GetProgramivARB(GLenum target
, GLenum pname
, GLint
*params
);
157 extern void GLAPIENTRY
158 _mesa_GetNamedProgramivEXT(GLuint program
, GLenum target
, GLenum pname
,
161 extern void GLAPIENTRY
162 _mesa_GetProgramStringARB(GLenum target
, GLenum pname
, GLvoid
*string
);
164 extern void GLAPIENTRY
165 _mesa_GetNamedProgramStringEXT(GLuint program
, GLenum target
,
166 GLenum pname
, GLvoid
*string
);