ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

shaders.h
Go to the documentation of this file.
00001 /*
00002  * Mesa 3-D graphics library
00003  * Version:  6.5.3
00004  *
00005  * Copyright (C) 2004-2007  Brian Paul   All Rights Reserved.
00006  *
00007  * Permission is hereby granted, free of charge, to any person obtaining a
00008  * copy of this software and associated documentation files (the "Software"),
00009  * to deal in the Software without restriction, including without limitation
00010  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
00011  * and/or sell copies of the Software, and to permit persons to whom the
00012  * Software is furnished to do so, subject to the following conditions:
00013  *
00014  * The above copyright notice and this permission notice shall be included
00015  * in all copies or substantial portions of the Software.
00016  *
00017  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00018  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00019  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
00020  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00021  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00022  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00023  */
00024 
00025 
00026 #ifndef SHADERS_H
00027 #define SHADERS_H
00028 
00029 
00030 #include "glheader.h"
00031 #include "mtypes.h"
00032 
00033 
00034 extern void GLAPIENTRY
00035 _mesa_DeleteObjectARB(GLhandleARB obj);
00036 
00037 extern GLhandleARB GLAPIENTRY
00038 _mesa_GetHandleARB(GLenum pname);
00039 
00040 extern void GLAPIENTRY
00041 _mesa_DetachObjectARB (GLhandleARB, GLhandleARB);
00042 
00043 extern GLhandleARB GLAPIENTRY
00044 _mesa_CreateShaderObjectARB (GLenum);
00045 
00046 extern void GLAPIENTRY
00047 _mesa_ShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *);
00048 
00049 extern void  GLAPIENTRY
00050 _mesa_CompileShaderARB (GLhandleARB);
00051 
00052 extern GLhandleARB GLAPIENTRY
00053 _mesa_CreateProgramObjectARB (void);
00054 
00055 extern void GLAPIENTRY
00056 _mesa_AttachObjectARB (GLhandleARB, GLhandleARB);
00057 
00058 extern void GLAPIENTRY
00059 _mesa_LinkProgramARB (GLhandleARB);
00060 
00061 extern void GLAPIENTRY
00062 _mesa_UseProgramObjectARB (GLhandleARB);
00063 
00064 extern void GLAPIENTRY
00065 _mesa_ValidateProgramARB (GLhandleARB);
00066 
00067 extern void GLAPIENTRY
00068 _mesa_Uniform1fARB (GLint, GLfloat);
00069 
00070 extern void GLAPIENTRY
00071 _mesa_Uniform2fARB (GLint, GLfloat, GLfloat);
00072 
00073 extern void GLAPIENTRY
00074 _mesa_Uniform3fARB (GLint, GLfloat, GLfloat, GLfloat);
00075 
00076 extern void GLAPIENTRY
00077 _mesa_Uniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
00078 
00079 extern void GLAPIENTRY
00080 _mesa_Uniform1iARB (GLint, GLint);
00081 
00082 extern void GLAPIENTRY
00083 _mesa_Uniform2iARB (GLint, GLint, GLint);
00084 
00085 extern void GLAPIENTRY
00086 _mesa_Uniform3iARB (GLint, GLint, GLint, GLint);
00087 
00088 extern void GLAPIENTRY
00089 _mesa_Uniform4iARB (GLint, GLint, GLint, GLint, GLint);
00090 
00091 extern void GLAPIENTRY
00092 _mesa_Uniform1fvARB (GLint, GLsizei, const GLfloat *);
00093 
00094 extern void GLAPIENTRY
00095 _mesa_Uniform2fvARB (GLint, GLsizei, const GLfloat *);
00096 
00097 extern void GLAPIENTRY
00098 _mesa_Uniform3fvARB (GLint, GLsizei, const GLfloat *);
00099 
00100 extern void GLAPIENTRY
00101 _mesa_Uniform4fvARB (GLint, GLsizei, const GLfloat *);
00102 
00103 extern void GLAPIENTRY
00104 _mesa_Uniform1ivARB (GLint, GLsizei, const GLint *);
00105 
00106 extern void GLAPIENTRY
00107 _mesa_Uniform2ivARB (GLint, GLsizei, const GLint *);
00108 
00109 extern void GLAPIENTRY
00110 _mesa_Uniform3ivARB (GLint, GLsizei, const GLint *);
00111 
00112 extern void GLAPIENTRY
00113 _mesa_Uniform4ivARB (GLint, GLsizei, const GLint *);
00114 
00115 extern void GLAPIENTRY
00116 _mesa_UniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
00117 
00118 extern void GLAPIENTRY
00119 _mesa_UniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
00120 
00121 extern void GLAPIENTRY
00122 _mesa_UniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
00123 
00124 extern void GLAPIENTRY
00125 _mesa_GetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *);
00126 
00127 extern void GLAPIENTRY
00128 _mesa_GetObjectParameterivARB (GLhandleARB, GLenum, GLint *);
00129 
00130 extern void GLAPIENTRY
00131 _mesa_GetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
00132 
00133 extern void GLAPIENTRY
00134 _mesa_GetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
00135 
00136 extern GLint GLAPIENTRY
00137 _mesa_GetUniformLocationARB (GLhandleARB, const GLcharARB *);
00138 
00139 extern void GLAPIENTRY
00140 _mesa_GetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
00141 
00142 extern void GLAPIENTRY
00143 _mesa_GetUniformfvARB (GLhandleARB, GLint, GLfloat *);
00144 
00145 extern void GLAPIENTRY
00146 _mesa_GetUniformivARB (GLhandleARB, GLint, GLint *);
00147 
00148 extern void GLAPIENTRY
00149 _mesa_GetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
00150 
00151 #if FEATURE_ARB_vertex_shader
00152 
00153 extern void GLAPIENTRY
00154 _mesa_BindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *);
00155 
00156 extern void GLAPIENTRY
00157 _mesa_GetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
00158 
00159 extern GLint GLAPIENTRY
00160 _mesa_GetAttribLocationARB (GLhandleARB, const GLcharARB *);
00161 
00162 #endif /* FEATURE_ARB_vertex_shader */
00163 
00164 
00165 /* 2.0 */
00166 extern void GLAPIENTRY
00167 _mesa_AttachShader(GLuint program, GLuint shader);
00168 
00169 extern GLuint GLAPIENTRY
00170 _mesa_CreateShader(GLenum);
00171 
00172 extern GLuint GLAPIENTRY
00173 _mesa_CreateProgram(void);
00174 
00175 extern void GLAPIENTRY
00176 _mesa_DeleteProgram(GLuint program);
00177 
00178 extern void GLAPIENTRY
00179 _mesa_DeleteShader(GLuint shader);
00180 
00181 extern void GLAPIENTRY
00182 _mesa_DetachShader(GLuint program, GLuint shader);
00183 
00184 extern void GLAPIENTRY
00185 _mesa_GetAttachedShaders(GLuint program, GLsizei maxCount,
00186                          GLsizei *count, GLuint *obj);
00187 
00188 extern void GLAPIENTRY
00189 _mesa_GetProgramiv(GLuint program, GLenum pname, GLint *params);
00190 
00191 extern void GLAPIENTRY
00192 _mesa_GetProgramInfoLog(GLuint program, GLsizei bufSize,
00193                         GLsizei *length, GLchar *infoLog);
00194 
00195 extern void GLAPIENTRY
00196 _mesa_GetShaderiv(GLuint shader, GLenum pname, GLint *params);
00197 
00198 extern void GLAPIENTRY
00199 _mesa_GetShaderInfoLog(GLuint shader, GLsizei bufSize,
00200                        GLsizei *length, GLchar *infoLog);
00201 
00202 extern GLboolean GLAPIENTRY
00203 _mesa_IsProgram(GLuint program);
00204 
00205 extern GLboolean GLAPIENTRY
00206 _mesa_IsShader(GLuint shader);
00207 
00208 
00209 
00210 /* 2.1 */
00211 extern void GLAPIENTRY
00212 _mesa_UniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose,
00213                          const GLfloat *value);
00214 
00215 extern void GLAPIENTRY
00216 _mesa_UniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose,
00217                          const GLfloat *value);
00218 
00219 extern void GLAPIENTRY
00220 _mesa_UniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose,
00221                          const GLfloat *value);
00222 
00223 extern void GLAPIENTRY
00224 _mesa_UniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose,
00225                          const GLfloat *value);
00226 
00227 extern void GLAPIENTRY
00228 _mesa_UniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose,
00229                          const GLfloat *value);
00230 
00231 extern void GLAPIENTRY
00232 _mesa_UniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose,
00233                          const GLfloat *value);
00234 
00235 
00236 #endif /* SHADERS_H */

Generated on Mon May 28 2012 04:20:08 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.