0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / OpenGl / OpenGl_GlCore15.hxx
1 // File:      OpenGl_GlCore15.hxx
2 // Created:   06 March 2012
3 // Author:    Kirill GAVRILOV
4 // Copyright: OPEN CASCADE 2012
5
6 #ifndef _OpenGl_GlCore15_H__
7 #define _OpenGl_GlCore15_H__
8
9 #include <OpenGl_GlCore14.hxx>
10
11 //! Function list for GL1.5 core functionality.
12 struct OpenGl_GlCore15 : public OpenGl_GlCore14
13 {
14
15   PFNGLGENQUERIESPROC           glGenQueries;
16   PFNGLDELETEQUERIESPROC        glDeleteQueries;
17   PFNGLISQUERYPROC              glIsQuery;
18   PFNGLBEGINQUERYPROC           glBeginQuery;
19   PFNGLENDQUERYPROC             glEndQuery;
20   PFNGLGETQUERYIVPROC           glGetQueryiv;
21   PFNGLGETQUERYOBJECTIVPROC     glGetQueryObjectiv;
22   PFNGLGETQUERYOBJECTUIVPROC    glGetQueryObjectuiv;
23   PFNGLBINDBUFFERPROC           glBindBuffer;
24   PFNGLDELETEBUFFERSPROC        glDeleteBuffers;
25   PFNGLGENBUFFERSPROC           glGenBuffers;
26   PFNGLISBUFFERPROC             glIsBuffer;
27   PFNGLBUFFERDATAPROC           glBufferData;
28   PFNGLBUFFERSUBDATAPROC        glBufferSubData;
29   PFNGLGETBUFFERSUBDATAPROC     glGetBufferSubData;
30   PFNGLMAPBUFFERPROC            glMapBuffer;
31   PFNGLUNMAPBUFFERPROC          glUnmapBuffer;
32   PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv;
33   PFNGLGETBUFFERPOINTERVPROC    glGetBufferPointerv;
34
35 };
36
37 #endif // _OpenGl_GlCore15_H__