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; |
320 GLPtr<GrGLPathCommandsProc> fPathCommands; | 321 GLPtr<GrGLPathCommandsProc> fPathCommands; |
321 GLPtr<GrGLPathCoordsProc> fPathCoords; | 322 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; | |
332 GLPtr<GrGLPathParameteriProc> fPathParameteri; | 323 GLPtr<GrGLPathParameteriProc> fPathParameteri; |
333 GLPtr<GrGLPathParameterfvProc> fPathParameterfv; | |
334 GLPtr<GrGLPathParameterfProc> fPathParameterf; | 324 GLPtr<GrGLPathParameterfProc> fPathParameterf; |
335 GLPtr<GrGLPathDashArrayProc> fPathDashArray; | |
336 GLPtr<GrGLGenPathsProc> fGenPaths; | 325 GLPtr<GrGLGenPathsProc> fGenPaths; |
337 GLPtr<GrGLDeletePathsProc> fDeletePaths; | 326 GLPtr<GrGLDeletePathsProc> fDeletePaths; |
338 GLPtr<GrGLIsPathProc> fIsPath; | |
339 GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; | 327 GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; |
340 GLPtr<GrGLPathStencilDepthOffsetProc> fPathStencilDepthOffset; | |
341 GLPtr<GrGLStencilFillPathProc> fStencilFillPath; | 328 GLPtr<GrGLStencilFillPathProc> fStencilFillPath; |
342 GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; | 329 GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; |
343 GLPtr<GrGLStencilFillPathInstancedProc> fStencilFillPathInstanced; | 330 GLPtr<GrGLStencilFillPathInstancedProc> fStencilFillPathInstanced; |
344 GLPtr<GrGLStencilStrokePathInstancedProc> fStencilStrokePathInstanced; | 331 GLPtr<GrGLStencilStrokePathInstancedProc> fStencilStrokePathInstanced; |
345 GLPtr<GrGLPathCoverDepthFuncProc> fPathCoverDepthFunc; | |
346 GLPtr<GrGLPathColorGenProc> fPathColorGen; | |
347 GLPtr<GrGLPathTexGenProc> fPathTexGen; | 332 GLPtr<GrGLPathTexGenProc> fPathTexGen; |
348 GLPtr<GrGLPathFogGenProc> fPathFogGen; | |
349 GLPtr<GrGLCoverFillPathProc> fCoverFillPath; | 333 GLPtr<GrGLCoverFillPathProc> fCoverFillPath; |
350 GLPtr<GrGLCoverStrokePathProc> fCoverStrokePath; | 334 GLPtr<GrGLCoverStrokePathProc> fCoverStrokePath; |
351 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; | 335 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; |
352 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; | 336 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; |
353 GLPtr<GrGLGetPathParameterivProc> fGetPathParameteriv; | 337 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; |
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; | |
369 } fFunctions; | 338 } fFunctions; |
370 | 339 |
371 // Per-GL func callback | 340 // Per-GL func callback |
372 #if GR_GL_PER_GL_FUNC_CALLBACK | 341 #if GR_GL_PER_GL_FUNC_CALLBACK |
373 GrGLInterfaceCallbackProc fCallback; | 342 GrGLInterfaceCallbackProc fCallback; |
374 GrGLInterfaceCallbackData fCallbackData; | 343 GrGLInterfaceCallbackData fCallbackData; |
375 #endif | 344 #endif |
376 }; | 345 }; |
377 | 346 |
378 #endif | 347 #endif |
OLD | NEW |