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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 /* KHR_debug */ | 491 /* KHR_debug */ |
492 GLPtr<GrGLDebugMessageControlProc> fDebugMessageControl; | 492 GLPtr<GrGLDebugMessageControlProc> fDebugMessageControl; |
493 GLPtr<GrGLDebugMessageInsertProc> fDebugMessageInsert; | 493 GLPtr<GrGLDebugMessageInsertProc> fDebugMessageInsert; |
494 GLPtr<GrGLDebugMessageCallbackProc> fDebugMessageCallback; | 494 GLPtr<GrGLDebugMessageCallbackProc> fDebugMessageCallback; |
495 GLPtr<GrGLGetDebugMessageLogProc> fGetDebugMessageLog; | 495 GLPtr<GrGLGetDebugMessageLogProc> fGetDebugMessageLog; |
496 GLPtr<GrGLPushDebugGroupProc> fPushDebugGroup; | 496 GLPtr<GrGLPushDebugGroupProc> fPushDebugGroup; |
497 GLPtr<GrGLPopDebugGroupProc> fPopDebugGroup; | 497 GLPtr<GrGLPopDebugGroupProc> fPopDebugGroup; |
498 GLPtr<GrGLObjectLabelProc> fObjectLabel; | 498 GLPtr<GrGLObjectLabelProc> fObjectLabel; |
499 | 499 |
500 /* EGL functions */ | 500 /* EGL functions */ |
501 GLPtr<GrEGLCreateImageProc> fEGLCreateImage; | 501 GLPtr<GrEGLCreateImageProc> fCreateImage; |
502 GLPtr<GrEGLDestroyImageProc> fEGLDestroyImage; | 502 GLPtr<GrEGLDestroyImageProc> fDestroyImage; |
503 } fFunctions; | 503 } fFunctions; |
504 | 504 |
505 // Per-GL func callback | 505 // Per-GL func callback |
506 #if GR_GL_PER_GL_FUNC_CALLBACK | 506 #if GR_GL_PER_GL_FUNC_CALLBACK |
507 GrGLInterfaceCallbackProc fCallback; | 507 GrGLInterfaceCallbackProc fCallback; |
508 GrGLInterfaceCallbackData fCallbackData; | 508 GrGLInterfaceCallbackData fCallbackData; |
509 #endif | 509 #endif |
510 | 510 |
511 // This exists for internal testing. | 511 // This exists for internal testing. |
512 virtual void abandon() const {} | 512 virtual void abandon() const {} |
513 }; | 513 }; |
514 | 514 |
515 #endif | 515 #endif |
OLD | NEW |