01ca42b2 |
1 | // Created on: 2014-03-17 |
2 | // Created by: Kirill GAVRILOV |
3 | // Copyright (c) 2014 OPEN CASCADE SAS |
4 | // |
5 | // This file is part of Open CASCADE Technology software library. |
6 | // |
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. |
12 | // |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
15 | |
5bd54bef |
16 | #ifndef OpenGl_GlCore40_HeaderFile |
17 | #define OpenGl_GlCore40_HeaderFile |
01ca42b2 |
18 | |
19 | #include <OpenGl_GlCore33.hxx> |
20 | |
21 | //! OpenGL 4.0 definition. |
43eddb47 |
22 | struct OpenGl_GlCore40 : public OpenGl_GlCore33 |
01ca42b2 |
23 | { |
43eddb47 |
24 | private: |
25 | typedef OpenGl_GlCore33 theBaseClass_t; |
01ca42b2 |
26 | |
27 | public: //! @name GL_ARB_draw_indirect (added to OpenGL 4.0 core) |
28 | |
29 | using theBaseClass_t::glDrawArraysIndirect; |
30 | using theBaseClass_t::glDrawElementsIndirect; |
31 | |
32 | public: //! @name GL_ARB_gpu_shader_fp64 (added to OpenGL 4.0 core) |
33 | |
34 | using theBaseClass_t::glUniform1d; |
35 | using theBaseClass_t::glUniform2d; |
36 | using theBaseClass_t::glUniform3d; |
37 | using theBaseClass_t::glUniform4d; |
38 | using theBaseClass_t::glUniform1dv; |
39 | using theBaseClass_t::glUniform2dv; |
40 | using theBaseClass_t::glUniform3dv; |
41 | using theBaseClass_t::glUniform4dv; |
42 | using theBaseClass_t::glUniformMatrix2dv; |
43 | using theBaseClass_t::glUniformMatrix3dv; |
44 | using theBaseClass_t::glUniformMatrix4dv; |
45 | using theBaseClass_t::glUniformMatrix2x3dv; |
46 | using theBaseClass_t::glUniformMatrix2x4dv; |
47 | using theBaseClass_t::glUniformMatrix3x2dv; |
48 | using theBaseClass_t::glUniformMatrix3x4dv; |
49 | using theBaseClass_t::glUniformMatrix4x2dv; |
50 | using theBaseClass_t::glUniformMatrix4x3dv; |
51 | using theBaseClass_t::glGetUniformdv; |
52 | |
53 | public: //! @name GL_ARB_shader_subroutine (added to OpenGL 4.0 core) |
54 | |
55 | using theBaseClass_t::glGetSubroutineUniformLocation; |
56 | using theBaseClass_t::glGetSubroutineIndex; |
57 | using theBaseClass_t::glGetActiveSubroutineUniformiv; |
58 | using theBaseClass_t::glGetActiveSubroutineUniformName; |
59 | using theBaseClass_t::glGetActiveSubroutineName; |
60 | using theBaseClass_t::glUniformSubroutinesuiv; |
61 | using theBaseClass_t::glGetUniformSubroutineuiv; |
62 | using theBaseClass_t::glGetProgramStageiv; |
63 | |
64 | public: //! @name GL_ARB_tessellation_shader (added to OpenGL 4.0 core) |
65 | |
66 | using theBaseClass_t::glPatchParameteri; |
67 | using theBaseClass_t::glPatchParameterfv; |
68 | |
69 | public: //! @name GL_ARB_transform_feedback2 (added to OpenGL 4.0 core) |
70 | |
71 | using theBaseClass_t::glBindTransformFeedback; |
72 | using theBaseClass_t::glDeleteTransformFeedbacks; |
73 | using theBaseClass_t::glGenTransformFeedbacks; |
74 | using theBaseClass_t::glIsTransformFeedback; |
75 | using theBaseClass_t::glPauseTransformFeedback; |
76 | using theBaseClass_t::glResumeTransformFeedback; |
77 | using theBaseClass_t::glDrawTransformFeedback; |
78 | |
79 | public: //! @name GL_ARB_transform_feedback3 (added to OpenGL 4.0 core) |
80 | |
81 | using theBaseClass_t::glDrawTransformFeedbackStream; |
82 | using theBaseClass_t::glBeginQueryIndexed; |
83 | using theBaseClass_t::glEndQueryIndexed; |
84 | using theBaseClass_t::glGetQueryIndexediv; |
85 | |
86 | public: //! @name OpenGL 4.0 additives to 3.3 |
87 | |
88 | using theBaseClass_t::glMinSampleShading; |
89 | using theBaseClass_t::glBlendEquationi; |
90 | using theBaseClass_t::glBlendEquationSeparatei; |
91 | using theBaseClass_t::glBlendFunci; |
92 | using theBaseClass_t::glBlendFuncSeparatei; |
93 | |
94 | }; |
95 | |
01ca42b2 |
96 | #endif // _OpenGl_GlCore40_Header |