1// Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3/***************************************************************************
4** This file was generated by glgen version 0.1
5** Command line was: glgen
6**
7** glgen is Copyright (C) 2012 Klaralvdalens Datakonsult AB (KDAB)
8**
9** This is an auto-generated file.
10** Do not edit! All changes made to it will be lost.
11**
12****************************************************************************/
13
14#ifndef QOPENGLVERSIONFUNCTIONS_P_H
15#define QOPENGLVERSIONFUNCTIONS_P_H
16
17//
18// W A R N I N G
19// -------------
20//
21// This file is not part of the Qt API. It exists purely as an
22// implementation detail. This header file may change from version to
23// version without notice, or even be removed.
24//
25// We mean it.
26//
27
28#include "qopenglversionfunctions.h"
29
30#include <QtGui/private/qopenglcontext_p.h>
31
32#include <QtOpenGL/qtopenglglobal.h>
33#include <QtOpenGL/QOpenGLVersionProfile>
34#include <QtCore/QSet>
35
36QT_BEGIN_NAMESPACE
37
38class QAbstractOpenGLFunctions;
39
40class QOpenGLContextVersionData : public QOpenGLContextVersionFunctionHelper
41{
42public:
43 QHash<QOpenGLVersionProfile, QAbstractOpenGLFunctions *> functions;
44 QOpenGLVersionFunctionsStorage functionsStorage;
45 QSet<QAbstractOpenGLFunctions *> externalFunctions;
46 ~QOpenGLContextVersionData() override;
47 static QOpenGLContextVersionData *forContext(QOpenGLContext *context);
48};
49
50QT_END_NAMESPACE
51
52#endif // QOPENGLVERSIONFUNCTIONS_P_H
53

source code of qtbase/src/opengl/qopenglversionfunctions_p.h