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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 GrGLFunction<GrGLDisableVertexArrayAttribProc> fDisableVertexArrayAttrib
; | 445 GrGLFunction<GrGLDisableVertexArrayAttribProc> fDisableVertexArrayAttrib
; |
446 GrGLFunction<GrGLGetVertexArrayIntegervProc> fGetVertexArrayIntegerv; | 446 GrGLFunction<GrGLGetVertexArrayIntegervProc> fGetVertexArrayIntegerv; |
447 GrGLFunction<GrGLGetVertexArrayPointervProc> fGetVertexArrayPointerv; | 447 GrGLFunction<GrGLGetVertexArrayPointervProc> fGetVertexArrayPointerv; |
448 GrGLFunction<GrGLGetVertexArrayIntegeri_vProc> fGetVertexArrayIntegeri_v
; | 448 GrGLFunction<GrGLGetVertexArrayIntegeri_vProc> fGetVertexArrayIntegeri_v
; |
449 GrGLFunction<GrGLGetVertexArrayPointeri_vProc> fGetVertexArrayPointeri_v
; | 449 GrGLFunction<GrGLGetVertexArrayPointeri_vProc> fGetVertexArrayPointeri_v
; |
450 GrGLFunction<GrGLMapNamedBufferRangeProc> fMapNamedBufferRange; | 450 GrGLFunction<GrGLMapNamedBufferRangeProc> fMapNamedBufferRange; |
451 GrGLFunction<GrGLFlushMappedNamedBufferRangeProc> fFlushMappedNamedBuffe
rRange; | 451 GrGLFunction<GrGLFlushMappedNamedBufferRangeProc> fFlushMappedNamedBuffe
rRange; |
452 // OpenGL 3.1 | 452 // OpenGL 3.1 |
453 GrGLFunction<GrGLTextureBufferProc> fTextureBuffer; | 453 GrGLFunction<GrGLTextureBufferProc> fTextureBuffer; |
454 | 454 |
| 455 /* ARB_sync */ |
| 456 GrGLFunction<GrGLFenceSyncProc> fFenceSync; |
| 457 GrGLFunction<GrGLClientWaitSyncProc> fClientWaitSync; |
| 458 GrGLFunction<GrGLDeleteSyncProc> fDeleteSync; |
| 459 |
455 /* KHR_debug */ | 460 /* KHR_debug */ |
456 GrGLFunction<GrGLDebugMessageControlProc> fDebugMessageControl; | 461 GrGLFunction<GrGLDebugMessageControlProc> fDebugMessageControl; |
457 GrGLFunction<GrGLDebugMessageInsertProc> fDebugMessageInsert; | 462 GrGLFunction<GrGLDebugMessageInsertProc> fDebugMessageInsert; |
458 GrGLFunction<GrGLDebugMessageCallbackProc> fDebugMessageCallback; | 463 GrGLFunction<GrGLDebugMessageCallbackProc> fDebugMessageCallback; |
459 GrGLFunction<GrGLGetDebugMessageLogProc> fGetDebugMessageLog; | 464 GrGLFunction<GrGLGetDebugMessageLogProc> fGetDebugMessageLog; |
460 GrGLFunction<GrGLPushDebugGroupProc> fPushDebugGroup; | 465 GrGLFunction<GrGLPushDebugGroupProc> fPushDebugGroup; |
461 GrGLFunction<GrGLPopDebugGroupProc> fPopDebugGroup; | 466 GrGLFunction<GrGLPopDebugGroupProc> fPopDebugGroup; |
462 GrGLFunction<GrGLObjectLabelProc> fObjectLabel; | 467 GrGLFunction<GrGLObjectLabelProc> fObjectLabel; |
463 | 468 |
464 /* EXT_window_rectangles */ | 469 /* EXT_window_rectangles */ |
465 GrGLFunction<GrGLWindowRectanglesProc> fWindowRectangles; | 470 GrGLFunction<GrGLWindowRectanglesProc> fWindowRectangles; |
466 | 471 |
467 /* EGL functions */ | 472 /* EGL functions */ |
468 GrGLFunction<GrEGLCreateImageProc> fEGLCreateImage; | 473 GrGLFunction<GrEGLCreateImageProc> fEGLCreateImage; |
469 GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage; | 474 GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage; |
470 } fFunctions; | 475 } fFunctions; |
471 | 476 |
472 // This exists for internal testing. | 477 // This exists for internal testing. |
473 virtual void abandon() const {} | 478 virtual void abandon() const {} |
474 }; | 479 }; |
475 | 480 |
476 #endif | 481 #endif |
OLD | NEW |