13464ebd5Sriastradh/*
23464ebd5Sriastradh * Mesa 3-D graphics library
33464ebd5Sriastradh *
43464ebd5Sriastradh * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
53464ebd5Sriastradh *
63464ebd5Sriastradh * Permission is hereby granted, free of charge, to any person obtaining a
73464ebd5Sriastradh * copy of this software and associated documentation files (the "Software"),
83464ebd5Sriastradh * to deal in the Software without restriction, including without limitation
93464ebd5Sriastradh * the rights to use, copy, modify, merge, publish, distribute, sublicense,
103464ebd5Sriastradh * and/or sell copies of the Software, and to permit persons to whom the
113464ebd5Sriastradh * Software is furnished to do so, subject to the following conditions:
123464ebd5Sriastradh *
133464ebd5Sriastradh * The above copyright notice and this permission notice shall be included
143464ebd5Sriastradh * in all copies or substantial portions of the Software.
153464ebd5Sriastradh *
163464ebd5Sriastradh * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
173464ebd5Sriastradh * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
183464ebd5Sriastradh * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
19af69d88dSmrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20af69d88dSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21af69d88dSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22af69d88dSmrg * OTHER DEALINGS IN THE SOFTWARE.
233464ebd5Sriastradh */
243464ebd5Sriastradh
253464ebd5Sriastradh
263464ebd5Sriastradh#ifndef ARBPROGRAM_H
273464ebd5Sriastradh#define ARBPROGRAM_H
283464ebd5Sriastradh
293464ebd5Sriastradh
303464ebd5Sriastradh#include "glheader.h"
313464ebd5Sriastradh
323464ebd5Sriastradh
333464ebd5Sriastradhextern void GLAPIENTRY
34af69d88dSmrg_mesa_BindProgramARB(GLenum target, GLuint id);
353464ebd5Sriastradh
363464ebd5Sriastradhextern void GLAPIENTRY
37af69d88dSmrg_mesa_DeleteProgramsARB(GLsizei n, const GLuint *ids);
383464ebd5Sriastradh
393464ebd5Sriastradhextern void GLAPIENTRY
40af69d88dSmrg_mesa_GenProgramsARB(GLsizei n, GLuint *ids);
413464ebd5Sriastradh
423464ebd5Sriastradh
433464ebd5Sriastradhextern GLboolean GLAPIENTRY
443464ebd5Sriastradh_mesa_IsProgramARB(GLuint id);
453464ebd5Sriastradh
463464ebd5Sriastradh
473464ebd5Sriastradhextern void GLAPIENTRY
483464ebd5Sriastradh_mesa_ProgramStringARB(GLenum target, GLenum format, GLsizei len,
493464ebd5Sriastradh                       const GLvoid *string);
503464ebd5Sriastradh
517ec681f3Smrgextern void GLAPIENTRY
527ec681f3Smrg_mesa_NamedProgramStringEXT(GLuint program, GLenum target, GLenum format,
537ec681f3Smrg                            GLsizei len, const GLvoid *string);
543464ebd5Sriastradh
553464ebd5Sriastradhextern void GLAPIENTRY
563464ebd5Sriastradh_mesa_ProgramEnvParameter4dARB(GLenum target, GLuint index,
573464ebd5Sriastradh                               GLdouble x, GLdouble y, GLdouble z, GLdouble w);
583464ebd5Sriastradh
593464ebd5Sriastradh
603464ebd5Sriastradhextern void GLAPIENTRY
613464ebd5Sriastradh_mesa_ProgramEnvParameter4dvARB(GLenum target, GLuint index,
623464ebd5Sriastradh                                const GLdouble *params);
633464ebd5Sriastradh
643464ebd5Sriastradh
653464ebd5Sriastradhextern void GLAPIENTRY
663464ebd5Sriastradh_mesa_ProgramEnvParameter4fARB(GLenum target, GLuint index,
673464ebd5Sriastradh                               GLfloat x, GLfloat y, GLfloat z, GLfloat w);
683464ebd5Sriastradh
693464ebd5Sriastradh
703464ebd5Sriastradhextern void GLAPIENTRY
713464ebd5Sriastradh_mesa_ProgramEnvParameter4fvARB(GLenum target, GLuint index,
723464ebd5Sriastradh                                const GLfloat *params);
733464ebd5Sriastradh
743464ebd5Sriastradh
753464ebd5Sriastradhextern void GLAPIENTRY
763464ebd5Sriastradh_mesa_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count,
773464ebd5Sriastradh				 const GLfloat *params);
783464ebd5Sriastradh
793464ebd5Sriastradh
803464ebd5Sriastradhextern void GLAPIENTRY
813464ebd5Sriastradh_mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index,
823464ebd5Sriastradh                                 GLdouble x, GLdouble y,
833464ebd5Sriastradh                                 GLdouble z, GLdouble w);
843464ebd5Sriastradh
853464ebd5Sriastradh
863464ebd5Sriastradhextern void GLAPIENTRY
873464ebd5Sriastradh_mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index,
883464ebd5Sriastradh                                  const GLdouble *params);
893464ebd5Sriastradh
903464ebd5Sriastradh
913464ebd5Sriastradhextern void GLAPIENTRY
923464ebd5Sriastradh_mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index,
933464ebd5Sriastradh                                 GLfloat x, GLfloat y, GLfloat z, GLfloat w);
943464ebd5Sriastradh
953464ebd5Sriastradh
967ec681f3Smrgextern void GLAPIENTRY
977ec681f3Smrg_mesa_NamedProgramLocalParameter4fvEXT(GLuint program, GLenum target,
987ec681f3Smrg                                       GLuint index, const GLfloat *params);
997ec681f3Smrg
1007ec681f3Smrgextern void GLAPIENTRY
1017ec681f3Smrg_mesa_NamedProgramLocalParameter4dEXT(GLuint program, GLenum target,
1027ec681f3Smrg                                       GLuint index, GLdouble x, GLdouble y,
1037ec681f3Smrg                                       GLdouble z, GLdouble w);
1047ec681f3Smrg
1057ec681f3Smrgextern void GLAPIENTRY
1067ec681f3Smrg_mesa_NamedProgramLocalParameter4dvEXT(GLuint program, GLenum target,
1077ec681f3Smrg                                       GLuint index, const GLdouble *params);
1087ec681f3Smrg
1097ec681f3Smrg
1107ec681f3Smrgextern void GLAPIENTRY
1117ec681f3Smrg_mesa_NamedProgramLocalParameter4fEXT(GLuint program, GLenum target,
1127ec681f3Smrg                                       GLuint index, GLfloat x, GLfloat y,
1137ec681f3Smrg                                       GLfloat z, GLfloat w);
1147ec681f3Smrg
1157ec681f3Smrg
1163464ebd5Sriastradhextern void GLAPIENTRY
1173464ebd5Sriastradh_mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index,
1183464ebd5Sriastradh                                  const GLfloat *params);
1193464ebd5Sriastradh
1203464ebd5Sriastradhextern void GLAPIENTRY
1213464ebd5Sriastradh_mesa_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count,
1223464ebd5Sriastradh				   const GLfloat *params);
1233464ebd5Sriastradh
1247ec681f3Smrgextern void GLAPIENTRY
1257ec681f3Smrg_mesa_NamedProgramLocalParameters4fvEXT(GLuint program, GLenum target, GLuint index,
1267ec681f3Smrg                                        GLsizei count, const GLfloat *params);
1273464ebd5Sriastradh
1283464ebd5Sriastradhextern void GLAPIENTRY
1293464ebd5Sriastradh_mesa_GetProgramEnvParameterdvARB(GLenum target, GLuint index,
1303464ebd5Sriastradh                                  GLdouble *params);
1313464ebd5Sriastradh
1323464ebd5Sriastradh
1333464ebd5Sriastradhextern void GLAPIENTRY
1343464ebd5Sriastradh_mesa_GetProgramEnvParameterfvARB(GLenum target, GLuint index,
1353464ebd5Sriastradh                                  GLfloat *params);
1363464ebd5Sriastradh
1373464ebd5Sriastradh
1383464ebd5Sriastradhextern void GLAPIENTRY
1393464ebd5Sriastradh_mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index,
1403464ebd5Sriastradh                                    GLdouble *params);
1413464ebd5Sriastradh
1427ec681f3Smrgextern void GLAPIENTRY
1437ec681f3Smrg_mesa_GetNamedProgramLocalParameterdvEXT(GLuint program, GLenum target,
1447ec681f3Smrg                                         GLuint index, GLdouble *params);
1453464ebd5Sriastradh
1463464ebd5Sriastradhextern void GLAPIENTRY
1477ec681f3Smrg_mesa_GetProgramLocalParameterfvARB(GLenum target, GLuint index,
1483464ebd5Sriastradh                                    GLfloat *params);
1493464ebd5Sriastradh
1507ec681f3Smrgextern void GLAPIENTRY
1517ec681f3Smrg_mesa_GetNamedProgramLocalParameterfvEXT(GLuint program, GLenum target,
1527ec681f3Smrg                                         GLuint index, GLfloat *params);
1533464ebd5Sriastradh
1543464ebd5Sriastradhextern void GLAPIENTRY
1553464ebd5Sriastradh_mesa_GetProgramivARB(GLenum target, GLenum pname, GLint *params);
1563464ebd5Sriastradh
1577ec681f3Smrgextern void GLAPIENTRY
1587ec681f3Smrg_mesa_GetNamedProgramivEXT(GLuint program, GLenum target, GLenum pname,
1597ec681f3Smrg                           GLint *params);
1603464ebd5Sriastradh
1613464ebd5Sriastradhextern void GLAPIENTRY
1623464ebd5Sriastradh_mesa_GetProgramStringARB(GLenum target, GLenum pname, GLvoid *string);
1633464ebd5Sriastradh
1647ec681f3Smrgextern void GLAPIENTRY
1657ec681f3Smrg_mesa_GetNamedProgramStringEXT(GLuint program, GLenum target,
1667ec681f3Smrg                               GLenum pname, GLvoid *string);
1673464ebd5Sriastradh
1683464ebd5Sriastradh#endif
169