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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; | 336 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; |
337 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; | 337 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; |
338 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; | 338 GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen; |
339 } fFunctions; | 339 } fFunctions; |
340 | 340 |
341 // Per-GL func callback | 341 // Per-GL func callback |
342 #if GR_GL_PER_GL_FUNC_CALLBACK | 342 #if GR_GL_PER_GL_FUNC_CALLBACK |
343 GrGLInterfaceCallbackProc fCallback; | 343 GrGLInterfaceCallbackProc fCallback; |
344 GrGLInterfaceCallbackData fCallbackData; | 344 GrGLInterfaceCallbackData fCallbackData; |
345 #endif | 345 #endif |
| 346 |
| 347 // This exists for internal testing. |
| 348 virtual void abandon() const {} |
346 }; | 349 }; |
347 | 350 |
348 #endif | 351 #endif |
OLD | NEW |