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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLEnableVertexAttribArrayProc)(GrGL
uint index); | 87 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLEnableVertexAttribArrayProc)(GrGL
uint index); |
88 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLEndQueryProc)(GrGLenum target); | 88 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLEndQueryProc)(GrGLenum target); |
89 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFinishProc)(); | 89 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFinishProc)(); |
90 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFlushProc)(); | 90 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFlushProc)(); |
91 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFramebufferRenderbufferProc)(GrGL
enum target, GrGLenum attachment, GrGLenum renderbuffertarget, GrGLuint renderbu
ffer); | 91 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFramebufferRenderbufferProc)(GrGL
enum target, GrGLenum attachment, GrGLenum renderbuffertarget, GrGLuint renderbu
ffer); |
92 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFramebufferTexture2DProc)(GrGLenu
m target, GrGLenum attachment, GrGLenum textarget, GrGLuint texture, GrGLint lev
el); | 92 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFramebufferTexture2DProc)(GrGLenu
m target, GrGLenum attachment, GrGLenum textarget, GrGLuint texture, GrGLint lev
el); |
93 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFramebufferTexture2DMultisamplePr
oc)(GrGLenum target, GrGLenum attachment, GrGLenum textarget, GrGLuint texture,
GrGLint level, GrGLsizei samples); | 93 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFramebufferTexture2DMultisamplePr
oc)(GrGLenum target, GrGLenum attachment, GrGLenum textarget, GrGLuint texture,
GrGLint level, GrGLsizei samples); |
94 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFrontFaceProc)(GrGLenum mode); | 94 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLFrontFaceProc)(GrGLenum mode); |
95 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenBuffersProc)(GrGLsizei n, GrGL
uint* buffers); | 95 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenBuffersProc)(GrGLsizei n, GrGL
uint* buffers); |
96 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenFramebuffersProc)(GrGLsizei n,
GrGLuint *framebuffers); | 96 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenFramebuffersProc)(GrGLsizei n,
GrGLuint *framebuffers); |
| 97 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenerateMipmapProc)(GrGLenum targ
et); |
97 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenQueriesProc)(GrGLsizei n, GrGL
uint *ids); | 98 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenQueriesProc)(GrGLsizei n, GrGL
uint *ids); |
98 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenRenderbuffersProc)(GrGLsizei n
, GrGLuint *renderbuffers); | 99 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenRenderbuffersProc)(GrGLsizei n
, GrGLuint *renderbuffers); |
99 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenTexturesProc)(GrGLsizei n, GrG
Luint* textures); | 100 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenTexturesProc)(GrGLsizei n, GrG
Luint* textures); |
100 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenVertexArraysProc)(GrGLsizei n,
GrGLuint *arrays); | 101 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGenVertexArraysProc)(GrGLsizei n,
GrGLuint *arrays); |
101 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetBufferParameterivProc)(GrGLenu
m target, GrGLenum pname, GrGLint* params); | 102 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetBufferParameterivProc)(GrGLenu
m target, GrGLenum pname, GrGLint* params); |
102 typedef GrGLenum (GR_GL_FUNCTION_TYPE* GrGLGetErrorProc)(); | 103 typedef GrGLenum (GR_GL_FUNCTION_TYPE* GrGLGetErrorProc)(); |
103 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetFramebufferAttachmentParameter
ivProc)(GrGLenum target, GrGLenum attachment, GrGLenum pname, GrGLint* params); | 104 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetFramebufferAttachmentParameter
ivProc)(GrGLenum target, GrGLenum attachment, GrGLenum pname, GrGLint* params); |
104 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetIntegervProc)(GrGLenum pname,
GrGLint* params); | 105 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetIntegervProc)(GrGLenum pname,
GrGLint* params); |
105 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetProgramInfoLogProc)(GrGLuint p
rogram, GrGLsizei bufsize, GrGLsizei* length, char* infolog); | 106 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetProgramInfoLogProc)(GrGLuint p
rogram, GrGLsizei bufsize, GrGLsizei* length, char* infolog); |
106 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetProgramivProc)(GrGLuint progra
m, GrGLenum pname, GrGLint* params); | 107 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetProgramivProc)(GrGLuint progra
m, GrGLenum pname, GrGLint* params); |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathColorGenfvProc)(GrGLenum c
olor, GrGLenum pname, GrGLfloat *value); | 222 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathColorGenfvProc)(GrGLenum c
olor, GrGLenum pname, GrGLfloat *value); |
222 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathTexGenivProc)(GrGLenum tex
CoordSet, GrGLenum pname, GrGLint *value); | 223 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathTexGenivProc)(GrGLenum tex
CoordSet, GrGLenum pname, GrGLint *value); |
223 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathTexGenfvProc)(GrGLenum tex
CoordSet, GrGLenum pname, GrGLfloat *value); | 224 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathTexGenfvProc)(GrGLenum tex
CoordSet, GrGLenum pname, GrGLfloat *value); |
224 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLIsPointInFillPathProc)(GrGLuin
t path, GrGLuint mask, GrGLfloat x, GrGLfloat y); | 225 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLIsPointInFillPathProc)(GrGLuin
t path, GrGLuint mask, GrGLfloat x, GrGLfloat y); |
225 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLIsPointInStrokePathProc)(GrGLu
int path, GrGLfloat x, GrGLfloat y); | 226 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLIsPointInStrokePathProc)(GrGLu
int path, GrGLfloat x, GrGLfloat y); |
226 typedef GrGLfloat (GR_GL_FUNCTION_TYPE* GrGLGetPathLengthProc)(GrGLuint path
, GrGLsizei startSegment, GrGLsizei numSegments); | 227 typedef GrGLfloat (GR_GL_FUNCTION_TYPE* GrGLGetPathLengthProc)(GrGLuint path
, GrGLsizei startSegment, GrGLsizei numSegments); |
227 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLPointAlongPathProc)(GrGLuint p
ath, GrGLsizei startSegment, GrGLsizei numSegments, GrGLfloat distance, GrGLfloa
t *x, GrGLfloat *y, GrGLfloat *tangentX, GrGLfloat *tangentY); | 228 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLPointAlongPathProc)(GrGLuint p
ath, GrGLsizei startSegment, GrGLsizei numSegments, GrGLfloat distance, GrGLfloa
t *x, GrGLfloat *y, GrGLfloat *tangentX, GrGLfloat *tangentY); |
228 } // extern "C" | 229 } // extern "C" |
229 | 230 |
230 #endif | 231 #endif |
OLD | NEW |