2 * Mesa 3-D graphics library
4 * Copyright (C) 2010 VMware, Inc. All Rights Reserved.
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
13 * The above copyright notice and this permission notice shall be included
14 * in all copies or substantial portions of the Software.
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 extern void GLAPIENTRY
30 _mesa_Uniform1fARB(GLint
, GLfloat
);
32 extern void GLAPIENTRY
33 _mesa_Uniform2fARB(GLint
, GLfloat
, GLfloat
);
35 extern void GLAPIENTRY
36 _mesa_Uniform3fARB(GLint
, GLfloat
, GLfloat
, GLfloat
);
38 extern void GLAPIENTRY
39 _mesa_Uniform4fARB(GLint
, GLfloat
, GLfloat
, GLfloat
, GLfloat
);
41 extern void GLAPIENTRY
42 _mesa_Uniform1iARB(GLint
, GLint
);
44 extern void GLAPIENTRY
45 _mesa_Uniform2iARB(GLint
, GLint
, GLint
);
47 extern void GLAPIENTRY
48 _mesa_Uniform3iARB(GLint
, GLint
, GLint
, GLint
);
50 extern void GLAPIENTRY
51 _mesa_Uniform4iARB(GLint
, GLint
, GLint
, GLint
, GLint
);
53 extern void GLAPIENTRY
54 _mesa_Uniform1fvARB(GLint
, GLsizei
, const GLfloat
*);
56 extern void GLAPIENTRY
57 _mesa_Uniform2fvARB(GLint
, GLsizei
, const GLfloat
*);
59 extern void GLAPIENTRY
60 _mesa_Uniform3fvARB(GLint
, GLsizei
, const GLfloat
*);
62 extern void GLAPIENTRY
63 _mesa_Uniform4fvARB(GLint
, GLsizei
, const GLfloat
*);
65 extern void GLAPIENTRY
66 _mesa_Uniform1ivARB(GLint
, GLsizei
, const GLint
*);
68 extern void GLAPIENTRY
69 _mesa_Uniform2ivARB(GLint
, GLsizei
, const GLint
*);
71 extern void GLAPIENTRY
72 _mesa_Uniform3ivARB(GLint
, GLsizei
, const GLint
*);
74 extern void GLAPIENTRY
75 _mesa_Uniform4ivARB(GLint
, GLsizei
, const GLint
*);
77 extern void GLAPIENTRY
78 _mesa_Uniform1ui(GLint location
, GLuint v0
);
80 extern void GLAPIENTRY
81 _mesa_Uniform2ui(GLint location
, GLuint v0
, GLuint v1
);
83 extern void GLAPIENTRY
84 _mesa_Uniform3ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
);
86 extern void GLAPIENTRY
87 _mesa_Uniform4ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
, GLuint v3
);
89 extern void GLAPIENTRY
90 _mesa_Uniform1uiv(GLint location
, GLsizei count
, const GLuint
*value
);
92 extern void GLAPIENTRY
93 _mesa_Uniform2uiv(GLint location
, GLsizei count
, const GLuint
*value
);
95 extern void GLAPIENTRY
96 _mesa_Uniform3uiv(GLint location
, GLsizei count
, const GLuint
*value
);
98 extern void GLAPIENTRY
99 _mesa_Uniform4uiv(GLint location
, GLsizei count
, const GLuint
*value
);
102 extern void GLAPIENTRY
103 _mesa_UniformMatrix2fvARB(GLint
, GLsizei
, GLboolean
, const GLfloat
*);
105 extern void GLAPIENTRY
106 _mesa_UniformMatrix3fvARB(GLint
, GLsizei
, GLboolean
, const GLfloat
*);
108 extern void GLAPIENTRY
109 _mesa_UniformMatrix4fvARB(GLint
, GLsizei
, GLboolean
, const GLfloat
*);
111 extern void GLAPIENTRY
112 _mesa_UniformMatrix2x3fv(GLint location
, GLsizei count
, GLboolean transpose
,
113 const GLfloat
*value
);
115 extern void GLAPIENTRY
116 _mesa_UniformMatrix3x2fv(GLint location
, GLsizei count
, GLboolean transpose
,
117 const GLfloat
*value
);
119 extern void GLAPIENTRY
120 _mesa_UniformMatrix2x4fv(GLint location
, GLsizei count
, GLboolean transpose
,
121 const GLfloat
*value
);
123 extern void GLAPIENTRY
124 _mesa_UniformMatrix4x2fv(GLint location
, GLsizei count
, GLboolean transpose
,
125 const GLfloat
*value
);
127 extern void GLAPIENTRY
128 _mesa_UniformMatrix3x4fv(GLint location
, GLsizei count
, GLboolean transpose
,
129 const GLfloat
*value
);
131 extern void GLAPIENTRY
132 _mesa_UniformMatrix4x3fv(GLint location
, GLsizei count
, GLboolean transpose
,
133 const GLfloat
*value
);
136 extern void GLAPIENTRY
137 _mesa_GetActiveUniformARB(GLhandleARB
, GLuint
, GLsizei
, GLsizei
*,
138 GLint
*, GLenum
*, GLcharARB
*);
140 extern void GLAPIENTRY
141 _mesa_GetUniformfvARB(GLhandleARB
, GLint
, GLfloat
*);
143 extern void GLAPIENTRY
144 _mesa_GetUniformivARB(GLhandleARB
, GLint
, GLint
*);
146 extern GLint GLAPIENTRY
147 _mesa_GetUniformLocationARB(GLhandleARB
, const GLcharARB
*);
152 _mesa_update_shader_textures_used(struct gl_program
*prog
);
156 _mesa_init_shader_uniform_dispatch(struct _glapi_table
*exec
);
158 #endif /* UNIFORMS_H */