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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // NV_path_rendering v1.2 |
339 GLPtr<GrGLStencilThenCoverFillPathProc> fStencilThenCoverFillPath; | 339 GLPtr<GrGLStencilThenCoverFillPathProc> fStencilThenCoverFillPath; |
340 GLPtr<GrGLStencilThenCoverStrokePathProc> fStencilThenCoverStrokePath; | 340 GLPtr<GrGLStencilThenCoverStrokePathProc> fStencilThenCoverStrokePath; |
341 GLPtr<GrGLStencilThenCoverFillPathInstancedProc> fStencilThenCoverFillPa
thInstanced; | 341 GLPtr<GrGLStencilThenCoverFillPathInstancedProc> fStencilThenCoverFillPa
thInstanced; |
342 GLPtr<GrGLStencilThenCoverStrokePathInstancedProc> fStencilThenCoverStro
kePathInstanced; | 342 GLPtr<GrGLStencilThenCoverStrokePathInstancedProc> fStencilThenCoverStro
kePathInstanced; |
343 // NV_path_rendering v1.3 | 343 // NV_path_rendering v1.3 |
344 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; | 344 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; |
| 345 GLPtr<GrGLPathMemoryGlyphIndexArrayProc> fPathMemoryGlyphIndexArray; |
345 } fFunctions; | 346 } fFunctions; |
346 | 347 |
347 // Per-GL func callback | 348 // Per-GL func callback |
348 #if GR_GL_PER_GL_FUNC_CALLBACK | 349 #if GR_GL_PER_GL_FUNC_CALLBACK |
349 GrGLInterfaceCallbackProc fCallback; | 350 GrGLInterfaceCallbackProc fCallback; |
350 GrGLInterfaceCallbackData fCallbackData; | 351 GrGLInterfaceCallbackData fCallbackData; |
351 #endif | 352 #endif |
352 | 353 |
353 // This exists for internal testing. | 354 // This exists for internal testing. |
354 virtual void abandon() const {} | 355 virtual void abandon() const {} |
355 }; | 356 }; |
356 | 357 |
357 #endif | 358 #endif |
OLD | NEW |