0032465: Visualization, TKOpenGles - invalid enum on GL_RGBA16F initialization in...
[occt.git] / src / OpenGl / OpenGl_GlCore45.hxx
1 // Copyright (c) 2019 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14 #ifndef _OpenGl_GlCore45_Header
15 #define _OpenGl_GlCore45_Header
16
17 #include <OpenGl_GlCore44.hxx>
18
19 //! OpenGL 4.5 definition.
20 struct OpenGl_GlCore45 : public OpenGl_GlCore44
21 {
22 private:
23   typedef OpenGl_GlCore44 theBaseClass_t;
24
25 public: //! @name OpenGL 4.5 additives to 4.4
26
27 #if !defined(GL_ES_VERSION_2_0)
28   using theBaseClass_t::glClipControl;
29   using theBaseClass_t::glCreateTransformFeedbacks;
30   using theBaseClass_t::glTransformFeedbackBufferBase;
31   using theBaseClass_t::glTransformFeedbackBufferRange;
32   using theBaseClass_t::glGetTransformFeedbackiv;
33   using theBaseClass_t::glGetTransformFeedbacki_v;
34   using theBaseClass_t::glGetTransformFeedbacki64_v;
35   using theBaseClass_t::glCreateBuffers;
36   using theBaseClass_t::glNamedBufferStorage;
37   using theBaseClass_t::glNamedBufferData;
38   using theBaseClass_t::glNamedBufferSubData;
39   using theBaseClass_t::glCopyNamedBufferSubData;
40   using theBaseClass_t::glClearNamedBufferData;
41   using theBaseClass_t::glClearNamedBufferSubData;
42   using theBaseClass_t::glMapNamedBuffer;
43   using theBaseClass_t::glMapNamedBufferRange;
44   using theBaseClass_t::glUnmapNamedBuffer;
45   using theBaseClass_t::glFlushMappedNamedBufferRange;
46   using theBaseClass_t::glGetNamedBufferParameteriv;
47   using theBaseClass_t::glGetNamedBufferParameteri64v;
48   using theBaseClass_t::glGetNamedBufferPointerv;
49   using theBaseClass_t::glGetNamedBufferSubData;
50   using theBaseClass_t::glCreateFramebuffers;
51   using theBaseClass_t::glNamedFramebufferRenderbuffer;
52   using theBaseClass_t::glNamedFramebufferParameteri;
53   using theBaseClass_t::glNamedFramebufferTexture;
54   using theBaseClass_t::glNamedFramebufferTextureLayer;
55   using theBaseClass_t::glNamedFramebufferDrawBuffer;
56   using theBaseClass_t::glNamedFramebufferDrawBuffers;
57   using theBaseClass_t::glNamedFramebufferReadBuffer;
58   using theBaseClass_t::glInvalidateNamedFramebufferData;
59   using theBaseClass_t::glInvalidateNamedFramebufferSubData;
60   using theBaseClass_t::glClearNamedFramebufferiv;
61   using theBaseClass_t::glClearNamedFramebufferuiv;
62   using theBaseClass_t::glClearNamedFramebufferfv;
63   using theBaseClass_t::glClearNamedFramebufferfi;
64   using theBaseClass_t::glBlitNamedFramebuffer;
65   using theBaseClass_t::glCheckNamedFramebufferStatus;
66   using theBaseClass_t::glGetNamedFramebufferParameteriv;
67   using theBaseClass_t::glGetNamedFramebufferAttachmentParameteriv;
68   using theBaseClass_t::glCreateRenderbuffers;
69   using theBaseClass_t::glNamedRenderbufferStorage;
70   using theBaseClass_t::glNamedRenderbufferStorageMultisample;
71   using theBaseClass_t::glGetNamedRenderbufferParameteriv;
72   using theBaseClass_t::glCreateTextures;
73   using theBaseClass_t::glTextureBuffer;
74   using theBaseClass_t::glTextureBufferRange;
75   using theBaseClass_t::glTextureStorage1D;
76   using theBaseClass_t::glTextureStorage2D;
77   using theBaseClass_t::glTextureStorage3D;
78   using theBaseClass_t::glTextureStorage2DMultisample;
79   using theBaseClass_t::glTextureStorage3DMultisample;
80   using theBaseClass_t::glTextureSubImage1D;
81   using theBaseClass_t::glTextureSubImage2D;
82   using theBaseClass_t::glTextureSubImage3D;
83   using theBaseClass_t::glCompressedTextureSubImage1D;
84   using theBaseClass_t::glCompressedTextureSubImage2D;
85   using theBaseClass_t::glCompressedTextureSubImage3D;
86   using theBaseClass_t::glCopyTextureSubImage1D;
87   using theBaseClass_t::glCopyTextureSubImage2D;
88   using theBaseClass_t::glCopyTextureSubImage3D;
89   using theBaseClass_t::glTextureParameterf;
90   using theBaseClass_t::glTextureParameterfv;
91   using theBaseClass_t::glTextureParameteri;
92   using theBaseClass_t::glTextureParameterIiv;
93   using theBaseClass_t::glTextureParameterIuiv;
94   using theBaseClass_t::glTextureParameteriv;
95   using theBaseClass_t::glGenerateTextureMipmap;
96   using theBaseClass_t::glBindTextureUnit;
97   using theBaseClass_t::glGetTextureImage;
98   using theBaseClass_t::glGetCompressedTextureImage;
99   using theBaseClass_t::glGetTextureLevelParameterfv;
100   using theBaseClass_t::glGetTextureLevelParameteriv;
101   using theBaseClass_t::glGetTextureParameterfv;
102   using theBaseClass_t::glGetTextureParameterIiv;
103   using theBaseClass_t::glGetTextureParameterIuiv;
104   using theBaseClass_t::glGetTextureParameteriv;
105   using theBaseClass_t::glCreateVertexArrays;
106   using theBaseClass_t::glDisableVertexArrayAttrib;
107   using theBaseClass_t::glEnableVertexArrayAttrib;
108   using theBaseClass_t::glVertexArrayElementBuffer;
109   using theBaseClass_t::glVertexArrayVertexBuffer;
110   using theBaseClass_t::glVertexArrayVertexBuffers;
111   using theBaseClass_t::glVertexArrayAttribBinding;
112   using theBaseClass_t::glVertexArrayAttribFormat;
113   using theBaseClass_t::glVertexArrayAttribIFormat;
114   using theBaseClass_t::glVertexArrayAttribLFormat;
115   using theBaseClass_t::glVertexArrayBindingDivisor;
116   using theBaseClass_t::glGetVertexArrayiv;
117   using theBaseClass_t::glGetVertexArrayIndexediv;
118   using theBaseClass_t::glGetVertexArrayIndexed64iv;
119   using theBaseClass_t::glCreateSamplers;
120   using theBaseClass_t::glCreateProgramPipelines;
121   using theBaseClass_t::glCreateQueries;
122   using theBaseClass_t::glGetQueryBufferObjecti64v;
123   using theBaseClass_t::glGetQueryBufferObjectiv;
124   using theBaseClass_t::glGetQueryBufferObjectui64v;
125   using theBaseClass_t::glGetQueryBufferObjectuiv;
126   using theBaseClass_t::glMemoryBarrierByRegion;
127   using theBaseClass_t::glGetTextureSubImage;
128   using theBaseClass_t::glGetCompressedTextureSubImage;
129   using theBaseClass_t::glGetGraphicsResetStatus;
130   using theBaseClass_t::glGetnCompressedTexImage;
131   using theBaseClass_t::glGetnTexImage;
132   using theBaseClass_t::glGetnUniformdv;
133   using theBaseClass_t::glGetnUniformfv;
134   using theBaseClass_t::glGetnUniformiv;
135   using theBaseClass_t::glGetnUniformuiv;
136   using theBaseClass_t::glReadnPixels;
137   using theBaseClass_t::glGetnMapdv;
138   using theBaseClass_t::glGetnMapfv;
139   using theBaseClass_t::glGetnMapiv;
140   using theBaseClass_t::glGetnPixelMapfv;
141   using theBaseClass_t::glGetnPixelMapuiv;
142   using theBaseClass_t::glGetnPixelMapusv;
143   using theBaseClass_t::glGetnPolygonStipple;
144   using theBaseClass_t::glGetnColorTable;
145   using theBaseClass_t::glGetnConvolutionFilter;
146   using theBaseClass_t::glGetnSeparableFilter;
147   using theBaseClass_t::glGetnHistogram;
148   using theBaseClass_t::glGetnMinmax;
149   using theBaseClass_t::glTextureBarrier;
150 #endif
151
152 };
153
154 #endif // _OpenGl_GlCore45_Header