OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #ifndef GrGLFunctions_DEFINED | 9 #ifndef GrGLFunctions_DEFINED |
10 #define GrGLFunctions_DEFINED | 10 #define GrGLFunctions_DEFINED |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform4iProc)(GrGLint location,
GrGLint v0, GrGLint v1, GrGLint v2, GrGLint v3); | 201 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform4iProc)(GrGLint location,
GrGLint v0, GrGLint v1, GrGLint v2, GrGLint v3); |
202 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform4fvProc)(GrGLint location,
GrGLsizei count, const GrGLfloat* v); | 202 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform4fvProc)(GrGLint location,
GrGLsizei count, const GrGLfloat* v); |
203 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform4ivProc)(GrGLint location,
GrGLsizei count, const GrGLint* v); | 203 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform4ivProc)(GrGLint location,
GrGLsizei count, const GrGLint* v); |
204 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniformMatrix2fvProc)(GrGLint loc
ation, GrGLsizei count, GrGLboolean transpose, const GrGLfloat* value); | 204 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniformMatrix2fvProc)(GrGLint loc
ation, GrGLsizei count, GrGLboolean transpose, const GrGLfloat* value); |
205 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniformMatrix3fvProc)(GrGLint loc
ation, GrGLsizei count, GrGLboolean transpose, const GrGLfloat* value); | 205 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniformMatrix3fvProc)(GrGLint loc
ation, GrGLsizei count, GrGLboolean transpose, const GrGLfloat* value); |
206 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniformMatrix4fvProc)(GrGLint loc
ation, GrGLsizei count, GrGLboolean transpose, const GrGLfloat* value); | 206 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniformMatrix4fvProc)(GrGLint loc
ation, GrGLsizei count, GrGLboolean transpose, const GrGLfloat* value); |
207 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLUnmapBufferProc)(GrGLenum targ
et); | 207 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLUnmapBufferProc)(GrGLenum targ
et); |
208 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUnmapBufferSubDataProc)(const GrG
Lvoid* mem); | 208 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUnmapBufferSubDataProc)(const GrG
Lvoid* mem); |
209 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUnmapTexSubImage2DProc)(const GrG
Lvoid* mem); | 209 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUnmapTexSubImage2DProc)(const GrG
Lvoid* mem); |
210 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUseProgramProc)(GrGLuint program)
; | 210 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUseProgramProc)(GrGLuint program)
; |
| 211 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttrib1fProc)(GrGLuint indx
, const GrGLfloat value); |
| 212 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttrib2fvProc)(GrGLuint ind
x, const GrGLfloat* values); |
| 213 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttrib3fvProc)(GrGLuint ind
x, const GrGLfloat* values); |
211 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttrib4fvProc)(GrGLuint ind
x, const GrGLfloat* values); | 214 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttrib4fvProc)(GrGLuint ind
x, const GrGLfloat* values); |
212 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttribPointerProc)(GrGLuint
indx, GrGLint size, GrGLenum type, GrGLboolean normalized, GrGLsizei stride, co
nst GrGLvoid* ptr); | 215 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttribPointerProc)(GrGLuint
indx, GrGLint size, GrGLenum type, GrGLboolean normalized, GrGLsizei stride, co
nst GrGLvoid* ptr); |
213 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLViewportProc)(GrGLint x, GrGLint
y, GrGLsizei width, GrGLsizei height); | 216 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLViewportProc)(GrGLint x, GrGLint
y, GrGLsizei width, GrGLsizei height); |
214 | 217 |
215 // Experimental: Functions for GL_NV_path_rendering. These will be | 218 // Experimental: Functions for GL_NV_path_rendering. These will be |
216 // alphabetized with the above functions once this is fully supported | 219 // alphabetized with the above functions once this is fully supported |
217 // (and functions we are unlikely to use will possibly be omitted). | 220 // (and functions we are unlikely to use will possibly be omitted). |
218 // EXT_direct_state_access | 221 // EXT_direct_state_access |
219 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLMatrixLoadfProc)(GrGLenum matrixM
ode, const GrGLfloat* m); | 222 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLMatrixLoadfProc)(GrGLenum matrixM
ode, const GrGLfloat* m); |
220 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLMatrixLoadIdentityProc)(GrGLenum)
; | 223 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLMatrixLoadIdentityProc)(GrGLenum)
; |
(...skipping 29 matching lines...) Expand all Loading... |
250 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverFillPathProc)(GrG
Luint path, GrGLenum fillMode, GrGLuint mask, GrGLenum coverMode); | 253 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverFillPathProc)(GrG
Luint path, GrGLenum fillMode, GrGLuint mask, GrGLenum coverMode); |
251 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverStrokePathProc)(G
rGLuint path, GrGLint reference, GrGLuint mask, GrGLenum coverMode); | 254 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverStrokePathProc)(G
rGLuint path, GrGLint reference, GrGLuint mask, GrGLenum coverMode); |
252 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverFillPathInstanced
Proc)(GrGLsizei numPaths, GrGLenum pathNameType, const GrGLvoid *paths, GrGLuint
pathBase, GrGLenum fillMode, GrGLuint mask, GrGLenum coverMode, GrGLenum transf
ormType, const GrGLfloat *transformValues); | 255 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverFillPathInstanced
Proc)(GrGLsizei numPaths, GrGLenum pathNameType, const GrGLvoid *paths, GrGLuint
pathBase, GrGLenum fillMode, GrGLuint mask, GrGLenum coverMode, GrGLenum transf
ormType, const GrGLfloat *transformValues); |
253 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverStrokePathInstanc
edProc)(GrGLsizei numPaths, GrGLenum pathNameType, const GrGLvoid *paths, GrGLui
nt pathBase, GrGLint reference, GrGLuint mask, GrGLenum coverMode, GrGLenum tran
sformType, const GrGLfloat *transformValues); | 256 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverStrokePathInstanc
edProc)(GrGLsizei numPaths, GrGLenum pathNameType, const GrGLvoid *paths, GrGLui
nt pathBase, GrGLint reference, GrGLuint mask, GrGLenum coverMode, GrGLenum tran
sformType, const GrGLfloat *transformValues); |
254 // NV_path_rendering v1.3 | 257 // NV_path_rendering v1.3 |
255 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLProgramPathFragmentInputGenProc)(
GrGLuint program, GrGLint location, GrGLenum genMode, GrGLint components,const G
rGLfloat *coeffs); | 258 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLProgramPathFragmentInputGenProc)(
GrGLuint program, GrGLint location, GrGLenum genMode, GrGLint components,const G
rGLfloat *coeffs); |
256 typedef GrGLenum (GR_GL_FUNCTION_TYPE* GrGLPathMemoryGlyphIndexArrayProc)(Gr
GLuint firstPathName, GrGLenum fontTarget, GrGLsizeiptr fontSize, const GrGLvoid
*fontData, GrGLsizei faceIndex, GrGLuint firstGlyphIndex, GrGLsizei numGlyphs,
GrGLuint pathParameterTemplate, GrGLfloat emScale); | 259 typedef GrGLenum (GR_GL_FUNCTION_TYPE* GrGLPathMemoryGlyphIndexArrayProc)(Gr
GLuint firstPathName, GrGLenum fontTarget, GrGLsizeiptr fontSize, const GrGLvoid
*fontData, GrGLsizei faceIndex, GrGLuint firstGlyphIndex, GrGLsizei numGlyphs,
GrGLuint pathParameterTemplate, GrGLfloat emScale); |
257 } // extern "C" | 260 } // extern "C" |
258 | 261 |
259 #endif | 262 #endif |
OLD | NEW |