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.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; |
| 343 // NV_path_rendering v1.3 |
342 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; | 344 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; |
343 } fFunctions; | 345 } fFunctions; |
344 | 346 |
345 // Per-GL func callback | 347 // Per-GL func callback |
346 #if GR_GL_PER_GL_FUNC_CALLBACK | 348 #if GR_GL_PER_GL_FUNC_CALLBACK |
347 GrGLInterfaceCallbackProc fCallback; | 349 GrGLInterfaceCallbackProc fCallback; |
348 GrGLInterfaceCallbackData fCallbackData; | 350 GrGLInterfaceCallbackData fCallbackData; |
349 #endif | 351 #endif |
350 | 352 |
351 // This exists for internal testing. | 353 // This exists for internal testing. |
352 virtual void abandon() const {} | 354 virtual void abandon() const {} |
353 }; | 355 }; |
354 | 356 |
355 #endif | 357 #endif |
OLD | NEW |