6aca4d39 |
1 | // Created on: 2012-03-06 |
b311480e |
2 | // Created by: Kirill GAVRILOV |
6aca4d39 |
3 | // Copyright (c) 2012-2014 OPEN CASCADE SAS |
b311480e |
4 | // |
973c2be1 |
5 | // This file is part of Open CASCADE Technology software library. |
b311480e |
6 | // |
d5f74e42 |
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 |
973c2be1 |
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. |
b311480e |
12 | // |
973c2be1 |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
5f8b738e |
15 | |
01ca42b2 |
16 | #ifndef _OpenGl_GlCore13_Header |
17 | #define _OpenGl_GlCore13_Header |
5f8b738e |
18 | |
19 | #include <OpenGl_GlCore12.hxx> |
20 | |
01ca42b2 |
21 | //! OpenGL 1.3 without deprecated entry points. |
22 | struct OpenGl_GlCore13Fwd : public OpenGl_GlCore12Fwd |
23 | { |
24 | |
25 | public: //! @name OpenGL 1.3 additives to 1.2 |
26 | |
ca3c13d1 |
27 | #if !defined(GL_ES_VERSION_2_0) |
01ca42b2 |
28 | using OpenGl_GlFunctions::glCompressedTexImage3D; |
01ca42b2 |
29 | using OpenGl_GlFunctions::glCompressedTexImage1D; |
30 | using OpenGl_GlFunctions::glCompressedTexSubImage3D; |
01ca42b2 |
31 | using OpenGl_GlFunctions::glCompressedTexSubImage1D; |
32 | using OpenGl_GlFunctions::glGetCompressedTexImage; |
ca3c13d1 |
33 | #endif |
34 | |
35 | using OpenGl_GlFunctions::glActiveTexture; |
36 | using OpenGl_GlFunctions::glSampleCoverage; |
37 | using OpenGl_GlFunctions::glCompressedTexImage2D; |
38 | using OpenGl_GlFunctions::glCompressedTexSubImage2D; |
01ca42b2 |
39 | |
40 | }; |
41 | |
42 | //! OpenGL 1.3 core based on 1.2 version. |
5f8b738e |
43 | struct OpenGl_GlCore13 : public OpenGl_GlCore12 |
44 | { |
45 | |
01ca42b2 |
46 | public: //! @name OpenGL 1.3 additives to 1.2 |
47 | |
ca3c13d1 |
48 | #if !defined(GL_ES_VERSION_2_0) |
01ca42b2 |
49 | using OpenGl_GlFunctions::glCompressedTexImage3D; |
01ca42b2 |
50 | using OpenGl_GlFunctions::glCompressedTexImage1D; |
51 | using OpenGl_GlFunctions::glCompressedTexSubImage3D; |
01ca42b2 |
52 | using OpenGl_GlFunctions::glCompressedTexSubImage1D; |
53 | using OpenGl_GlFunctions::glGetCompressedTexImage; |
ca3c13d1 |
54 | #endif |
55 | |
56 | using OpenGl_GlFunctions::glActiveTexture; |
57 | using OpenGl_GlFunctions::glSampleCoverage; |
58 | using OpenGl_GlFunctions::glCompressedTexImage2D; |
59 | using OpenGl_GlFunctions::glCompressedTexSubImage2D; |
60 | |
61 | #if !defined(GL_ES_VERSION_2_0) |
01ca42b2 |
62 | |
63 | public: //! @name Begin/End primitive specification (removed since 3.1) |
64 | |
65 | using OpenGl_GlFunctions::glMultiTexCoord1d; |
66 | using OpenGl_GlFunctions::glMultiTexCoord1dv; |
67 | using OpenGl_GlFunctions::glMultiTexCoord1f; |
68 | using OpenGl_GlFunctions::glMultiTexCoord1fv; |
69 | using OpenGl_GlFunctions::glMultiTexCoord1i; |
70 | using OpenGl_GlFunctions::glMultiTexCoord1iv; |
71 | using OpenGl_GlFunctions::glMultiTexCoord1s; |
72 | using OpenGl_GlFunctions::glMultiTexCoord1sv; |
73 | using OpenGl_GlFunctions::glMultiTexCoord2d; |
74 | using OpenGl_GlFunctions::glMultiTexCoord2dv; |
75 | using OpenGl_GlFunctions::glMultiTexCoord2f; |
76 | using OpenGl_GlFunctions::glMultiTexCoord2fv; |
77 | using OpenGl_GlFunctions::glMultiTexCoord2i; |
78 | using OpenGl_GlFunctions::glMultiTexCoord2iv; |
79 | using OpenGl_GlFunctions::glMultiTexCoord2s; |
80 | using OpenGl_GlFunctions::glMultiTexCoord2sv; |
81 | using OpenGl_GlFunctions::glMultiTexCoord3d; |
82 | using OpenGl_GlFunctions::glMultiTexCoord3dv; |
83 | using OpenGl_GlFunctions::glMultiTexCoord3f; |
84 | using OpenGl_GlFunctions::glMultiTexCoord3fv; |
85 | using OpenGl_GlFunctions::glMultiTexCoord3i; |
86 | using OpenGl_GlFunctions::glMultiTexCoord3iv; |
87 | using OpenGl_GlFunctions::glMultiTexCoord3s; |
88 | using OpenGl_GlFunctions::glMultiTexCoord3sv; |
89 | using OpenGl_GlFunctions::glMultiTexCoord4d; |
90 | using OpenGl_GlFunctions::glMultiTexCoord4dv; |
91 | using OpenGl_GlFunctions::glMultiTexCoord4f; |
92 | using OpenGl_GlFunctions::glMultiTexCoord4fv; |
93 | using OpenGl_GlFunctions::glMultiTexCoord4i; |
94 | using OpenGl_GlFunctions::glMultiTexCoord4iv; |
95 | using OpenGl_GlFunctions::glMultiTexCoord4s; |
96 | using OpenGl_GlFunctions::glMultiTexCoord4sv; |
97 | |
98 | using OpenGl_GlFunctions::glClientActiveTexture; |
99 | |
100 | public: //! @name Matrix operations (removed since 3.1) |
101 | |
102 | using OpenGl_GlFunctions::glLoadTransposeMatrixf; |
103 | using OpenGl_GlFunctions::glLoadTransposeMatrixd; |
104 | using OpenGl_GlFunctions::glMultTransposeMatrixf; |
105 | using OpenGl_GlFunctions::glMultTransposeMatrixd; |
5f8b738e |
106 | |
ca3c13d1 |
107 | #endif |
108 | |
5f8b738e |
109 | }; |
110 | |
01ca42b2 |
111 | #endif // _OpenGl_GlCore13_Header |