Michal Krol | 157ec8b | 2004-03-10 18:02:01 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Mesa 3-D graphics library |
| 3 | * Version: 5.1 |
| 4 | * |
| 5 | * Copyright (C) 1999-2003 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 | extern void GLAPIENTRY |
| 31 | _mesa_EnableVertexAttribArrayARB(GLuint index); |
| 32 | |
| 33 | |
| 34 | extern void GLAPIENTRY |
| 35 | _mesa_DisableVertexAttribArrayARB(GLuint index); |
| 36 | |
| 37 | |
| 38 | extern void GLAPIENTRY |
| 39 | _mesa_GetVertexAttribdvARB(GLuint index, GLenum pname, GLdouble *params); |
| 40 | |
| 41 | |
| 42 | extern void GLAPIENTRY |
| 43 | _mesa_GetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params); |
| 44 | |
| 45 | |
| 46 | extern void GLAPIENTRY |
| 47 | _mesa_GetVertexAttribivARB(GLuint index, GLenum pname, GLint *params); |
| 48 | |
| 49 | |
| 50 | extern void GLAPIENTRY |
| 51 | _mesa_GetVertexAttribPointervARB(GLuint index, GLenum pname, GLvoid **pointer); |
| 52 | |
| 53 | |
| 54 | extern void GLAPIENTRY |
| 55 | _mesa_ProgramStringARB(GLenum target, GLenum format, GLsizei len, |
| 56 | const GLvoid *string); |
| 57 | |
| 58 | |
| 59 | extern void GLAPIENTRY |
| 60 | _mesa_ProgramEnvParameter4dARB(GLenum target, GLuint index, |
| 61 | GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
| 62 | |
| 63 | |
| 64 | extern void GLAPIENTRY |
| 65 | _mesa_ProgramEnvParameter4dvARB(GLenum target, GLuint index, |
| 66 | const GLdouble *params); |
| 67 | |
| 68 | |
| 69 | extern void GLAPIENTRY |
| 70 | _mesa_ProgramEnvParameter4fARB(GLenum target, GLuint index, |
| 71 | GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 72 | |
| 73 | |
| 74 | extern void GLAPIENTRY |
| 75 | _mesa_ProgramEnvParameter4fvARB(GLenum target, GLuint index, |
| 76 | const GLfloat *params); |
| 77 | |
| 78 | |
| 79 | extern void GLAPIENTRY |
Ian Romanick | 8c41c75 | 2006-08-15 16:47:34 +0000 | [diff] [blame^] | 80 | _mesa_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count, |
| 81 | const GLfloat *params); |
| 82 | |
| 83 | |
| 84 | extern void GLAPIENTRY |
Michal Krol | 157ec8b | 2004-03-10 18:02:01 +0000 | [diff] [blame] | 85 | _mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index, |
| 86 | GLdouble x, GLdouble y, |
| 87 | GLdouble z, GLdouble w); |
| 88 | |
| 89 | |
| 90 | extern void GLAPIENTRY |
| 91 | _mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index, |
| 92 | const GLdouble *params); |
| 93 | |
| 94 | |
| 95 | extern void GLAPIENTRY |
| 96 | _mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index, |
| 97 | GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 98 | |
| 99 | |
| 100 | extern void GLAPIENTRY |
| 101 | _mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index, |
| 102 | const GLfloat *params); |
| 103 | |
| 104 | |
| 105 | extern void GLAPIENTRY |
Ian Romanick | 8c41c75 | 2006-08-15 16:47:34 +0000 | [diff] [blame^] | 106 | _mesa_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count, |
| 107 | const GLfloat *params); |
| 108 | |
| 109 | |
| 110 | extern void GLAPIENTRY |
Michal Krol | 157ec8b | 2004-03-10 18:02:01 +0000 | [diff] [blame] | 111 | _mesa_GetProgramEnvParameterdvARB(GLenum target, GLuint index, |
| 112 | GLdouble *params); |
| 113 | |
| 114 | |
| 115 | extern void GLAPIENTRY |
| 116 | _mesa_GetProgramEnvParameterfvARB(GLenum target, GLuint index, |
| 117 | GLfloat *params); |
| 118 | |
| 119 | |
| 120 | extern void GLAPIENTRY |
| 121 | _mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index, |
| 122 | GLdouble *params); |
| 123 | |
| 124 | |
| 125 | extern void GLAPIENTRY |
| 126 | _mesa_GetProgramLocalParameterfvARB(GLenum target, GLuint index, |
| 127 | GLfloat *params); |
| 128 | |
| 129 | |
| 130 | extern void GLAPIENTRY |
| 131 | _mesa_GetProgramivARB(GLenum target, GLenum pname, GLint *params); |
| 132 | |
| 133 | |
| 134 | extern void GLAPIENTRY |
| 135 | _mesa_GetProgramStringARB(GLenum target, GLenum pname, GLvoid *string); |
| 136 | |
| 137 | |
| 138 | #endif |