OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef GrGLInterface_DEFINED | 8 #ifndef GrGLInterface_DEFINED |
9 #define GrGLInterface_DEFINED | 9 #define GrGLInterface_DEFINED |
10 | 10 |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 GLPtr<GrGLUnmapBufferSubDataProc> fUnmapBufferSubData; | 310 GLPtr<GrGLUnmapBufferSubDataProc> fUnmapBufferSubData; |
311 GLPtr<GrGLUnmapTexSubImage2DProc> fUnmapTexSubImage2D; | 311 GLPtr<GrGLUnmapTexSubImage2DProc> fUnmapTexSubImage2D; |
312 GLPtr<GrGLUseProgramProc> fUseProgram; | 312 GLPtr<GrGLUseProgramProc> fUseProgram; |
313 GLPtr<GrGLVertexAttrib4fvProc> fVertexAttrib4fv; | 313 GLPtr<GrGLVertexAttrib4fvProc> fVertexAttrib4fv; |
314 GLPtr<GrGLVertexAttribPointerProc> fVertexAttribPointer; | 314 GLPtr<GrGLVertexAttribPointerProc> fVertexAttribPointer; |
315 GLPtr<GrGLViewportProc> fViewport; | 315 GLPtr<GrGLViewportProc> fViewport; |
316 | 316 |
317 // Experimental: Functions for GL_NV_path_rendering. These will be | 317 // Experimental: Functions for GL_NV_path_rendering. These will be |
318 // alphabetized with the above functions once this is fully supported | 318 // alphabetized with the above functions once this is fully supported |
319 // (and functions we are unlikely to use will possibly be omitted). | 319 // (and functions we are unlikely to use will possibly be omitted). |
320 GLPtr<GrGLGetProgramResourceLocationProc> fGetProgramResourceLocation; | |
321 GLPtr<GrGLPathCommandsProc> fPathCommands; | 320 GLPtr<GrGLPathCommandsProc> fPathCommands; |
322 GLPtr<GrGLPathCoordsProc> fPathCoords; | 321 GLPtr<GrGLPathCoordsProc> fPathCoords; |
| 322 GLPtr<GrGLPathSubCommandsProc> fPathSubCommands; |
| 323 GLPtr<GrGLPathSubCoordsProc> fPathSubCoords; |
| 324 GLPtr<GrGLPathStringProc> fPathString; |
| 325 GLPtr<GrGLPathGlyphsProc> fPathGlyphs; |
| 326 GLPtr<GrGLPathGlyphRangeProc> fPathGlyphRange; |
| 327 GLPtr<GrGLWeightPathsProc> fWeightPaths; |
| 328 GLPtr<GrGLCopyPathProc> fCopyPath; |
| 329 GLPtr<GrGLInterpolatePathsProc> fInterpolatePaths; |
| 330 GLPtr<GrGLTransformPathProc> fTransformPath; |
| 331 GLPtr<GrGLPathParameterivProc> fPathParameteriv; |
323 GLPtr<GrGLPathParameteriProc> fPathParameteri; | 332 GLPtr<GrGLPathParameteriProc> fPathParameteri; |
| 333 GLPtr<GrGLPathParameterfvProc> fPathParameterfv; |
324 GLPtr<GrGLPathParameterfProc> fPathParameterf; | 334 GLPtr<GrGLPathParameterfProc> fPathParameterf; |
| 335 GLPtr<GrGLPathDashArrayProc> fPathDashArray; |
325 GLPtr<GrGLGenPathsProc> fGenPaths; | 336 GLPtr<GrGLGenPathsProc> fGenPaths; |
326 GLPtr<GrGLDeletePathsProc> fDeletePaths; | 337 GLPtr<GrGLDeletePathsProc> fDeletePaths; |
| 338 GLPtr<GrGLIsPathProc> fIsPath; |
327 GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; | 339 GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; |
| 340 GLPtr<GrGLPathStencilDepthOffsetProc> fPathStencilDepthOffset; |
328 GLPtr<GrGLStencilFillPathProc> fStencilFillPath; | 341 GLPtr<GrGLStencilFillPathProc> fStencilFillPath; |
329 GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; | 342 GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; |
330 GLPtr<GrGLStencilFillPathInstancedProc> fStencilFillPathInstanced; | 343 GLPtr<GrGLStencilFillPathInstancedProc> fStencilFillPathInstanced; |
331 GLPtr<GrGLStencilStrokePathInstancedProc> fStencilStrokePathInstanced; | 344 GLPtr<GrGLStencilStrokePathInstancedProc> fStencilStrokePathInstanced; |
| 345 GLPtr<GrGLPathCoverDepthFuncProc> fPathCoverDepthFunc; |
| 346 GLPtr<GrGLPathColorGenProc> fPathColorGen; |
332 GLPtr<GrGLPathTexGenProc> fPathTexGen; | 347 GLPtr<GrGLPathTexGenProc> fPathTexGen; |
| 348 GLPtr<GrGLPathFogGenProc> fPathFogGen; |
333 GLPtr<GrGLCoverFillPathProc> fCoverFillPath; | 349 GLPtr<GrGLCoverFillPathProc> fCoverFillPath; |
334 GLPtr<GrGLCoverStrokePathProc> fCoverStrokePath; | 350 GLPtr<GrGLCoverStrokePathProc> fCoverStrokePath; |
335 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; | 351 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; |
336 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; | 352 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; |
337 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; | 353 GLPtr<GrGLGetPathParameterivProc> fGetPathParameteriv; |
| 354 GLPtr<GrGLGetPathParameterfvProc> fGetPathParameterfv; |
| 355 GLPtr<GrGLGetPathCommandsProc> fGetPathCommands; |
| 356 GLPtr<GrGLGetPathCoordsProc> fGetPathCoords; |
| 357 GLPtr<GrGLGetPathDashArrayProc> fGetPathDashArray; |
| 358 GLPtr<GrGLGetPathMetricsProc> fGetPathMetrics; |
| 359 GLPtr<GrGLGetPathMetricRangeProc> fGetPathMetricRange; |
| 360 GLPtr<GrGLGetPathSpacingProc> fGetPathSpacing; |
| 361 GLPtr<GrGLGetPathColorGenivProc> fGetPathColorGeniv; |
| 362 GLPtr<GrGLGetPathColorGenfvProc> fGetPathColorGenfv; |
| 363 GLPtr<GrGLGetPathTexGenivProc> fGetPathTexGeniv; |
| 364 GLPtr<GrGLGetPathTexGenfvProc> fGetPathTexGenfv; |
| 365 GLPtr<GrGLIsPointInFillPathProc> fIsPointInFillPath; |
| 366 GLPtr<GrGLIsPointInStrokePathProc> fIsPointInStrokePath; |
| 367 GLPtr<GrGLGetPathLengthProc> fGetPathLength; |
| 368 GLPtr<GrGLPointAlongPathProc> fPointAlongPath; |
338 } fFunctions; | 369 } fFunctions; |
339 | 370 |
340 // Per-GL func callback | 371 // Per-GL func callback |
341 #if GR_GL_PER_GL_FUNC_CALLBACK | 372 #if GR_GL_PER_GL_FUNC_CALLBACK |
342 GrGLInterfaceCallbackProc fCallback; | 373 GrGLInterfaceCallbackProc fCallback; |
343 GrGLInterfaceCallbackData fCallbackData; | 374 GrGLInterfaceCallbackData fCallbackData; |
344 #endif | 375 #endif |
345 }; | 376 }; |
346 | 377 |
347 #endif | 378 #endif |
OLD | NEW |