Make the new OpenGL function headers compile on their own
You can't use #ifndef QT_NO_OPENGL before including whatever is supposed to define that. That's qconfig.h, included by qglobal.h. Also, make sure that the desktop OpenGL code isn't activated when compiling in OpenGL ES 2 mode -- QOpenGLFunctions_1_0_CoreBackend and other classes aren't defined. Change-Id: I127edf56d42257580579789d0566b7e11c21133b Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
5107cacaee
commit
6f8bc4de40
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_1_0_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_1_0_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_1_0_H
|
#define QOPENGLVERSIONFUNCTIONS_1_0_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -1923,6 +1925,6 @@ inline void QOpenGLFunctions_1_0::glNewList(GLuint list, GLenum mode)
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_1_1_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_1_1_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_1_1_H
|
#define QOPENGLVERSIONFUNCTIONS_1_1_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -2113,6 +2115,6 @@ inline void QOpenGLFunctions_1_1::glArrayElement(GLint i)
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_1_2_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_1_2_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_1_2_H
|
#define QOPENGLVERSIONFUNCTIONS_1_2_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -2351,6 +2353,6 @@ inline void QOpenGLFunctions_1_2::glTexImage3D(GLenum target, GLint level, GLint
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_1_3_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_1_3_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_1_3_H
|
#define QOPENGLVERSIONFUNCTIONS_1_3_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -2637,6 +2639,6 @@ inline void QOpenGLFunctions_1_3::glClientActiveTexture(GLenum texture)
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_1_4_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_1_4_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_1_4_H
|
#define QOPENGLVERSIONFUNCTIONS_1_4_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -2917,6 +2919,6 @@ inline void QOpenGLFunctions_1_4::glFogCoordf(GLfloat coord)
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_1_5_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_1_5_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_1_5_H
|
#define QOPENGLVERSIONFUNCTIONS_1_5_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -3040,6 +3042,6 @@ inline void QOpenGLFunctions_1_5::glFogCoordf(GLfloat coord)
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_2_0_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_2_0_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_2_0_H
|
#define QOPENGLVERSIONFUNCTIONS_2_0_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -3608,6 +3610,6 @@ inline void QOpenGLFunctions_2_0::glVertexAttrib1d(GLuint index, GLdouble x)
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_2_1_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_2_1_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_2_1_H
|
#define QOPENGLVERSIONFUNCTIONS_2_1_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -3653,6 +3655,6 @@ inline void QOpenGLFunctions_2_1::glVertexAttrib1d(GLuint index, GLdouble x)
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_3_0_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_3_0_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_3_0_H
|
#define QOPENGLVERSIONFUNCTIONS_3_0_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -4167,6 +4169,6 @@ inline void QOpenGLFunctions_3_0::glVertexAttribI1i(GLuint index, GLint x)
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_3_1_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_3_1_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_3_1_H
|
#define QOPENGLVERSIONFUNCTIONS_3_1_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -1585,6 +1587,6 @@ inline void QOpenGLFunctions_3_1::glDrawArraysInstanced(GLenum mode, GLint first
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_3_2_COMPATIBILITY_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_3_2_COMPATIBILITY_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_3_2_COMPATIBILITY_H
|
#define QOPENGLVERSIONFUNCTIONS_3_2_COMPATIBILITY_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -4371,6 +4373,6 @@ inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI1i(GLuint index,
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_3_2_CORE_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_3_2_CORE_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_3_2_CORE_H
|
#define QOPENGLVERSIONFUNCTIONS_3_2_CORE_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -1704,6 +1706,6 @@ inline void QOpenGLFunctions_3_2_Core::glGetInteger64i_v(GLenum target, GLuint i
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_3_3_COMPATIBILITY_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_3_3_COMPATIBILITY_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_3_3_COMPATIBILITY_H
|
#define QOPENGLVERSIONFUNCTIONS_3_3_COMPATIBILITY_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -4728,6 +4730,6 @@ inline void QOpenGLFunctions_3_3_Compatibility::glVertexAttribI1i(GLuint index,
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_3_3_CORE_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_3_3_CORE_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_3_3_CORE_H
|
#define QOPENGLVERSIONFUNCTIONS_3_3_CORE_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -2057,6 +2059,6 @@ inline void QOpenGLFunctions_3_3_Core::glVertexAttribDivisor(GLuint index, GLuin
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_4_0_COMPATIBILITY_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_4_0_COMPATIBILITY_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_4_0_COMPATIBILITY_H
|
#define QOPENGLVERSIONFUNCTIONS_4_0_COMPATIBILITY_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -5013,6 +5015,6 @@ inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI1i(GLuint index,
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_4_0_CORE_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_4_0_CORE_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_4_0_CORE_H
|
#define QOPENGLVERSIONFUNCTIONS_4_0_CORE_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -2338,6 +2340,6 @@ inline void QOpenGLFunctions_4_0_Core::glMinSampleShading(GLfloat value)
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_4_1_COMPATIBILITY_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_4_1_COMPATIBILITY_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_4_1_COMPATIBILITY_H
|
#define QOPENGLVERSIONFUNCTIONS_4_1_COMPATIBILITY_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -5550,6 +5552,6 @@ inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI1i(GLuint index,
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_4_1_CORE_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_4_1_CORE_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_4_1_CORE_H
|
#define QOPENGLVERSIONFUNCTIONS_4_1_CORE_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -2871,6 +2873,6 @@ inline void QOpenGLFunctions_4_1_Core::glReleaseShaderCompiler()
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_4_2_COMPATIBILITY_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_4_2_COMPATIBILITY_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_4_2_COMPATIBILITY_H
|
#define QOPENGLVERSIONFUNCTIONS_4_2_COMPATIBILITY_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -5631,6 +5633,6 @@ inline void QOpenGLFunctions_4_2_Compatibility::glVertexAttribI1i(GLuint index,
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_4_2_CORE_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_4_2_CORE_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_4_2_CORE_H
|
#define QOPENGLVERSIONFUNCTIONS_4_2_CORE_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -2948,6 +2950,6 @@ inline void QOpenGLFunctions_4_2_Core::glDrawArraysInstancedBaseInstance(GLenum
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_4_3_COMPATIBILITY_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_4_3_COMPATIBILITY_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_4_3_COMPATIBILITY_H
|
#define QOPENGLVERSIONFUNCTIONS_4_3_COMPATIBILITY_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -5838,6 +5840,6 @@ inline void QOpenGLFunctions_4_3_Compatibility::glVertexAttribI1i(GLuint index,
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -51,7 +51,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_4_3_CORE_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_4_3_CORE_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_4_3_CORE_H
|
#define QOPENGLVERSIONFUNCTIONS_4_3_CORE_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -3151,6 +3153,6 @@ inline void QOpenGLFunctions_4_3_Core::glClearBufferData(GLenum target, GLenum i
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -42,7 +42,9 @@
|
|||||||
#ifndef QOPENGLVERSIONFUNCTIONS_ES2_H
|
#ifndef QOPENGLVERSIONFUNCTIONS_ES2_H
|
||||||
#define QOPENGLVERSIONFUNCTIONS_ES2_H
|
#define QOPENGLVERSIONFUNCTIONS_ES2_H
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
|
#if defined(QT_OPENGL_ES_2)
|
||||||
|
|
||||||
#include <QtGui/QOpenGLVersionFunctions>
|
#include <QtGui/QOpenGLVersionFunctions>
|
||||||
#include <QtGui/qopenglcontext.h>
|
#include <QtGui/qopenglcontext.h>
|
||||||
@ -926,6 +928,6 @@ inline void QOpenGLFunctions_ES2::glViewport(GLint x, GLint y, GLsizei width, GL
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_OPENGL
|
#endif // QT_OPENGL_ES_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user