1/*
2 * Mesa 3-D graphics library
3 * Version:  6.5.2
4 *
5 * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
6 *
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:
13 *
14 * The above copyright notice and this permission notice shall be included
15 * in all copies or substantial portions of the Software.
16 *
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 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 * CONNECTION WITH THE SOFTWARE OR THE USE OR 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_BindProgram(GLenum target, GLuint id);
35
36extern void GLAPIENTRY
37_mesa_DeletePrograms(GLsizei n, const GLuint *ids);
38
39extern void GLAPIENTRY
40_mesa_GenPrograms(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
51
52extern void GLAPIENTRY
53_mesa_ProgramEnvParameter4dARB(GLenum target, GLuint index,
54                               GLdouble x, GLdouble y, GLdouble z, GLdouble w);
55
56
57extern void GLAPIENTRY
58_mesa_ProgramEnvParameter4dvARB(GLenum target, GLuint index,
59                                const GLdouble *params);
60
61
62extern void GLAPIENTRY
63_mesa_ProgramEnvParameter4fARB(GLenum target, GLuint index,
64                               GLfloat x, GLfloat y, GLfloat z, GLfloat w);
65
66
67extern void GLAPIENTRY
68_mesa_ProgramEnvParameter4fvARB(GLenum target, GLuint index,
69                                const GLfloat *params);
70
71
72extern void GLAPIENTRY
73_mesa_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count,
74				 const GLfloat *params);
75
76
77extern void GLAPIENTRY
78_mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index,
79                                 GLdouble x, GLdouble y,
80                                 GLdouble z, GLdouble w);
81
82
83extern void GLAPIENTRY
84_mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index,
85                                  const GLdouble *params);
86
87
88extern void GLAPIENTRY
89_mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index,
90                                 GLfloat x, GLfloat y, GLfloat z, GLfloat w);
91
92
93extern void GLAPIENTRY
94_mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index,
95                                  const GLfloat *params);
96
97
98extern void GLAPIENTRY
99_mesa_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count,
100				   const GLfloat *params);
101
102
103extern void GLAPIENTRY
104_mesa_GetProgramEnvParameterdvARB(GLenum target, GLuint index,
105                                  GLdouble *params);
106
107
108extern void GLAPIENTRY
109_mesa_GetProgramEnvParameterfvARB(GLenum target, GLuint index,
110                                  GLfloat *params);
111
112
113extern void GLAPIENTRY
114_mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index,
115                                    GLdouble *params);
116
117
118extern void GLAPIENTRY
119_mesa_GetProgramLocalParameterfvARB(GLenum target, GLuint index,
120                                    GLfloat *params);
121
122
123extern void GLAPIENTRY
124_mesa_GetProgramivARB(GLenum target, GLenum pname, GLint *params);
125
126
127extern void GLAPIENTRY
128_mesa_GetProgramStringARB(GLenum target, GLenum pname, GLvoid *string);
129
130
131#endif
132