Inline the constructors for QOpenGLFunctions_X_Backend
They are private classes and only called from non inline code in Qt, so the change is safe. Reduces the size of QtGui by another 10k. Change-Id: I67e0592089b9ac89d3f2ab4456024ad7c5a55eca Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
95a8a745e0
commit
c8f9a22f8b
@ -291,12 +291,6 @@ QOpenGLContext *QAbstractOpenGLFunctions::owningContext() const
|
||||
|
||||
#if !defined(QT_OPENGL_ES_2)
|
||||
|
||||
QOpenGLFunctions_1_0_CoreBackend::QOpenGLFunctions_1_0_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
// OpenGL 1.0 core functions
|
||||
QT_OPENGL_IMPLEMENT_WIN(QOpenGLFunctions_1_0_CoreBackend, QT_OPENGL_1_0_FUNCTIONS)
|
||||
|
||||
@ -305,12 +299,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_0_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 0, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_1_1_CoreBackend::QOpenGLFunctions_1_1_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT_WIN(QOpenGLFunctions_1_1_CoreBackend, QT_OPENGL_1_1_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_1_1_CoreBackend::versionStatus()
|
||||
@ -318,12 +306,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_1_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 1, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_1_2_CoreBackend::QOpenGLFunctions_1_2_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_1_2_CoreBackend, QT_OPENGL_1_2_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_1_2_CoreBackend::versionStatus()
|
||||
@ -331,12 +313,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_2_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 2, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_1_3_CoreBackend::QOpenGLFunctions_1_3_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_1_3_CoreBackend, QT_OPENGL_1_3_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_1_3_CoreBackend::versionStatus()
|
||||
@ -344,10 +320,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_3_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 3, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_1_4_CoreBackend::QOpenGLFunctions_1_4_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{ init(); }
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_1_4_CoreBackend, QT_OPENGL_1_4_FUNCTIONS);
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_1_4_CoreBackend::versionStatus()
|
||||
@ -355,12 +327,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_4_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 4, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_1_5_CoreBackend::QOpenGLFunctions_1_5_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_1_5_CoreBackend, QT_OPENGL_1_5_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_1_5_CoreBackend::versionStatus()
|
||||
@ -368,12 +334,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_5_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 5, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_2_0_CoreBackend::QOpenGLFunctions_2_0_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_2_0_CoreBackend, QT_OPENGL_2_0_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_2_0_CoreBackend::versionStatus()
|
||||
@ -381,12 +341,6 @@ QOpenGLVersionStatus QOpenGLFunctions_2_0_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(2, 0, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_2_1_CoreBackend::QOpenGLFunctions_2_1_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_2_1_CoreBackend, QT_OPENGL_2_1_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_2_1_CoreBackend::versionStatus()
|
||||
@ -394,12 +348,6 @@ QOpenGLVersionStatus QOpenGLFunctions_2_1_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(2, 1, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_3_0_CoreBackend::QOpenGLFunctions_3_0_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_3_0_CoreBackend, QT_OPENGL_3_0_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_3_0_CoreBackend::versionStatus()
|
||||
@ -407,12 +355,6 @@ QOpenGLVersionStatus QOpenGLFunctions_3_0_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(3, 0, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_3_1_CoreBackend::QOpenGLFunctions_3_1_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_3_1_CoreBackend, QT_OPENGL_3_1_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_3_1_CoreBackend::versionStatus()
|
||||
@ -420,12 +362,6 @@ QOpenGLVersionStatus QOpenGLFunctions_3_1_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(3, 1, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_3_2_CoreBackend::QOpenGLFunctions_3_2_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_3_2_CoreBackend, QT_OPENGL_3_2_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_3_2_CoreBackend::versionStatus()
|
||||
@ -433,12 +369,6 @@ QOpenGLVersionStatus QOpenGLFunctions_3_2_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(3, 2, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_3_3_CoreBackend::QOpenGLFunctions_3_3_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_3_3_CoreBackend, QT_OPENGL_3_3_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_3_3_CoreBackend::versionStatus()
|
||||
@ -446,12 +376,6 @@ QOpenGLVersionStatus QOpenGLFunctions_3_3_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(3, 3, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_4_0_CoreBackend::QOpenGLFunctions_4_0_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_4_0_CoreBackend, QT_OPENGL_4_0_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_4_0_CoreBackend::versionStatus()
|
||||
@ -459,12 +383,6 @@ QOpenGLVersionStatus QOpenGLFunctions_4_0_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(4, 0, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_4_1_CoreBackend::QOpenGLFunctions_4_1_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_4_1_CoreBackend, QT_OPENGL_4_1_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_4_1_CoreBackend::versionStatus()
|
||||
@ -472,12 +390,6 @@ QOpenGLVersionStatus QOpenGLFunctions_4_1_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(4, 1, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_4_2_CoreBackend::QOpenGLFunctions_4_2_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_4_2_CoreBackend, QT_OPENGL_4_2_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_4_2_CoreBackend::versionStatus()
|
||||
@ -485,12 +397,6 @@ QOpenGLVersionStatus QOpenGLFunctions_4_2_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(4, 2, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_4_3_CoreBackend::QOpenGLFunctions_4_3_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_4_3_CoreBackend, QT_OPENGL_4_3_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_4_3_CoreBackend::versionStatus()
|
||||
@ -498,12 +404,6 @@ QOpenGLVersionStatus QOpenGLFunctions_4_3_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(4, 3, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_4_4_CoreBackend::QOpenGLFunctions_4_4_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_4_4_CoreBackend, QT_OPENGL_4_4_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_4_4_CoreBackend::versionStatus()
|
||||
@ -511,12 +411,6 @@ QOpenGLVersionStatus QOpenGLFunctions_4_4_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(4, 4, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_4_5_CoreBackend::QOpenGLFunctions_4_5_CoreBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_4_5_CoreBackend, QT_OPENGL_4_5_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_4_5_CoreBackend::versionStatus()
|
||||
@ -524,12 +418,6 @@ QOpenGLVersionStatus QOpenGLFunctions_4_5_CoreBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(4, 5, QOpenGLVersionStatus::CoreStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_1_0_DeprecatedBackend::QOpenGLFunctions_1_0_DeprecatedBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT_WIN(QOpenGLFunctions_1_0_DeprecatedBackend, QT_OPENGL_1_0_DEPRECATED_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_1_0_DeprecatedBackend::versionStatus()
|
||||
@ -537,12 +425,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_0_DeprecatedBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 0, QOpenGLVersionStatus::DeprecatedStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_1_1_DeprecatedBackend::QOpenGLFunctions_1_1_DeprecatedBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT_WIN(QOpenGLFunctions_1_1_DeprecatedBackend, QT_OPENGL_1_1_DEPRECATED_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_1_1_DeprecatedBackend::versionStatus()
|
||||
@ -550,12 +432,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_1_DeprecatedBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 1, QOpenGLVersionStatus::DeprecatedStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_1_2_DeprecatedBackend::QOpenGLFunctions_1_2_DeprecatedBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_1_2_DeprecatedBackend, QT_OPENGL_1_2_DEPRECATED_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_1_2_DeprecatedBackend::versionStatus()
|
||||
@ -563,12 +439,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_2_DeprecatedBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 2, QOpenGLVersionStatus::DeprecatedStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_1_3_DeprecatedBackend::QOpenGLFunctions_1_3_DeprecatedBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_1_3_DeprecatedBackend, QT_OPENGL_1_3_DEPRECATED_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_1_3_DeprecatedBackend::versionStatus()
|
||||
@ -576,12 +446,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_3_DeprecatedBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 3, QOpenGLVersionStatus::DeprecatedStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_1_4_DeprecatedBackend::QOpenGLFunctions_1_4_DeprecatedBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_1_4_DeprecatedBackend, QT_OPENGL_1_4_DEPRECATED_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_1_4_DeprecatedBackend::versionStatus()
|
||||
@ -589,12 +453,6 @@ QOpenGLVersionStatus QOpenGLFunctions_1_4_DeprecatedBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(1, 4, QOpenGLVersionStatus::DeprecatedStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_2_0_DeprecatedBackend::QOpenGLFunctions_2_0_DeprecatedBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_2_0_DeprecatedBackend, QT_OPENGL_2_0_DEPRECATED_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_2_0_DeprecatedBackend::versionStatus()
|
||||
@ -602,12 +460,6 @@ QOpenGLVersionStatus QOpenGLFunctions_2_0_DeprecatedBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(2, 0, QOpenGLVersionStatus::DeprecatedStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_3_0_DeprecatedBackend::QOpenGLFunctions_3_0_DeprecatedBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_3_0_DeprecatedBackend, QT_OPENGL_3_0_DEPRECATED_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_3_0_DeprecatedBackend::versionStatus()
|
||||
@ -615,12 +467,6 @@ QOpenGLVersionStatus QOpenGLFunctions_3_0_DeprecatedBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(3, 0, QOpenGLVersionStatus::DeprecatedStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_3_3_DeprecatedBackend::QOpenGLFunctions_3_3_DeprecatedBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_3_3_DeprecatedBackend, QT_OPENGL_3_3_DEPRECATED_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_3_3_DeprecatedBackend::versionStatus()
|
||||
@ -628,12 +474,6 @@ QOpenGLVersionStatus QOpenGLFunctions_3_3_DeprecatedBackend::versionStatus()
|
||||
return QOpenGLVersionStatus(3, 3, QOpenGLVersionStatus::DeprecatedStatus);
|
||||
}
|
||||
|
||||
QOpenGLFunctions_4_5_DeprecatedBackend::QOpenGLFunctions_4_5_DeprecatedBackend(QOpenGLContext *context)
|
||||
: QOpenGLVersionFunctionsBackend(context)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
QT_OPENGL_IMPLEMENT(QOpenGLFunctions_4_5_DeprecatedBackend, QT_OPENGL_4_5_DEPRECATED_FUNCTIONS)
|
||||
|
||||
QOpenGLVersionStatus QOpenGLFunctions_4_5_DeprecatedBackend::versionStatus()
|
||||
|
@ -197,7 +197,11 @@ inline QAbstractOpenGLFunctionsPrivate *QAbstractOpenGLFunctionsPrivate::get(QAb
|
||||
class QOpenGLFunctions_1_0_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_0_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_0_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -258,7 +262,11 @@ public:
|
||||
class QOpenGLFunctions_1_1_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_1_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_1_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -287,7 +295,11 @@ public:
|
||||
class QOpenGLFunctions_1_2_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_2_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_2_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -306,7 +318,11 @@ public:
|
||||
class QOpenGLFunctions_1_3_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_3_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_3_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -328,7 +344,11 @@ public:
|
||||
class QOpenGLFunctions_1_4_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_4_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_4_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -348,7 +368,11 @@ public:
|
||||
class QOpenGLFunctions_1_5_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_5_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_5_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -380,7 +404,11 @@ public:
|
||||
class QOpenGLFunctions_2_0_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_2_0_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_2_0_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -486,7 +514,11 @@ public:
|
||||
class QOpenGLFunctions_2_1_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_2_1_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_2_1_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -505,7 +537,11 @@ public:
|
||||
class QOpenGLFunctions_3_0_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_3_0_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_3_0_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -602,7 +638,11 @@ public:
|
||||
class QOpenGLFunctions_3_1_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_3_1_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_3_1_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -627,7 +667,11 @@ public:
|
||||
class QOpenGLFunctions_3_2_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_3_2_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_3_2_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -659,7 +703,11 @@ public:
|
||||
class QOpenGLFunctions_3_3_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_3_3_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_3_3_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -730,7 +778,11 @@ public:
|
||||
class QOpenGLFunctions_4_0_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_4_0_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_4_0_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -789,7 +841,11 @@ public:
|
||||
class QOpenGLFunctions_4_1_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_4_1_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_4_1_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -890,7 +946,11 @@ public:
|
||||
class QOpenGLFunctions_4_2_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_4_2_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_4_2_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -915,7 +975,11 @@ public:
|
||||
class QOpenGLFunctions_4_3_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_4_3_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_4_3_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -971,7 +1035,11 @@ public:
|
||||
class QOpenGLFunctions_4_4_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_4_4_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_4_4_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -993,7 +1061,11 @@ public:
|
||||
class QOpenGLFunctions_4_5_CoreBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_4_5_CoreBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_4_5_CoreBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -1112,7 +1184,11 @@ public:
|
||||
class QOpenGLFunctions_1_0_DeprecatedBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_0_DeprecatedBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_0_DeprecatedBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -1383,7 +1459,11 @@ public:
|
||||
class QOpenGLFunctions_1_1_DeprecatedBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_1_DeprecatedBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_1_DeprecatedBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -1413,7 +1493,11 @@ public:
|
||||
class QOpenGLFunctions_1_2_DeprecatedBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_2_DeprecatedBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_2_DeprecatedBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -1458,7 +1542,11 @@ public:
|
||||
class QOpenGLFunctions_1_3_DeprecatedBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_3_DeprecatedBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_3_DeprecatedBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -1508,7 +1596,11 @@ public:
|
||||
class QOpenGLFunctions_1_4_DeprecatedBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_1_4_DeprecatedBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_1_4_DeprecatedBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -1559,7 +1651,11 @@ public:
|
||||
class QOpenGLFunctions_2_0_DeprecatedBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_2_0_DeprecatedBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_2_0_DeprecatedBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -1608,7 +1704,11 @@ public:
|
||||
class QOpenGLFunctions_3_0_DeprecatedBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_3_0_DeprecatedBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_3_0_DeprecatedBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -1641,7 +1741,11 @@ public:
|
||||
class QOpenGLFunctions_3_3_DeprecatedBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_3_3_DeprecatedBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_3_3_DeprecatedBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
@ -1684,7 +1788,11 @@ public:
|
||||
class QOpenGLFunctions_4_5_DeprecatedBackend : public QOpenGLVersionFunctionsBackend
|
||||
{
|
||||
public:
|
||||
QOpenGLFunctions_4_5_DeprecatedBackend(QOpenGLContext *context);
|
||||
QOpenGLFunctions_4_5_DeprecatedBackend(QOpenGLContext *c)
|
||||
: QOpenGLVersionFunctionsBackend(c)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
static QOpenGLVersionStatus versionStatus();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user