OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 | 9 |
10 #ifndef GrGLInterface_DEFINED | 10 #ifndef GrGLInterface_DEFINED |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 GLPtr<GrGLActiveTextureProc> fActiveTexture; | 139 GLPtr<GrGLActiveTextureProc> fActiveTexture; |
140 GLPtr<GrGLAttachShaderProc> fAttachShader; | 140 GLPtr<GrGLAttachShaderProc> fAttachShader; |
141 GLPtr<GrGLBeginQueryProc> fBeginQuery; | 141 GLPtr<GrGLBeginQueryProc> fBeginQuery; |
142 GLPtr<GrGLBindAttribLocationProc> fBindAttribLocation; | 142 GLPtr<GrGLBindAttribLocationProc> fBindAttribLocation; |
143 GLPtr<GrGLBindBufferProc> fBindBuffer; | 143 GLPtr<GrGLBindBufferProc> fBindBuffer; |
144 GLPtr<GrGLBindFragDataLocationProc> fBindFragDataLocation; | 144 GLPtr<GrGLBindFragDataLocationProc> fBindFragDataLocation; |
145 GLPtr<GrGLBindFragDataLocationIndexedProc> fBindFragDataLocationIndexed; | 145 GLPtr<GrGLBindFragDataLocationIndexedProc> fBindFragDataLocationIndexed; |
146 GLPtr<GrGLBindFramebufferProc> fBindFramebuffer; | 146 GLPtr<GrGLBindFramebufferProc> fBindFramebuffer; |
147 GLPtr<GrGLBindRenderbufferProc> fBindRenderbuffer; | 147 GLPtr<GrGLBindRenderbufferProc> fBindRenderbuffer; |
148 GLPtr<GrGLBindTextureProc> fBindTexture; | 148 GLPtr<GrGLBindTextureProc> fBindTexture; |
| 149 GLPtr<GrGLBindVertexArrayProc> fBindVertexArray; |
149 GLPtr<GrGLBlendColorProc> fBlendColor; | 150 GLPtr<GrGLBlendColorProc> fBlendColor; |
150 GLPtr<GrGLBlendFuncProc> fBlendFunc; | 151 GLPtr<GrGLBlendFuncProc> fBlendFunc; |
151 GLPtr<GrGLBlitFramebufferProc> fBlitFramebuffer; | 152 GLPtr<GrGLBlitFramebufferProc> fBlitFramebuffer; |
152 GLPtr<GrGLBufferDataProc> fBufferData; | 153 GLPtr<GrGLBufferDataProc> fBufferData; |
153 GLPtr<GrGLBufferSubDataProc> fBufferSubData; | 154 GLPtr<GrGLBufferSubDataProc> fBufferSubData; |
154 GLPtr<GrGLCheckFramebufferStatusProc> fCheckFramebufferStatus; | 155 GLPtr<GrGLCheckFramebufferStatusProc> fCheckFramebufferStatus; |
155 GLPtr<GrGLClearProc> fClear; | 156 GLPtr<GrGLClearProc> fClear; |
156 GLPtr<GrGLClearColorProc> fClearColor; | 157 GLPtr<GrGLClearColorProc> fClearColor; |
157 GLPtr<GrGLClearStencilProc> fClearStencil; | 158 GLPtr<GrGLClearStencilProc> fClearStencil; |
158 GLPtr<GrGLColorMaskProc> fColorMask; | 159 GLPtr<GrGLColorMaskProc> fColorMask; |
159 GLPtr<GrGLCompileShaderProc> fCompileShader; | 160 GLPtr<GrGLCompileShaderProc> fCompileShader; |
160 GLPtr<GrGLCompressedTexImage2DProc> fCompressedTexImage2D; | 161 GLPtr<GrGLCompressedTexImage2DProc> fCompressedTexImage2D; |
161 GLPtr<GrGLCreateProgramProc> fCreateProgram; | 162 GLPtr<GrGLCreateProgramProc> fCreateProgram; |
162 GLPtr<GrGLCreateShaderProc> fCreateShader; | 163 GLPtr<GrGLCreateShaderProc> fCreateShader; |
163 GLPtr<GrGLCullFaceProc> fCullFace; | 164 GLPtr<GrGLCullFaceProc> fCullFace; |
164 GLPtr<GrGLDeleteBuffersProc> fDeleteBuffers; | 165 GLPtr<GrGLDeleteBuffersProc> fDeleteBuffers; |
165 GLPtr<GrGLDeleteFramebuffersProc> fDeleteFramebuffers; | 166 GLPtr<GrGLDeleteFramebuffersProc> fDeleteFramebuffers; |
166 GLPtr<GrGLDeleteProgramProc> fDeleteProgram; | 167 GLPtr<GrGLDeleteProgramProc> fDeleteProgram; |
167 GLPtr<GrGLDeleteQueriesProc> fDeleteQueries; | 168 GLPtr<GrGLDeleteQueriesProc> fDeleteQueries; |
168 GLPtr<GrGLDeleteRenderbuffersProc> fDeleteRenderbuffers; | 169 GLPtr<GrGLDeleteRenderbuffersProc> fDeleteRenderbuffers; |
169 GLPtr<GrGLDeleteShaderProc> fDeleteShader; | 170 GLPtr<GrGLDeleteShaderProc> fDeleteShader; |
170 GLPtr<GrGLDeleteTexturesProc> fDeleteTextures; | 171 GLPtr<GrGLDeleteTexturesProc> fDeleteTextures; |
| 172 GLPtr<GrGLDeleteVertexArraysProc> fDeleteVertexArrays; |
171 GLPtr<GrGLDepthMaskProc> fDepthMask; | 173 GLPtr<GrGLDepthMaskProc> fDepthMask; |
172 GLPtr<GrGLDisableProc> fDisable; | 174 GLPtr<GrGLDisableProc> fDisable; |
173 GLPtr<GrGLDisableVertexAttribArrayProc> fDisableVertexAttribArray; | 175 GLPtr<GrGLDisableVertexAttribArrayProc> fDisableVertexAttribArray; |
174 GLPtr<GrGLDrawArraysProc> fDrawArrays; | 176 GLPtr<GrGLDrawArraysProc> fDrawArrays; |
175 GLPtr<GrGLDrawBufferProc> fDrawBuffer; | 177 GLPtr<GrGLDrawBufferProc> fDrawBuffer; |
176 GLPtr<GrGLDrawBuffersProc> fDrawBuffers; | 178 GLPtr<GrGLDrawBuffersProc> fDrawBuffers; |
177 GLPtr<GrGLDrawElementsProc> fDrawElements; | 179 GLPtr<GrGLDrawElementsProc> fDrawElements; |
178 GLPtr<GrGLEnableProc> fEnable; | 180 GLPtr<GrGLEnableProc> fEnable; |
179 GLPtr<GrGLEnableVertexAttribArrayProc> fEnableVertexAttribArray; | 181 GLPtr<GrGLEnableVertexAttribArrayProc> fEnableVertexAttribArray; |
180 GLPtr<GrGLEndQueryProc> fEndQuery; | 182 GLPtr<GrGLEndQueryProc> fEndQuery; |
181 GLPtr<GrGLFinishProc> fFinish; | 183 GLPtr<GrGLFinishProc> fFinish; |
182 GLPtr<GrGLFlushProc> fFlush; | 184 GLPtr<GrGLFlushProc> fFlush; |
183 GLPtr<GrGLFramebufferRenderbufferProc> fFramebufferRenderbuffer; | 185 GLPtr<GrGLFramebufferRenderbufferProc> fFramebufferRenderbuffer; |
184 GLPtr<GrGLFramebufferTexture2DProc> fFramebufferTexture2D; | 186 GLPtr<GrGLFramebufferTexture2DProc> fFramebufferTexture2D; |
185 GLPtr<GrGLFrontFaceProc> fFrontFace; | 187 GLPtr<GrGLFrontFaceProc> fFrontFace; |
186 GLPtr<GrGLGenBuffersProc> fGenBuffers; | 188 GLPtr<GrGLGenBuffersProc> fGenBuffers; |
187 GLPtr<GrGLGenFramebuffersProc> fGenFramebuffers; | 189 GLPtr<GrGLGenFramebuffersProc> fGenFramebuffers; |
188 GLPtr<GrGLGenQueriesProc> fGenQueries; | 190 GLPtr<GrGLGenQueriesProc> fGenQueries; |
189 GLPtr<GrGLGenRenderbuffersProc> fGenRenderbuffers; | 191 GLPtr<GrGLGenRenderbuffersProc> fGenRenderbuffers; |
190 GLPtr<GrGLGenTexturesProc> fGenTextures; | 192 GLPtr<GrGLGenTexturesProc> fGenTextures; |
| 193 GLPtr<GrGLGenVertexArraysProc> fGenVertexArrays; |
191 GLPtr<GrGLGetBufferParameterivProc> fGetBufferParameteriv; | 194 GLPtr<GrGLGetBufferParameterivProc> fGetBufferParameteriv; |
192 GLPtr<GrGLGetErrorProc> fGetError; | 195 GLPtr<GrGLGetErrorProc> fGetError; |
193 GLPtr<GrGLGetFramebufferAttachmentParameterivProc> fGetFramebufferAttachment
Parameteriv; | 196 GLPtr<GrGLGetFramebufferAttachmentParameterivProc> fGetFramebufferAttachment
Parameteriv; |
194 GLPtr<GrGLGetIntegervProc> fGetIntegerv; | 197 GLPtr<GrGLGetIntegervProc> fGetIntegerv; |
195 GLPtr<GrGLGetQueryObjecti64vProc> fGetQueryObjecti64v; | 198 GLPtr<GrGLGetQueryObjecti64vProc> fGetQueryObjecti64v; |
196 GLPtr<GrGLGetQueryObjectivProc> fGetQueryObjectiv; | 199 GLPtr<GrGLGetQueryObjectivProc> fGetQueryObjectiv; |
197 GLPtr<GrGLGetQueryObjectui64vProc> fGetQueryObjectui64v; | 200 GLPtr<GrGLGetQueryObjectui64vProc> fGetQueryObjectui64v; |
198 GLPtr<GrGLGetQueryObjectuivProc> fGetQueryObjectuiv; | 201 GLPtr<GrGLGetQueryObjectuivProc> fGetQueryObjectuiv; |
199 GLPtr<GrGLGetQueryivProc> fGetQueryiv; | 202 GLPtr<GrGLGetQueryivProc> fGetQueryiv; |
200 GLPtr<GrGLGetProgramInfoLogProc> fGetProgramInfoLog; | 203 GLPtr<GrGLGetProgramInfoLogProc> fGetProgramInfoLog; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 | 316 |
314 // Per-GL func callback | 317 // Per-GL func callback |
315 #if GR_GL_PER_GL_FUNC_CALLBACK | 318 #if GR_GL_PER_GL_FUNC_CALLBACK |
316 GrGLInterfaceCallbackProc fCallback; | 319 GrGLInterfaceCallbackProc fCallback; |
317 GrGLInterfaceCallbackData fCallbackData; | 320 GrGLInterfaceCallbackData fCallbackData; |
318 #endif | 321 #endif |
319 | 322 |
320 }; | 323 }; |
321 | 324 |
322 #endif | 325 #endif |
OLD | NEW |