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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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<GrGLGetProgramResourceLocationProc> fGetProgramResourceLocation; |
321 GLPtr<GrGLPathCommandsProc> fPathCommands; | 321 GLPtr<GrGLPathCommandsProc> fPathCommands; |
322 GLPtr<GrGLPathCoordsProc> fPathCoords; | 322 GLPtr<GrGLPathCoordsProc> fPathCoords; |
323 GLPtr<GrGLPathParameteriProc> fPathParameteri; | 323 GLPtr<GrGLPathParameteriProc> fPathParameteri; |
324 GLPtr<GrGLPathParameterfProc> fPathParameterf; | 324 GLPtr<GrGLPathParameterfProc> fPathParameterf; |
325 GLPtr<GrGLGenPathsProc> fGenPaths; | 325 GLPtr<GrGLGenPathsProc> fGenPaths; |
326 GLPtr<GrGLDeletePathsProc> fDeletePaths; | 326 GLPtr<GrGLDeletePathsProc> fDeletePaths; |
| 327 GLPtr<GrGLIsPathProc> fIsPath; |
327 GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; | 328 GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; |
328 GLPtr<GrGLStencilFillPathProc> fStencilFillPath; | 329 GLPtr<GrGLStencilFillPathProc> fStencilFillPath; |
329 GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; | 330 GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; |
330 GLPtr<GrGLStencilFillPathInstancedProc> fStencilFillPathInstanced; | 331 GLPtr<GrGLStencilFillPathInstancedProc> fStencilFillPathInstanced; |
331 GLPtr<GrGLStencilStrokePathInstancedProc> fStencilStrokePathInstanced; | 332 GLPtr<GrGLStencilStrokePathInstancedProc> fStencilStrokePathInstanced; |
332 GLPtr<GrGLPathTexGenProc> fPathTexGen; | 333 GLPtr<GrGLPathTexGenProc> fPathTexGen; |
333 GLPtr<GrGLCoverFillPathProc> fCoverFillPath; | 334 GLPtr<GrGLCoverFillPathProc> fCoverFillPath; |
334 GLPtr<GrGLCoverStrokePathProc> fCoverStrokePath; | 335 GLPtr<GrGLCoverStrokePathProc> fCoverStrokePath; |
335 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; | 336 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; |
336 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; | 337 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; |
337 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; | 338 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; |
338 } fFunctions; | 339 } fFunctions; |
339 | 340 |
340 // Per-GL func callback | 341 // Per-GL func callback |
341 #if GR_GL_PER_GL_FUNC_CALLBACK | 342 #if GR_GL_PER_GL_FUNC_CALLBACK |
342 GrGLInterfaceCallbackProc fCallback; | 343 GrGLInterfaceCallbackProc fCallback; |
343 GrGLInterfaceCallbackData fCallbackData; | 344 GrGLInterfaceCallbackData fCallbackData; |
344 #endif | 345 #endif |
345 }; | 346 }; |
346 | 347 |
347 #endif | 348 #endif |
OLD | NEW |