1 // Created on: 2014-03-17
2 // Created by: Kirill GAVRILOV
3 // Copyright (c) 2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _OpenGl_GlCore32_Header
17 #define _OpenGl_GlCore32_Header
19 #include <OpenGl_GlCore31.hxx>
21 //! OpenGL 3.2 definition.
22 struct OpenGl_GlCore32 : public OpenGl_GlCore31
25 typedef OpenGl_GlCore31 theBaseClass_t;
27 #if !defined(GL_ES_VERSION_2_0)
29 public: //! @name GL_ARB_draw_elements_base_vertex (added to OpenGL 3.2 core)
31 using theBaseClass_t::glDrawElementsBaseVertex;
32 using theBaseClass_t::glDrawRangeElementsBaseVertex;
33 using theBaseClass_t::glDrawElementsInstancedBaseVertex;
34 using theBaseClass_t::glMultiDrawElementsBaseVertex;
36 public: //! @name GL_ARB_provoking_vertex (added to OpenGL 3.2 core)
38 using theBaseClass_t::glProvokingVertex;
40 public: //! @name GL_ARB_sync (added to OpenGL 3.2 core)
42 using theBaseClass_t::glFenceSync;
43 using theBaseClass_t::glIsSync;
44 using theBaseClass_t::glDeleteSync;
45 using theBaseClass_t::glClientWaitSync;
46 using theBaseClass_t::glWaitSync;
47 using theBaseClass_t::glGetInteger64v;
48 using theBaseClass_t::glGetSynciv;
50 public: //! @name GL_ARB_texture_multisample (added to OpenGL 3.2 core)
52 using theBaseClass_t::glTexImage2DMultisample;
53 using theBaseClass_t::glTexImage3DMultisample;
54 using theBaseClass_t::glGetMultisamplefv;
55 using theBaseClass_t::glSampleMaski;
57 public: //! @name OpenGL 3.2 additives to 3.1
59 using theBaseClass_t::glGetInteger64i_v;
60 using theBaseClass_t::glGetBufferParameteri64v;
61 using theBaseClass_t::glFramebufferTexture;
67 #endif // _OpenGl_GlCore32_Header