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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
328 GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; | 328 GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; |
329 GLPtr<GrGLStencilFillPathProc> fStencilFillPath; | 329 GLPtr<GrGLStencilFillPathProc> fStencilFillPath; |
330 GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; | 330 GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; |
331 GLPtr<GrGLStencilFillPathInstancedProc> fStencilFillPathInstanced; | 331 GLPtr<GrGLStencilFillPathInstancedProc> fStencilFillPathInstanced; |
332 GLPtr<GrGLStencilStrokePathInstancedProc> fStencilStrokePathInstanced; | 332 GLPtr<GrGLStencilStrokePathInstancedProc> fStencilStrokePathInstanced; |
333 GLPtr<GrGLPathTexGenProc> fPathTexGen; | 333 GLPtr<GrGLPathTexGenProc> fPathTexGen; |
334 GLPtr<GrGLCoverFillPathProc> fCoverFillPath; | 334 GLPtr<GrGLCoverFillPathProc> fCoverFillPath; |
335 GLPtr<GrGLCoverStrokePathProc> fCoverStrokePath; | 335 GLPtr<GrGLCoverStrokePathProc> fCoverStrokePath; |
336 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; | 336 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; |
337 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; | 337 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; |
338 // NV_path_rendering v1.3 | |
Mark Kilgard
2014/07/31 19:02:18
again, glStencilThenCover* commands are v1.2
| |
338 GLPtr<GrGLStencilThenCoverFillPathProc> fStencilThenCoverFillPath; | 339 GLPtr<GrGLStencilThenCoverFillPathProc> fStencilThenCoverFillPath; |
339 GLPtr<GrGLStencilThenCoverStrokePathProc> fStencilThenCoverStrokePath; | 340 GLPtr<GrGLStencilThenCoverStrokePathProc> fStencilThenCoverStrokePath; |
340 GLPtr<GrGLStencilThenCoverFillPathInstancedProc> fStencilThenCoverFillPa thInstanced; | 341 GLPtr<GrGLStencilThenCoverFillPathInstancedProc> fStencilThenCoverFillPa thInstanced; |
341 GLPtr<GrGLStencilThenCoverStrokePathInstancedProc> fStencilThenCoverStro kePathInstanced; | 342 GLPtr<GrGLStencilThenCoverStrokePathInstancedProc> fStencilThenCoverStro kePathInstanced; |
Mark Kilgard
2014/07/31 19:02:18
glProgramPathFragmentInputGenNV is actually v1.3
| |
342 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; | 343 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; |
343 } fFunctions; | 344 } fFunctions; |
344 | 345 |
345 // Per-GL func callback | 346 // Per-GL func callback |
346 #if GR_GL_PER_GL_FUNC_CALLBACK | 347 #if GR_GL_PER_GL_FUNC_CALLBACK |
347 GrGLInterfaceCallbackProc fCallback; | 348 GrGLInterfaceCallbackProc fCallback; |
348 GrGLInterfaceCallbackData fCallbackData; | 349 GrGLInterfaceCallbackData fCallbackData; |
349 #endif | 350 #endif |
350 | 351 |
351 // This exists for internal testing. | 352 // This exists for internal testing. |
352 virtual void abandon() const {} | 353 virtual void abandon() const {} |
353 }; | 354 }; |
354 | 355 |
355 #endif | 356 #endif |
OLD | NEW |