43 #include <QtGui/qtguiglobal.h>
49 # include <QtCore/qt_windows.h>
66 #if QT_CONFIG(opengles2)
67 # if defined(Q_OS_IOS) || defined(Q_OS_TVOS)
68 # if QT_CONFIG(opengles3)
69 # include <OpenGLES/ES3/gl.h>
70 # include <OpenGLES/ES3/glext.h>
72 # include <OpenGLES/ES2/gl.h>
73 # include <OpenGLES/ES2/glext.h>
84 # elif !defined(Q_OS_DARWIN)
99 # ifndef GL_GLEXT_PROTOTYPES
100 # define GL_GLEXT_PROTOTYPES
101 # define QGL_TEMP_GLEXT_PROTO
104 # if QT_CONFIG(opengles32)
105 # include <GLES3/gl32.h>
106 # elif QT_CONFIG(opengles31)
107 # include <GLES3/gl31.h>
108 # elif QT_CONFIG(opengles3)
109 # include <GLES3/gl3.h>
114 # ifdef QGL_TEMP_GLEXT_PROTO
115 # undef GL_GLEXT_PROTOTYPES
116 # undef QGL_TEMP_GLEXT_PROTO
127 # include <QtGui/qopengles2ext.h>
130 # if defined(Q_OS_MACOS)
131 # include <OpenGL/gl.h>
132 # define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
133 # include <OpenGL/gl3.h>
134 # include <OpenGL/glext.h>
136 # define GL_GLEXT_LEGACY
139 # ifndef GL_GLEXT_PROTOTYPES
140 # define GL_GLEXT_PROTOTYPES
142 # undef GL_GLEXT_PROTOTYPES
146 # include <QtGui/qopenglext.h>
151 #if !QT_CONFIG(opengles2)
153 #define QT_OPENGL_3_2
155 # if !defined(Q_OS_MAC)
156 # define QT_OPENGL_4_3
163 #if !QT_CONFIG(opengles2)
171 #define APIENTRYP APIENTRY *
182 #ifndef GL_VERSION_2_0
187 #ifndef GL_VERSION_1_5
193 #ifndef GL_ARB_vertex_buffer_object
199 #ifndef GL_ARB_shader_objects
210 #ifndef GL_ARB_half_float_pixel
214 #ifndef GL_NV_half_float
218 #ifndef GLEXT_64_TYPES_DEFINED
220 #define GLEXT_64_TYPES_DEFINED
223 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
224 #include <inttypes.h>
225 #elif defined(__sun__) || defined(__digital__)
226 #include <inttypes.h>
227 #if defined(__STDC__)
228 #if defined(__arch64__) || defined(_LP64)
229 typedef long int int64_t;
230 typedef unsigned long int uint64_t;
232 typedef long long int int64_t;
233 typedef unsigned long long int uint64_t;
236 #elif defined(__UNIXOS2__) || defined(__SOL64__)
237 typedef long int int32_t;
238 typedef long long int int64_t;
239 typedef unsigned long long int uint64_t;
240 #elif defined(_WIN32) && (defined(__GNUC__) || defined(_MSC_VER))
242 #elif defined(_WIN32)
243 typedef __int32 int32_t;
244 typedef __int64 int64_t;
245 typedef unsigned __int64 uint64_t;
248 #include <inttypes.h>
252 #ifndef GL_EXT_timer_query
263 #ifndef GL_ARB_cl_event
269 #ifndef GL_ARB_debug_output
273 #ifndef GL_AMD_debug_output
281 #ifndef GL_NV_vdpau_interop
295 #if defined(APIENTRY) && !defined(QOPENGLF_APIENTRY)
296 # define QOPENGLF_APIENTRY APIENTRY
299 # ifndef QOPENGLF_APIENTRYP
300 # ifdef QOPENGLF_APIENTRY
301 # define QOPENGLF_APIENTRYP QOPENGLF_APIENTRY *
303 # define QOPENGLF_APIENTRY
304 # define QOPENGLF_APIENTRYP *
const QLoggingCategory & category()
[1]
GLenum GLuint GLenum GLsizei length
GLintptr GLvdpauSurfaceNV
GLenum GLuint GLenum GLsizei const GLchar const GLvoid * userParam
void(APIENTRY * GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const GLvoid *userParam)
QT_BEGIN_NAMESPACE typedef ptrdiff_t qopengl_GLintptr
ptrdiff_t qopengl_GLsizeiptr
void(APIENTRY * GLDEBUGPROCAMD)(GLuint id, GLenum category, GLenum severity, GLsizei length, const GLchar *message, GLvoid *userParam)
typedef void(APIENTRY *GLDEBUGPROCARB)(GLenum source
GLenum GLuint GLenum GLsizei const GLchar * message
GLenum GLuint GLenum severity
typedef GLsizei(GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)(GLuint target)
typedef GLenum(GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC)(void)
typedef GLuint(GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC)(GLuint count
GLsizei GLsizei GLchar * source
void(APIENTRY * GLDEBUGPROCARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam)