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 * 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.
33 extern void GLAPIENTRY
34 _mesa_BindProgram(GLenum target
, GLuint id
);
36 extern void GLAPIENTRY
37 _mesa_DeletePrograms(GLsizei n
, const GLuint
*ids
);
39 extern void GLAPIENTRY
40 _mesa_GenPrograms(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
);
52 extern void GLAPIENTRY
53 _mesa_ProgramEnvParameter4dARB(GLenum target
, GLuint index
,
54 GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
57 extern void GLAPIENTRY
58 _mesa_ProgramEnvParameter4dvARB(GLenum target
, GLuint index
,
59 const GLdouble
*params
);
62 extern void GLAPIENTRY
63 _mesa_ProgramEnvParameter4fARB(GLenum target
, GLuint index
,
64 GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
67 extern void GLAPIENTRY
68 _mesa_ProgramEnvParameter4fvARB(GLenum target
, GLuint index
,
69 const GLfloat
*params
);
72 extern void GLAPIENTRY
73 _mesa_ProgramEnvParameters4fvEXT(GLenum target
, GLuint index
, GLsizei count
,
74 const GLfloat
*params
);
77 extern void GLAPIENTRY
78 _mesa_ProgramLocalParameter4dARB(GLenum target
, GLuint index
,
79 GLdouble x
, GLdouble y
,
80 GLdouble z
, GLdouble w
);
83 extern void GLAPIENTRY
84 _mesa_ProgramLocalParameter4dvARB(GLenum target
, GLuint index
,
85 const GLdouble
*params
);
88 extern void GLAPIENTRY
89 _mesa_ProgramLocalParameter4fARB(GLenum target
, GLuint index
,
90 GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
93 extern void GLAPIENTRY
94 _mesa_ProgramLocalParameter4fvARB(GLenum target
, GLuint index
,
95 const GLfloat
*params
);
98 extern void GLAPIENTRY
99 _mesa_ProgramLocalParameters4fvEXT(GLenum target
, GLuint index
, GLsizei count
,
100 const GLfloat
*params
);
103 extern void GLAPIENTRY
104 _mesa_GetProgramEnvParameterdvARB(GLenum target
, GLuint index
,
108 extern void GLAPIENTRY
109 _mesa_GetProgramEnvParameterfvARB(GLenum target
, GLuint index
,
113 extern void GLAPIENTRY
114 _mesa_GetProgramLocalParameterdvARB(GLenum target
, GLuint index
,
118 extern void GLAPIENTRY
119 _mesa_GetProgramLocalParameterfvARB(GLenum target
, GLuint index
,
123 extern void GLAPIENTRY
124 _mesa_GetProgramivARB(GLenum target
, GLenum pname
, GLint
*params
);
127 extern void GLAPIENTRY
128 _mesa_GetProgramStringARB(GLenum target
, GLenum pname
, GLvoid
*string
);