arbprogram.h revision af69d88d
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
513464ebd5Sriastradh
523464ebd5Sriastradhextern void GLAPIENTRY
533464ebd5Sriastradh_mesa_ProgramEnvParameter4dARB(GLenum target, GLuint index,
543464ebd5Sriastradh                               GLdouble x, GLdouble y, GLdouble z, GLdouble w);
553464ebd5Sriastradh
563464ebd5Sriastradh
573464ebd5Sriastradhextern void GLAPIENTRY
583464ebd5Sriastradh_mesa_ProgramEnvParameter4dvARB(GLenum target, GLuint index,
593464ebd5Sriastradh                                const GLdouble *params);
603464ebd5Sriastradh
613464ebd5Sriastradh
623464ebd5Sriastradhextern void GLAPIENTRY
633464ebd5Sriastradh_mesa_ProgramEnvParameter4fARB(GLenum target, GLuint index,
643464ebd5Sriastradh                               GLfloat x, GLfloat y, GLfloat z, GLfloat w);
653464ebd5Sriastradh
663464ebd5Sriastradh
673464ebd5Sriastradhextern void GLAPIENTRY
683464ebd5Sriastradh_mesa_ProgramEnvParameter4fvARB(GLenum target, GLuint index,
693464ebd5Sriastradh                                const GLfloat *params);
703464ebd5Sriastradh
713464ebd5Sriastradh
723464ebd5Sriastradhextern void GLAPIENTRY
733464ebd5Sriastradh_mesa_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count,
743464ebd5Sriastradh				 const GLfloat *params);
753464ebd5Sriastradh
763464ebd5Sriastradh
773464ebd5Sriastradhextern void GLAPIENTRY
783464ebd5Sriastradh_mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index,
793464ebd5Sriastradh                                 GLdouble x, GLdouble y,
803464ebd5Sriastradh                                 GLdouble z, GLdouble w);
813464ebd5Sriastradh
823464ebd5Sriastradh
833464ebd5Sriastradhextern void GLAPIENTRY
843464ebd5Sriastradh_mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index,
853464ebd5Sriastradh                                  const GLdouble *params);
863464ebd5Sriastradh
873464ebd5Sriastradh
883464ebd5Sriastradhextern void GLAPIENTRY
893464ebd5Sriastradh_mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index,
903464ebd5Sriastradh                                 GLfloat x, GLfloat y, GLfloat z, GLfloat w);
913464ebd5Sriastradh
923464ebd5Sriastradh
933464ebd5Sriastradhextern void GLAPIENTRY
943464ebd5Sriastradh_mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index,
953464ebd5Sriastradh                                  const GLfloat *params);
963464ebd5Sriastradh
973464ebd5Sriastradh
983464ebd5Sriastradhextern void GLAPIENTRY
993464ebd5Sriastradh_mesa_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count,
1003464ebd5Sriastradh				   const GLfloat *params);
1013464ebd5Sriastradh
1023464ebd5Sriastradh
1033464ebd5Sriastradhextern void GLAPIENTRY
1043464ebd5Sriastradh_mesa_GetProgramEnvParameterdvARB(GLenum target, GLuint index,
1053464ebd5Sriastradh                                  GLdouble *params);
1063464ebd5Sriastradh
1073464ebd5Sriastradh
1083464ebd5Sriastradhextern void GLAPIENTRY
1093464ebd5Sriastradh_mesa_GetProgramEnvParameterfvARB(GLenum target, GLuint index,
1103464ebd5Sriastradh                                  GLfloat *params);
1113464ebd5Sriastradh
1123464ebd5Sriastradh
1133464ebd5Sriastradhextern void GLAPIENTRY
1143464ebd5Sriastradh_mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index,
1153464ebd5Sriastradh                                    GLdouble *params);
1163464ebd5Sriastradh
1173464ebd5Sriastradh
1183464ebd5Sriastradhextern void GLAPIENTRY
1193464ebd5Sriastradh_mesa_GetProgramLocalParameterfvARB(GLenum target, GLuint index,
1203464ebd5Sriastradh                                    GLfloat *params);
1213464ebd5Sriastradh
1223464ebd5Sriastradh
1233464ebd5Sriastradhextern void GLAPIENTRY
1243464ebd5Sriastradh_mesa_GetProgramivARB(GLenum target, GLenum pname, GLint *params);
1253464ebd5Sriastradh
1263464ebd5Sriastradh
1273464ebd5Sriastradhextern void GLAPIENTRY
1283464ebd5Sriastradh_mesa_GetProgramStringARB(GLenum target, GLenum pname, GLvoid *string);
1293464ebd5Sriastradh
1303464ebd5Sriastradh
1313464ebd5Sriastradh#endif
132