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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 GLPtr<GrGLGetProgramivProc> fGetProgramiv; | 213 GLPtr<GrGLGetProgramivProc> fGetProgramiv; |
214 GLPtr<GrGLGetRenderbufferParameterivProc> fGetRenderbufferParameteriv; | 214 GLPtr<GrGLGetRenderbufferParameterivProc> fGetRenderbufferParameteriv; |
215 GLPtr<GrGLGetShaderInfoLogProc> fGetShaderInfoLog; | 215 GLPtr<GrGLGetShaderInfoLogProc> fGetShaderInfoLog; |
216 GLPtr<GrGLGetShaderivProc> fGetShaderiv; | 216 GLPtr<GrGLGetShaderivProc> fGetShaderiv; |
217 GLPtr<GrGLGetStringProc> fGetString; | 217 GLPtr<GrGLGetStringProc> fGetString; |
218 GLPtr<GrGLGetStringiProc> fGetStringi; | 218 GLPtr<GrGLGetStringiProc> fGetStringi; |
219 GLPtr<GrGLGetTexLevelParameterivProc> fGetTexLevelParameteriv; | 219 GLPtr<GrGLGetTexLevelParameterivProc> fGetTexLevelParameteriv; |
220 GLPtr<GrGLGetUniformLocationProc> fGetUniformLocation; | 220 GLPtr<GrGLGetUniformLocationProc> fGetUniformLocation; |
221 GLPtr<GrGLLineWidthProc> fLineWidth; | 221 GLPtr<GrGLLineWidthProc> fLineWidth; |
222 GLPtr<GrGLLinkProgramProc> fLinkProgram; | 222 GLPtr<GrGLLinkProgramProc> fLinkProgram; |
| 223 GLPtr<GrGLLoadIdentityProc> fLoadIdentity; |
| 224 GLPtr<GrGLLoadMatrixfProc> fLoadMatrixf; |
223 GLPtr<GrGLMapBufferProc> fMapBuffer; | 225 GLPtr<GrGLMapBufferProc> fMapBuffer; |
| 226 GLPtr<GrGLMatrixModeProc> fMatrixMode; |
224 GLPtr<GrGLPixelStoreiProc> fPixelStorei; | 227 GLPtr<GrGLPixelStoreiProc> fPixelStorei; |
225 GLPtr<GrGLQueryCounterProc> fQueryCounter; | 228 GLPtr<GrGLQueryCounterProc> fQueryCounter; |
226 GLPtr<GrGLReadBufferProc> fReadBuffer; | 229 GLPtr<GrGLReadBufferProc> fReadBuffer; |
227 GLPtr<GrGLReadPixelsProc> fReadPixels; | 230 GLPtr<GrGLReadPixelsProc> fReadPixels; |
228 GLPtr<GrGLRenderbufferStorageProc> fRenderbufferStorage; | 231 GLPtr<GrGLRenderbufferStorageProc> fRenderbufferStorage; |
229 GLPtr<GrGLRenderbufferStorageMultisampleProc> fRenderbufferStorageMultisampl
e; | 232 GLPtr<GrGLRenderbufferStorageMultisampleProc> fRenderbufferStorageMultisampl
e; |
230 GLPtr<GrGLRenderbufferStorageMultisampleCoverageProc> fRenderbufferStorageMu
ltisampleCoverage; | 233 GLPtr<GrGLRenderbufferStorageMultisampleCoverageProc> fRenderbufferStorageMu
ltisampleCoverage; |
231 GLPtr<GrGLResolveMultisampleFramebufferProc> fResolveMultisampleFramebuffer; | 234 GLPtr<GrGLResolveMultisampleFramebufferProc> fResolveMultisampleFramebuffer; |
232 GLPtr<GrGLScissorProc> fScissor; | 235 GLPtr<GrGLScissorProc> fScissor; |
233 GLPtr<GrGLShaderSourceProc> fShaderSource; | 236 GLPtr<GrGLShaderSourceProc> fShaderSource; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 GLPtr<GrGLUnmapBufferProc> fUnmapBuffer; | 271 GLPtr<GrGLUnmapBufferProc> fUnmapBuffer; |
269 GLPtr<GrGLUseProgramProc> fUseProgram; | 272 GLPtr<GrGLUseProgramProc> fUseProgram; |
270 GLPtr<GrGLVertexAttrib4fvProc> fVertexAttrib4fv; | 273 GLPtr<GrGLVertexAttrib4fvProc> fVertexAttrib4fv; |
271 GLPtr<GrGLVertexAttribPointerProc> fVertexAttribPointer; | 274 GLPtr<GrGLVertexAttribPointerProc> fVertexAttribPointer; |
272 GLPtr<GrGLVertexPointerProc> fVertexPointer; | 275 GLPtr<GrGLVertexPointerProc> fVertexPointer; |
273 GLPtr<GrGLViewportProc> fViewport; | 276 GLPtr<GrGLViewportProc> fViewport; |
274 | 277 |
275 // Experimental: Functions for GL_NV_path_rendering. These will be | 278 // Experimental: Functions for GL_NV_path_rendering. These will be |
276 // alphabetized with the above functions once this is fully supported | 279 // alphabetized with the above functions once this is fully supported |
277 // (and functions we are unlikely to use will possibly be omitted). | 280 // (and functions we are unlikely to use will possibly be omitted). |
278 GLPtr<GrGLMatrixModeProc> fMatrixMode; | |
279 GLPtr<GrGLLoadIdentityProc> fLoadIdentity; | |
280 GLPtr<GrGLLoadMatrixfProc> fLoadMatrixf; | |
281 GLPtr<GrGLPathCommandsProc> fPathCommands; | 281 GLPtr<GrGLPathCommandsProc> fPathCommands; |
282 GLPtr<GrGLPathCoordsProc> fPathCoords; | 282 GLPtr<GrGLPathCoordsProc> fPathCoords; |
283 GLPtr<GrGLPathSubCommandsProc> fPathSubCommands; | 283 GLPtr<GrGLPathSubCommandsProc> fPathSubCommands; |
284 GLPtr<GrGLPathSubCoordsProc> fPathSubCoords; | 284 GLPtr<GrGLPathSubCoordsProc> fPathSubCoords; |
285 GLPtr<GrGLPathStringProc> fPathString; | 285 GLPtr<GrGLPathStringProc> fPathString; |
286 GLPtr<GrGLPathGlyphsProc> fPathGlyphs; | 286 GLPtr<GrGLPathGlyphsProc> fPathGlyphs; |
287 GLPtr<GrGLPathGlyphRangeProc> fPathGlyphRange; | 287 GLPtr<GrGLPathGlyphRangeProc> fPathGlyphRange; |
288 GLPtr<GrGLWeightPathsProc> fWeightPaths; | 288 GLPtr<GrGLWeightPathsProc> fWeightPaths; |
289 GLPtr<GrGLCopyPathProc> fCopyPath; | 289 GLPtr<GrGLCopyPathProc> fCopyPath; |
290 GLPtr<GrGLInterpolatePathsProc> fInterpolatePaths; | 290 GLPtr<GrGLInterpolatePathsProc> fInterpolatePaths; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 | 330 |
331 // Per-GL func callback | 331 // Per-GL func callback |
332 #if GR_GL_PER_GL_FUNC_CALLBACK | 332 #if GR_GL_PER_GL_FUNC_CALLBACK |
333 GrGLInterfaceCallbackProc fCallback; | 333 GrGLInterfaceCallbackProc fCallback; |
334 GrGLInterfaceCallbackData fCallbackData; | 334 GrGLInterfaceCallbackData fCallbackData; |
335 #endif | 335 #endif |
336 | 336 |
337 }; | 337 }; |
338 | 338 |
339 #endif | 339 #endif |
OLD | NEW |