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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 GLPtr<GrGLEnableVertexArrayProc> fEnableVertexArray; | 483 GLPtr<GrGLEnableVertexArrayProc> fEnableVertexArray; |
484 GLPtr<GrGLDisableVertexArrayProc> fDisableVertexArray; | 484 GLPtr<GrGLDisableVertexArrayProc> fDisableVertexArray; |
485 GLPtr<GrGLEnableVertexArrayAttribProc> fEnableVertexArrayAttrib; | 485 GLPtr<GrGLEnableVertexArrayAttribProc> fEnableVertexArrayAttrib; |
486 GLPtr<GrGLDisableVertexArrayAttribProc> fDisableVertexArrayAttrib; | 486 GLPtr<GrGLDisableVertexArrayAttribProc> fDisableVertexArrayAttrib; |
487 GLPtr<GrGLGetVertexArrayIntegervProc> fGetVertexArrayIntegerv; | 487 GLPtr<GrGLGetVertexArrayIntegervProc> fGetVertexArrayIntegerv; |
488 GLPtr<GrGLGetVertexArrayPointervProc> fGetVertexArrayPointerv; | 488 GLPtr<GrGLGetVertexArrayPointervProc> fGetVertexArrayPointerv; |
489 GLPtr<GrGLGetVertexArrayIntegeri_vProc> fGetVertexArrayIntegeri_v; | 489 GLPtr<GrGLGetVertexArrayIntegeri_vProc> fGetVertexArrayIntegeri_v; |
490 GLPtr<GrGLGetVertexArrayPointeri_vProc> fGetVertexArrayPointeri_v; | 490 GLPtr<GrGLGetVertexArrayPointeri_vProc> fGetVertexArrayPointeri_v; |
491 GLPtr<GrGLMapNamedBufferRangeProc> fMapNamedBufferRange; | 491 GLPtr<GrGLMapNamedBufferRangeProc> fMapNamedBufferRange; |
492 GLPtr<GrGLFlushMappedNamedBufferRangeProc> fFlushMappedNamedBufferRange; | 492 GLPtr<GrGLFlushMappedNamedBufferRangeProc> fFlushMappedNamedBufferRange; |
| 493 // OpenGL 4.5 |
| 494 GLPtr<GrGLNamedFramebufferParameteriProc> fNamedFramebufferParameteri; |
493 | 495 |
494 /* KHR_debug */ | 496 /* KHR_debug */ |
495 GLPtr<GrGLDebugMessageControlProc> fDebugMessageControl; | 497 GLPtr<GrGLDebugMessageControlProc> fDebugMessageControl; |
496 GLPtr<GrGLDebugMessageInsertProc> fDebugMessageInsert; | 498 GLPtr<GrGLDebugMessageInsertProc> fDebugMessageInsert; |
497 GLPtr<GrGLDebugMessageCallbackProc> fDebugMessageCallback; | 499 GLPtr<GrGLDebugMessageCallbackProc> fDebugMessageCallback; |
498 GLPtr<GrGLGetDebugMessageLogProc> fGetDebugMessageLog; | 500 GLPtr<GrGLGetDebugMessageLogProc> fGetDebugMessageLog; |
499 GLPtr<GrGLPushDebugGroupProc> fPushDebugGroup; | 501 GLPtr<GrGLPushDebugGroupProc> fPushDebugGroup; |
500 GLPtr<GrGLPopDebugGroupProc> fPopDebugGroup; | 502 GLPtr<GrGLPopDebugGroupProc> fPopDebugGroup; |
501 GLPtr<GrGLObjectLabelProc> fObjectLabel; | 503 GLPtr<GrGLObjectLabelProc> fObjectLabel; |
502 } fFunctions; | 504 } fFunctions; |
503 | 505 |
504 // Per-GL func callback | 506 // Per-GL func callback |
505 #if GR_GL_PER_GL_FUNC_CALLBACK | 507 #if GR_GL_PER_GL_FUNC_CALLBACK |
506 GrGLInterfaceCallbackProc fCallback; | 508 GrGLInterfaceCallbackProc fCallback; |
507 GrGLInterfaceCallbackData fCallbackData; | 509 GrGLInterfaceCallbackData fCallbackData; |
508 #endif | 510 #endif |
509 | 511 |
510 // This exists for internal testing. | 512 // This exists for internal testing. |
511 virtual void abandon() const {} | 513 virtual void abandon() const {} |
512 }; | 514 }; |
513 | 515 |
514 #endif | 516 #endif |
OLD | NEW |