1/*
2 * Mesa 3-D graphics library
3 *
4 * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
5 *
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:
12 *
13 * The above copyright notice and this permission notice shall be included
14 * in all copies or substantial portions of the Software.
15 *
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.
23 */
24
25
26#ifndef ARBPROGRAM_H
27#define ARBPROGRAM_H
28
29
30#include "glheader.h"
31
32
33extern void GLAPIENTRY
34_mesa_BindProgramARB(GLenum target, GLuint id);
35
36extern void GLAPIENTRY
37_mesa_DeleteProgramsARB(GLsizei n, const GLuint *ids);
38
39extern void GLAPIENTRY
40_mesa_GenProgramsARB(GLsizei n, GLuint *ids);
41
42
43extern GLboolean GLAPIENTRY
44_mesa_IsProgramARB(GLuint id);
45
46
47extern void GLAPIENTRY
48_mesa_ProgramStringARB(GLenum target, GLenum format, GLsizei len,
49                       const GLvoid *string);
50
51extern void GLAPIENTRY
52_mesa_NamedProgramStringEXT(GLuint program, GLenum target, GLenum format,
53                            GLsizei len, const GLvoid *string);
54
55extern void GLAPIENTRY
56_mesa_ProgramEnvParameter4dARB(GLenum target, GLuint index,
57                               GLdouble x, GLdouble y, GLdouble z, GLdouble w);
58
59
60extern void GLAPIENTRY
61_mesa_ProgramEnvParameter4dvARB(GLenum target, GLuint index,
62                                const GLdouble *params);
63
64
65extern void GLAPIENTRY
66_mesa_ProgramEnvParameter4fARB(GLenum target, GLuint index,
67                               GLfloat x, GLfloat y, GLfloat z, GLfloat w);
68
69
70extern void GLAPIENTRY
71_mesa_ProgramEnvParameter4fvARB(GLenum target, GLuint index,
72                                const GLfloat *params);
73
74
75extern void GLAPIENTRY
76_mesa_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count,
77				 const GLfloat *params);
78
79
80extern void GLAPIENTRY
81_mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index,
82                                 GLdouble x, GLdouble y,
83                                 GLdouble z, GLdouble w);
84
85
86extern void GLAPIENTRY
87_mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index,
88                                  const GLdouble *params);
89
90
91extern void GLAPIENTRY
92_mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index,
93                                 GLfloat x, GLfloat y, GLfloat z, GLfloat w);
94
95
96extern void GLAPIENTRY
97_mesa_NamedProgramLocalParameter4fvEXT(GLuint program, GLenum target,
98                                       GLuint index, const GLfloat *params);
99
100extern void GLAPIENTRY
101_mesa_NamedProgramLocalParameter4dEXT(GLuint program, GLenum target,
102                                       GLuint index, GLdouble x, GLdouble y,
103                                       GLdouble z, GLdouble w);
104
105extern void GLAPIENTRY
106_mesa_NamedProgramLocalParameter4dvEXT(GLuint program, GLenum target,
107                                       GLuint index, const GLdouble *params);
108
109
110extern void GLAPIENTRY
111_mesa_NamedProgramLocalParameter4fEXT(GLuint program, GLenum target,
112                                       GLuint index, GLfloat x, GLfloat y,
113                                       GLfloat z, GLfloat w);
114
115
116extern void GLAPIENTRY
117_mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index,
118                                  const GLfloat *params);
119
120extern void GLAPIENTRY
121_mesa_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count,
122				   const GLfloat *params);
123
124extern void GLAPIENTRY
125_mesa_NamedProgramLocalParameters4fvEXT(GLuint program, GLenum target, GLuint index,
126                                        GLsizei count, const GLfloat *params);
127
128extern void GLAPIENTRY
129_mesa_GetProgramEnvParameterdvARB(GLenum target, GLuint index,
130                                  GLdouble *params);
131
132
133extern void GLAPIENTRY
134_mesa_GetProgramEnvParameterfvARB(GLenum target, GLuint index,
135                                  GLfloat *params);
136
137
138extern void GLAPIENTRY
139_mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index,
140                                    GLdouble *params);
141
142extern void GLAPIENTRY
143_mesa_GetNamedProgramLocalParameterdvEXT(GLuint program, GLenum target,
144                                         GLuint index, GLdouble *params);
145
146extern void GLAPIENTRY
147_mesa_GetProgramLocalParameterfvARB(GLenum target, GLuint index,
148                                    GLfloat *params);
149
150extern void GLAPIENTRY
151_mesa_GetNamedProgramLocalParameterfvEXT(GLuint program, GLenum target,
152                                         GLuint index, GLfloat *params);
153
154extern void GLAPIENTRY
155_mesa_GetProgramivARB(GLenum target, GLenum pname, GLint *params);
156
157extern void GLAPIENTRY
158_mesa_GetNamedProgramivEXT(GLuint program, GLenum target, GLenum pname,
159                           GLint *params);
160
161extern void GLAPIENTRY
162_mesa_GetProgramStringARB(GLenum target, GLenum pname, GLvoid *string);
163
164extern void GLAPIENTRY
165_mesa_GetNamedProgramStringEXT(GLuint program, GLenum target,
166                               GLenum pname, GLvoid *string);
167
168#endif
169