Qt 4.8
Classes | Macros | Typedefs | Functions
qglextensions_p.h File Reference
#include <QtGui/private/qegl_p.h>
#include <QtCore/qglobal.h>

Go to the source code of this file.

Classes

struct  QGLExtensionFuncs
 

Macros

#define APIENTRY
 
#define APIENTRYP   *
 
#define FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA
 
#define FRAMEBUFFER_SRGB_EXT   0x8DB9
 
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH   0x8B8A
 
#define GL_ACTIVE_ATTRIBUTES   0x8B89
 
#define GL_ACTIVE_UNIFORM_MAX_LENGTH   0x8B87
 
#define GL_ACTIVE_UNIFORMS   0x8B86
 
#define GL_ARRAY_BUFFER   0x8892
 
#define GL_ARRAY_BUFFER   0x8892
 
#define GL_BGRA   0x80E1
 
#define GL_BOOL   0x8B56
 
#define GL_BOOL_VEC2   0x8B57
 
#define GL_BOOL_VEC3   0x8B58
 
#define GL_BOOL_VEC4   0x8B59
 
#define GL_CLAMP_TO_EDGE   0x812F
 
#define GL_COLOR_ATTACHMENT0_EXT   0x8CE0
 
#define GL_COLOR_ATTACHMENT10_EXT   0x8CEA
 
#define GL_COLOR_ATTACHMENT11_EXT   0x8CEB
 
#define GL_COLOR_ATTACHMENT12_EXT   0x8CEC
 
#define GL_COLOR_ATTACHMENT13_EXT   0x8CED
 
#define GL_COLOR_ATTACHMENT14_EXT   0x8CEE
 
#define GL_COLOR_ATTACHMENT15_EXT   0x8CEF
 
#define GL_COLOR_ATTACHMENT1_EXT   0x8CE1
 
#define GL_COLOR_ATTACHMENT2_EXT   0x8CE2
 
#define GL_COLOR_ATTACHMENT3_EXT   0x8CE3
 
#define GL_COLOR_ATTACHMENT4_EXT   0x8CE4
 
#define GL_COLOR_ATTACHMENT5_EXT   0x8CE5
 
#define GL_COLOR_ATTACHMENT6_EXT   0x8CE6
 
#define GL_COLOR_ATTACHMENT7_EXT   0x8CE7
 
#define GL_COLOR_ATTACHMENT8_EXT   0x8CE8
 
#define GL_COLOR_ATTACHMENT9_EXT   0x8CE9
 
#define GL_COMPILE_STATUS   0x8B81
 
#define GL_CONSTANT_ALPHA   0x8003
 
#define GL_CONSTANT_COLOR   0x8001
 
#define GL_DECR_WRAP   0x8508
 
#define GL_DECR_WRAP_EXT   0x8508
 
#define GL_DEPTH24_STENCIL8_EXT   0x88F0
 
#define GL_DEPTH_ATTACHMENT_EXT   0x8D00
 
#define GL_DEPTH_COMPONENT16   0x81A5
 
#define GL_DEPTH_COMPONENT24_OES   0x81A6
 
#define GL_DEPTH_STENCIL_EXT   0x84F9
 
#define GL_DRAW_FRAMEBUFFER_EXT   0x8CA9
 
#define GL_DYNAMIC_COPY   0x88EA
 
#define GL_DYNAMIC_DRAW   0x88E8
 
#define GL_DYNAMIC_READ   0x88E9
 
#define GL_ELEMENT_ARRAY_BUFFER   0x8893
 
#define GL_FLOAT_MAT2   0x8B5A
 
#define GL_FLOAT_MAT3   0x8B5B
 
#define GL_FLOAT_MAT4   0x8B5C
 
#define GL_FLOAT_VEC2   0x8B50
 
#define GL_FLOAT_VEC3   0x8B51
 
#define GL_FLOAT_VEC4   0x8B52
 
#define GL_FRAGMENT_PROGRAM_ARB   0x8804
 
#define GL_FRAGMENT_SHADER   0x8B30
 
#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT   0x8DA7
 
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT   0x8CD1
 
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT   0x8CD0
 
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT   0x8CD4
 
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT   0x8CD3
 
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT   0x8CD4
 
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT   0x8CD2
 
#define GL_FRAMEBUFFER_BINDING_EXT   0x8CA6
 
#define GL_FRAMEBUFFER_COMPLETE_EXT   0x8CD5
 
#define GL_FRAMEBUFFER_EXT   0x8D40
 
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT   0x8CD6
 
#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT   0x8CD9
 
#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT   0x8CDB
 
#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT   0x8CD8
 
#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT   0x8CDA
 
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT   0x8DA9
 
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT   0x8DA8
 
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT   0x8CD7
 
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT   0x8D56
 
#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT   0x8CDC
 
#define GL_FRAMEBUFFER_UNSUPPORTED_EXT   0x8CDD
 
#define GL_GENERATE_MIPMAP_HINT_SGIS   0x8192
 
#define GL_GENERATE_MIPMAP_SGIS   0x8191
 
#define GL_GEOMETRY_INPUT_TYPE_EXT   0x8DDB
 
#define GL_GEOMETRY_OUTPUT_TYPE_EXT   0x8DDC
 
#define GL_GEOMETRY_SHADER_EXT   0x8DD9
 
#define GL_GEOMETRY_VERTICES_OUT_EXT   0x8DDA
 
#define GL_INCR_WRAP   0x8507
 
#define GL_INCR_WRAP_EXT   0x8507
 
#define GL_INFO_LOG_LENGTH   0x8B84
 
#define GL_INT_VEC2   0x8B53
 
#define GL_INT_VEC3   0x8B54
 
#define GL_INT_VEC4   0x8B55
 
#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT   0x0506
 
#define GL_LINE_STRIP_ADJACENCY_EXT   0xB
 
#define GL_LINES_ADJACENCY_EXT   0xA
 
#define GL_LINK_STATUS   0x8B82
 
#define GL_MAX_COLOR_ATTACHMENTS_EXT   0x8CDF
 
#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT   0x8DE0
 
#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT   0x8C29
 
#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT   0x8DE1
 
#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT   0x8DDF
 
#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT   0x8DDD
 
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV   0x84F8
 
#define GL_MAX_RENDERBUFFER_SIZE_EXT   0x84E8
 
#define GL_MAX_SAMPLES_EXT   0x8D57
 
#define GL_MAX_VARYING_COMPONENTS_EXT   0x8B4B
 
#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT   0x8DDE
 
#define GL_MIRRORED_REPEAT_IBM   0x8370
 
#define GL_MULTISAMPLE   0x809D
 
#define GL_ONE_MINUS_CONSTANT_ALPHA   0x8004
 
#define GL_ONE_MINUS_CONSTANT_COLOR   0x8002
 
#define GL_PACK_IMAGE_HEIGHT   0x806C
 
#define GL_PACK_SKIP_IMAGES   0x806B
 
#define GL_PIXEL_UNPACK_BUFFER_ARB   0x88EC
 
#define GL_PROGRAM_FORMAT_ASCII_ARB   0x8875
 
#define GL_PROGRAM_POINT_SIZE_EXT   0x8642
 
#define GL_PROXY_TEXTURE_RECTANGLE_NV   0x84F7
 
#define GL_READ_FRAMEBUFFER_EXT   0x8CA8
 
#define GL_RENDERBUFFER_ALPHA_SIZE_EXT   0x8D53
 
#define GL_RENDERBUFFER_BINDING_EXT   0x8CA7
 
#define GL_RENDERBUFFER_BLUE_SIZE_EXT   0x8D52
 
#define GL_RENDERBUFFER_DEPTH_SIZE_EXT   0x8D54
 
#define GL_RENDERBUFFER_EXT   0x8D41
 
#define GL_RENDERBUFFER_GREEN_SIZE_EXT   0x8D51
 
#define GL_RENDERBUFFER_HEIGHT_EXT   0x8D43
 
#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT   0x8D44
 
#define GL_RENDERBUFFER_RED_SIZE_EXT   0x8D50
 
#define GL_RENDERBUFFER_SAMPLES_EXT   0x8CAB
 
#define GL_RENDERBUFFER_STENCIL_SIZE_EXT   0x8D55
 
#define GL_RENDERBUFFER_WIDTH_EXT   0x8D42
 
#define GL_RGB16   0x8054
 
#define GL_SAMPLER_1D   0x8B5D
 
#define GL_SAMPLER_2D   0x8B5E
 
#define GL_SAMPLER_3D   0x8B5F
 
#define GL_SAMPLER_CUBE   0x8B60
 
#define GL_STATIC_COPY   0x88E6
 
#define GL_STATIC_DRAW   0x88E4
 
#define GL_STATIC_DRAW   0x88E4
 
#define GL_STATIC_READ   0x88E5
 
#define GL_STENCIL_ATTACHMENT_EXT   0x8D20
 
#define GL_STENCIL_INDEX16_EXT   0x8D49
 
#define GL_STENCIL_INDEX1_EXT   0x8D46
 
#define GL_STENCIL_INDEX4_EXT   0x8D47
 
#define GL_STENCIL_INDEX8_EXT   0x8D48
 
#define GL_STENCIL_INDEX_EXT   0x8D45
 
#define GL_STENCIL_TEST_TWO_SIDE_EXT   0x8910
 
#define GL_STREAM_COPY   0x88E2
 
#define GL_STREAM_DRAW   0x88E0
 
#define GL_STREAM_DRAW_ARB   0x88E0
 
#define GL_STREAM_READ   0x88E1
 
#define GL_TEXTURE0   0x84C0
 
#define GL_TEXTURE1   0x84C1
 
#define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6
 
#define GL_TEXTURE_RECTANGLE_NV   0x84F5
 
#define GL_TEXTURE_STENCIL_SIZE_EXT   0x88F1
 
#define GL_TRIANGLE_STRIP_ADJACENCY_EXT   0xD
 
#define GL_TRIANGLES_ADJACENCY_EXT   0xC
 
#define GL_UNPACK_IMAGE_HEIGHT   0x806E
 
#define GL_UNPACK_SKIP_IMAGES   0x806D
 
#define GL_UNSIGNED_INT_24_8_EXT   0x84FA
 
#define GL_UNSIGNED_INT_8_8_8_8_REV   0x8367
 
#define GL_UNSIGNED_SHORT_5_6_5   0x8363
 
#define GL_VERTEX_SHADER   0x8B31
 
#define GL_WRITE_ONLY_ARB   0x88B9
 
#define glActiveStencilFaceEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glActiveStencilFaceEXT
 
#define glActiveTexture   QGLContextPrivate::extensionFuncs(ctx).qt_glActiveTexture
 
#define glAttachShader   QGLContextPrivate::extensionFuncs(ctx).qt_glAttachShader
 
#define glBindAttribLocation   QGLContextPrivate::extensionFuncs(ctx).qt_glBindAttribLocation
 
#define glBindBuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glBindBuffer
 
#define glBindFramebuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glBindFramebuffer
 
#define glBindProgramARB   QGLContextPrivate::extensionFuncs(ctx).qt_glBindProgramARB
 
#define glBindRenderbuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glBindRenderbuffer
 
#define glBlendColor   QGLContextPrivate::extensionFuncs(ctx).qt_glBlendColor
 
#define glBlitFramebufferEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glBlitFramebufferEXT
 
#define glBufferData   QGLContextPrivate::extensionFuncs(ctx).qt_glBufferData
 
#define glBufferSubData   QGLContextPrivate::extensionFuncs(ctx).qt_glBufferSubData
 
#define glCheckFramebufferStatus   QGLContextPrivate::extensionFuncs(ctx).qt_glCheckFramebufferStatus
 
#define glCompileShader   QGLContextPrivate::extensionFuncs(ctx).qt_glCompileShader
 
#define glCompressedTexImage2D   QGLContextPrivate::extensionFuncs(ctx).qt_glCompressedTexImage2DARB
 
#define glCreateProgram   QGLContextPrivate::extensionFuncs(ctx).qt_glCreateProgram
 
#define glCreateShader   QGLContextPrivate::extensionFuncs(ctx).qt_glCreateShader
 
#define glDeleteBuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteBuffers
 
#define glDeleteFramebuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteFramebuffers
 
#define glDeleteProgram   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteProgram
 
#define glDeleteProgramsARB   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteProgramsARB
 
#define glDeleteRenderbuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteRenderbuffers
 
#define glDeleteShader   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteShader
 
#define glDetachShader   QGLContextPrivate::extensionFuncs(ctx).qt_glDetachShader
 
#define glDisableVertexAttribArray   QGLContextPrivate::extensionFuncs(ctx).qt_glDisableVertexAttribArray
 
#define glEGLImageTargetRenderbufferStorageOES   QGLContextPrivate::extensionFuncs(ctx).qt_glEGLImageTargetRenderbufferStorageOES
 
#define glEGLImageTargetTexture2DOES   QGLContextPrivate::extensionFuncs(ctx).qt_glEGLImageTargetTexture2DOES
 
#define glEnableVertexAttribArray   QGLContextPrivate::extensionFuncs(ctx).qt_glEnableVertexAttribArray
 
#define glFramebufferRenderbuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glFramebufferRenderbuffer
 
#define glFramebufferTexture2D   QGLContextPrivate::extensionFuncs(ctx).qt_glFramebufferTexture2D
 
#define glFramebufferTextureEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glFramebufferTextureEXT
 
#define glFramebufferTextureFaceEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glFramebufferTextureFaceEXT
 
#define glFramebufferTextureLayerEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glFramebufferTextureLayerEXT
 
#define glGenBuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glGenBuffers
 
#define glGenerateMipmap   QGLContextPrivate::extensionFuncs(ctx).qt_glGenerateMipmap
 
#define glGenFramebuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glGenFramebuffers
 
#define glGenProgramsARB   QGLContextPrivate::extensionFuncs(ctx).qt_glGenProgramsARB
 
#define glGenRenderbuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glGenRenderbuffers
 
#define glGetAttribLocation   QGLContextPrivate::extensionFuncs(ctx).qt_glGetAttribLocation
 
#define glGetBufferParameteriv   QGLContextPrivate::extensionFuncs(ctx).qt_glGetBufferParameteriv
 
#define glGetBufferSubData   QGLContextPrivate::extensionFuncs(ctx).qt_glGetBufferSubData
 
#define glGetFramebufferAttachmentParameteriv   QGLContextPrivate::extensionFuncs(ctx).qt_glGetFramebufferAttachmentParameteriv
 
#define glGetProgramInfoLog   QGLContextPrivate::extensionFuncs(ctx).qt_glGetProgramInfoLog
 
#define glGetProgramiv   QGLContextPrivate::extensionFuncs(ctx).qt_glGetProgramiv
 
#define glGetRenderbufferParameteriv   QGLContextPrivate::extensionFuncs(ctx).qt_glGetRenderbufferParameteriv
 
#define glGetShaderInfoLog   QGLContextPrivate::extensionFuncs(ctx).qt_glGetShaderInfoLog
 
#define glGetShaderiv   QGLContextPrivate::extensionFuncs(ctx).qt_glGetShaderiv
 
#define glGetShaderSource   QGLContextPrivate::extensionFuncs(ctx).qt_glGetShaderSource
 
#define glGetUniformLocation   QGLContextPrivate::extensionFuncs(ctx).qt_glGetUniformLocation
 
#define glIsFramebuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glIsFramebuffer
 
#define glIsProgram   QGLContextPrivate::extensionFuncs(ctx).qt_glIsProgram
 
#define glIsRenderbuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glIsRenderbuffer
 
#define glIsShader   QGLContextPrivate::extensionFuncs(ctx).qt_glIsShader
 
#define glLinkProgram   QGLContextPrivate::extensionFuncs(ctx).qt_glLinkProgram
 
#define glMapBufferARB   QGLContextPrivate::extensionFuncs(ctx).qt_glMapBufferARB
 
#define glMultiTexCoord4f   QGLContextPrivate::extensionFuncs(ctx).qt_glMultiTexCoord4f
 
#define glProgramLocalParameter4fvARB   QGLContextPrivate::extensionFuncs(ctx).qt_glProgramLocalParameter4fvARB
 
#define glProgramParameteriEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glProgramParameteriEXT
 
#define glProgramStringARB   QGLContextPrivate::extensionFuncs(ctx).qt_glProgramStringARB
 
#define glRenderbufferStorage   QGLContextPrivate::extensionFuncs(ctx).qt_glRenderbufferStorage
 
#define glRenderbufferStorageMultisampleEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glRenderbufferStorageMultisampleEXT
 
#define glShaderBinary   QGLContextPrivate::extensionFuncs(ctx).qt_glShaderBinary
 
#define glShaderSource   QGLContextPrivate::extensionFuncs(ctx).qt_glShaderSource
 
#define glStencilOpSeparate   QGLContextPrivate::extensionFuncs(ctx).qt_glStencilOpSeparate
 
#define glUniform1fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform1fv
 
#define glUniform1i   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform1i
 
#define glUniform1iv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform1iv
 
#define glUniform2fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform2fv
 
#define glUniform3fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform3fv
 
#define glUniform4fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform4fv
 
#define glUniformMatrix2fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix2fv
 
#define glUniformMatrix2x3fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix2x3fv
 
#define glUniformMatrix2x4fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix2x4fv
 
#define glUniformMatrix3fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix3fv
 
#define glUniformMatrix3x2fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix3x2fv
 
#define glUniformMatrix3x4fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix3x4fv
 
#define glUniformMatrix4fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix4fv
 
#define glUniformMatrix4x2fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix4x2fv
 
#define glUniformMatrix4x3fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix4x3fv
 
#define glUnmapBufferARB   QGLContextPrivate::extensionFuncs(ctx).qt_glUnmapBufferARB
 
#define glUseProgram   QGLContextPrivate::extensionFuncs(ctx).qt_glUseProgram
 
#define glVertexAttrib1fv   QGLContextPrivate::extensionFuncs(ctx).qt_glVertexAttrib1fv
 
#define glVertexAttrib2fv   QGLContextPrivate::extensionFuncs(ctx).qt_glVertexAttrib2fv
 
#define glVertexAttrib3fv   QGLContextPrivate::extensionFuncs(ctx).qt_glVertexAttrib3fv
 
#define glVertexAttrib4fv   QGLContextPrivate::extensionFuncs(ctx).qt_glVertexAttrib4fv
 
#define glVertexAttribPointer   QGLContextPrivate::extensionFuncs(ctx).qt_glVertexAttribPointer
 
#define QGL_RESOLVE_BUFFER_FUNCS   1
 

Typedefs

typedef void(APIENTRY_glActiveStencilFaceEXT) (GLenum)
 
typedef void(APIENTRY_glActiveTexture) (GLenum)
 
typedef void(APIENTRY_glAttachShader) (GLuint, GLuint)
 
typedef void(APIENTRY_glBindAttribLocation) (GLuint, GLuint, const char *)
 
typedef void(APIENTRY_glBindBuffer) (GLenum, GLuint)
 
typedef void(APIENTRY_glBindFramebuffer) (GLenum target, GLuint framebuffer)
 
typedef void(APIENTRY_glBindProgramARB) (GLenum, GLuint)
 
typedef void(APIENTRY_glBindRenderbuffer) (GLenum target, GLuint renderbuffer)
 
typedef void(APIENTRY_glBlendColor) (GLclampf, GLclampf, GLclampf, GLclampf)
 
typedef void(APIENTRY_glBlitFramebufferEXT) (int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, GLbitfield mask, GLenum filter)
 
typedef void(APIENTRY_glBufferData) (GLenum, GLsizeiptrARB, const GLvoid *, GLenum)
 
typedef void(APIENTRY_glBufferSubData) (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *)
 
typedef GLenum(APIENTRY_glCheckFramebufferStatus) (GLenum target)
 
typedef void(APIENTRY_glCompileShader) (GLuint)
 
typedef void(APIENTRY_glCompressedTexImage2DARB) (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)
 
typedef GLuint(APIENTRY_glCreateProgram) ()
 
typedef GLuint(APIENTRY_glCreateShader) (GLenum)
 
typedef void(APIENTRY_glDeleteBuffers) (GLsizei, const GLuint *)
 
typedef void(APIENTRY_glDeleteFramebuffers) (GLsizei n, const GLuint *framebuffers)
 
typedef void(APIENTRY_glDeleteProgram) (GLuint)
 
typedef void(APIENTRY_glDeleteProgramsARB) (GLsizei, const GLuint *)
 
typedef void(APIENTRY_glDeleteRenderbuffers) (GLsizei n, const GLuint *renderbuffers)
 
typedef void(APIENTRY_glDeleteShader) (GLuint)
 
typedef void(APIENTRY_glDetachShader) (GLuint, GLuint)
 
typedef void(APIENTRY_glDisableVertexAttribArray) (GLuint)
 
typedef void(APIENTRY_glEGLImageTargetRenderbufferStorageOES) (GLenum, EGLImageKHR)
 
typedef void(APIENTRY_glEGLImageTargetTexture2DOES) (GLenum, EGLImageKHR)
 
typedef void(APIENTRY_glEnableVertexAttribArray) (GLuint)
 
typedef void(APIENTRY_glFramebufferRenderbuffer) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
 
typedef void(APIENTRY_glFramebufferTexture2D) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
 
typedef void(APIENTRY_glFramebufferTextureEXT) (GLenum target, GLenum attachment, GLuint texture, GLint level)
 
typedef void(APIENTRY_glFramebufferTextureFaceEXT) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face)
 
typedef void(APIENTRY_glFramebufferTextureLayerEXT) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
 
typedef void(APIENTRY_glGenBuffers) (GLsizei, GLuint *)
 
typedef void(APIENTRY_glGenerateMipmap) (GLenum target)
 
typedef void(APIENTRY_glGenFramebuffers) (GLsizei n, GLuint *framebuffers)
 
typedef void(APIENTRY_glGenProgramsARB) (GLsizei, GLuint *)
 
typedef void(APIENTRY_glGenRenderbuffers) (GLsizei n, GLuint *renderbuffers)
 
typedef GLint(APIENTRY_glGetAttribLocation) (GLuint, const char *)
 
typedef void(APIENTRY_glGetBufferParameteriv) (GLenum, GLenum, GLint *)
 
typedef void(APIENTRY_glGetBufferSubData) (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *)
 
typedef void(APIENTRY_glGetFramebufferAttachmentParameteriv) (GLenum target, GLenum attachment, GLenum pname, GLint *params)
 
typedef void(APIENTRY_glGetProgramBinaryOES) (GLuint, GLsizei, GLsizei *, GLenum *, void *)
 
typedef void(APIENTRY_glGetProgramInfoLog) (GLuint, GLsizei, GLsizei *, char *)
 
typedef void(APIENTRY_glGetProgramiv) (GLuint, GLenum, GLint *)
 
typedef void(APIENTRY_glGetRenderbufferParameteriv) (GLenum target, GLenum pname, GLint *params)
 
typedef void(APIENTRY_glGetShaderInfoLog) (GLuint, GLsizei, GLsizei *, char *)
 
typedef void(APIENTRY_glGetShaderiv) (GLuint, GLenum, GLint *)
 
typedef void(APIENTRY_glGetShaderSource) (GLuint, GLsizei, GLsizei *, char *)
 
typedef GLuint(APIENTRY_glGetUniformLocation) (GLuint, const char *)
 
typedef GLboolean(APIENTRY_glIsFramebuffer) (GLuint framebuffer)
 
typedef GLboolean(APIENTRY_glIsProgram) (GLuint)
 
typedef GLboolean(APIENTRY_glIsRenderbuffer) (GLuint renderbuffer)
 
typedef GLboolean(APIENTRY_glIsShader) (GLuint)
 
typedef void(APIENTRY_glLinkProgram) (GLuint)
 
typedef GLvoid *(APIENTRY_glMapBufferARB) (GLenum, GLenum)
 
typedef void(APIENTRY_glMultiTexCoord4f) (GLenum, GLfloat, GLfloat, GLfloat, GLfloat)
 
typedef void(APIENTRY_glProgramBinaryOES) (GLuint, GLenum, const void *, GLint)
 
typedef void(APIENTRY_glProgramLocalParameter4fvARB) (GLenum, GLuint, const GLfloat *)
 
typedef void(APIENTRY_glProgramParameteriEXT) (GLuint program, GLenum pname, GLint value)
 
typedef void(APIENTRY_glProgramStringARB) (GLenum, GLenum, GLsizei, const GLvoid *)
 
typedef void(APIENTRY_glRenderbufferStorage) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
 
typedef void(APIENTRY_glRenderbufferStorageMultisampleEXT) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
 
typedef void(APIENTRY_glShaderBinary) (GLint, const GLuint *, GLenum, const void *, GLint)
 
typedef void(APIENTRY_glShaderSource) (GLuint, GLsizei, const char **, const GLint *)
 
typedef void(APIENTRY_glStencilOpSeparate) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
 
typedef void(APIENTRY_glUniform1fv) (GLint, GLsizei, const GLfloat *)
 
typedef void(APIENTRY_glUniform1i) (GLint, GLint)
 
typedef void(APIENTRY_glUniform1iv) (GLint, GLsizei, const GLint *)
 
typedef void(APIENTRY_glUniform2fv) (GLint, GLsizei, const GLfloat *)
 
typedef void(APIENTRY_glUniform3fv) (GLint, GLsizei, const GLfloat *)
 
typedef void(APIENTRY_glUniform4fv) (GLint, GLsizei, const GLfloat *)
 
typedef void(APIENTRY_glUniformMatrix2fv) (GLint, GLsizei, GLboolean, const GLfloat *)
 
typedef void(APIENTRY_glUniformMatrix2x3fv) (GLint, GLsizei, GLboolean, const GLfloat *)
 
typedef void(APIENTRY_glUniformMatrix2x4fv) (GLint, GLsizei, GLboolean, const GLfloat *)
 
typedef void(APIENTRY_glUniformMatrix3fv) (GLint, GLsizei, GLboolean, const GLfloat *)
 
typedef void(APIENTRY_glUniformMatrix3x2fv) (GLint, GLsizei, GLboolean, const GLfloat *)
 
typedef void(APIENTRY_glUniformMatrix3x4fv) (GLint, GLsizei, GLboolean, const GLfloat *)
 
typedef void(APIENTRY_glUniformMatrix4fv) (GLint, GLsizei, GLboolean, const GLfloat *)
 
typedef void(APIENTRY_glUniformMatrix4x2fv) (GLint, GLsizei, GLboolean, const GLfloat *)
 
typedef void(APIENTRY_glUniformMatrix4x3fv) (GLint, GLsizei, GLboolean, const GLfloat *)
 
typedef GLboolean(APIENTRY_glUnmapBufferARB) (GLenum)
 
typedef void(APIENTRY_glUseProgram) (GLuint)
 
typedef void(APIENTRY_glVertexAttrib1fv) (GLuint, const GLfloat *)
 
typedef void(APIENTRY_glVertexAttrib2fv) (GLuint, const GLfloat *)
 
typedef void(APIENTRY_glVertexAttrib3fv) (GLuint, const GLfloat *)
 
typedef void(APIENTRY_glVertexAttrib4fv) (GLuint, const GLfloat *)
 
typedef void(APIENTRY_glVertexAttribPointer) (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *)
 
typedef char GLchar
 
typedef ptrdiff_t GLintptrARB
 
typedef ptrdiff_t GLsizeiptrARB
 

Functions

bool Q_OPENGL_EXPORT qt_resolve_buffer_extensions (QGLContext *ctx)
 
Q_OPENGL_EXPORT bool qt_resolve_eglimage_gl_extensions (QGLContext *ctx)
 
bool qt_resolve_frag_program_extensions (QGLContext *ctx)
 
bool qt_resolve_framebufferobject_extensions (QGLContext *ctx)
 
bool qt_resolve_glsl_extensions (QGLContext *ctx)
 
bool qt_resolve_stencil_face_extension (QGLContext *ctx)
 
bool qt_resolve_version_1_3_functions (QGLContext *ctx)
 
bool Q_OPENGL_EXPORT qt_resolve_version_2_0_functions (QGLContext *ctx)
 

Macro Definition Documentation

◆ APIENTRY

#define APIENTRY

Definition at line 67 of file qglextensions_p.h.

◆ APIENTRYP

#define APIENTRYP   *

Definition at line 68 of file qglextensions_p.h.

◆ FRAMEBUFFER_SRGB_CAPABLE_EXT

#define FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA

Definition at line 485 of file qglextensions_p.h.

◆ FRAMEBUFFER_SRGB_EXT

#define FRAMEBUFFER_SRGB_EXT   0x8DB9

Definition at line 489 of file qglextensions_p.h.

Referenced by QGL2PaintEngineExPrivate::drawCachedGlyphs().

◆ GL_ACTIVE_ATTRIBUTE_MAX_LENGTH

#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH   0x8B8A

Definition at line 732 of file qglextensions_p.h.

◆ GL_ACTIVE_ATTRIBUTES

#define GL_ACTIVE_ATTRIBUTES   0x8B89

Definition at line 731 of file qglextensions_p.h.

◆ GL_ACTIVE_UNIFORM_MAX_LENGTH

#define GL_ACTIVE_UNIFORM_MAX_LENGTH   0x8B87

Definition at line 730 of file qglextensions_p.h.

◆ GL_ACTIVE_UNIFORMS

#define GL_ACTIVE_UNIFORMS   0x8B86

Definition at line 729 of file qglextensions_p.h.

◆ GL_ARRAY_BUFFER [1/2]

#define GL_ARRAY_BUFFER   0x8892

Definition at line 693 of file qglextensions_p.h.

Referenced by QGL2PaintEngineExPrivate::fill().

◆ GL_ARRAY_BUFFER [2/2]

#define GL_ARRAY_BUFFER   0x8892

Definition at line 693 of file qglextensions_p.h.

◆ GL_BGRA

#define GL_BGRA   0x80E1

Definition at line 509 of file qglextensions_p.h.

◆ GL_BOOL

#define GL_BOOL   0x8B56

Definition at line 715 of file qglextensions_p.h.

◆ GL_BOOL_VEC2

#define GL_BOOL_VEC2   0x8B57

Definition at line 716 of file qglextensions_p.h.

◆ GL_BOOL_VEC3

#define GL_BOOL_VEC3   0x8B58

Definition at line 717 of file qglextensions_p.h.

◆ GL_BOOL_VEC4

#define GL_BOOL_VEC4   0x8B59

Definition at line 718 of file qglextensions_p.h.

◆ GL_CLAMP_TO_EDGE

#define GL_CLAMP_TO_EDGE   0x812F

Definition at line 529 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT0_EXT

#define GL_COLOR_ATTACHMENT0_EXT   0x8CE0

◆ GL_COLOR_ATTACHMENT10_EXT

#define GL_COLOR_ATTACHMENT10_EXT   0x8CEA

Definition at line 616 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT11_EXT

#define GL_COLOR_ATTACHMENT11_EXT   0x8CEB

Definition at line 617 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT12_EXT

#define GL_COLOR_ATTACHMENT12_EXT   0x8CEC

Definition at line 618 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT13_EXT

#define GL_COLOR_ATTACHMENT13_EXT   0x8CED

Definition at line 619 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT14_EXT

#define GL_COLOR_ATTACHMENT14_EXT   0x8CEE

Definition at line 620 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT15_EXT

#define GL_COLOR_ATTACHMENT15_EXT   0x8CEF

Definition at line 621 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT1_EXT

#define GL_COLOR_ATTACHMENT1_EXT   0x8CE1

Definition at line 607 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT2_EXT

#define GL_COLOR_ATTACHMENT2_EXT   0x8CE2

Definition at line 608 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT3_EXT

#define GL_COLOR_ATTACHMENT3_EXT   0x8CE3

Definition at line 609 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT4_EXT

#define GL_COLOR_ATTACHMENT4_EXT   0x8CE4

Definition at line 610 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT5_EXT

#define GL_COLOR_ATTACHMENT5_EXT   0x8CE5

Definition at line 611 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT6_EXT

#define GL_COLOR_ATTACHMENT6_EXT   0x8CE6

Definition at line 612 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT7_EXT

#define GL_COLOR_ATTACHMENT7_EXT   0x8CE7

Definition at line 613 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT8_EXT

#define GL_COLOR_ATTACHMENT8_EXT   0x8CE8

Definition at line 614 of file qglextensions_p.h.

◆ GL_COLOR_ATTACHMENT9_EXT

#define GL_COLOR_ATTACHMENT9_EXT   0x8CE9

Definition at line 615 of file qglextensions_p.h.

◆ GL_COMPILE_STATUS

#define GL_COMPILE_STATUS   0x8B81

Definition at line 726 of file qglextensions_p.h.

Referenced by QGLShaderPrivate::compile().

◆ GL_CONSTANT_ALPHA

#define GL_CONSTANT_ALPHA   0x8003

Definition at line 686 of file qglextensions_p.h.

◆ GL_CONSTANT_COLOR

#define GL_CONSTANT_COLOR   0x8001

Definition at line 684 of file qglextensions_p.h.

Referenced by QGL2PaintEngineExPrivate::drawCachedGlyphs().

◆ GL_DECR_WRAP

#define GL_DECR_WRAP   0x8508

◆ GL_DECR_WRAP_EXT

#define GL_DECR_WRAP_EXT   0x8508

Definition at line 567 of file qglextensions_p.h.

Referenced by QOpenGLPaintEnginePrivate::fillVertexArray().

◆ GL_DEPTH24_STENCIL8_EXT

#define GL_DEPTH24_STENCIL8_EXT   0x88F0

Definition at line 667 of file qglextensions_p.h.

Referenced by QGLFramebufferObjectPrivate::init().

◆ GL_DEPTH_ATTACHMENT_EXT

#define GL_DEPTH_ATTACHMENT_EXT   0x8D00

Definition at line 622 of file qglextensions_p.h.

Referenced by QGLFramebufferObjectPrivate::init().

◆ GL_DEPTH_COMPONENT16

#define GL_DEPTH_COMPONENT16   0x81A5

Definition at line 579 of file qglextensions_p.h.

Referenced by QGLFramebufferObjectPrivate::init().

◆ GL_DEPTH_COMPONENT24_OES

#define GL_DEPTH_COMPONENT24_OES   0x81A6

Definition at line 583 of file qglextensions_p.h.

Referenced by QGLFramebufferObjectPrivate::init().

◆ GL_DEPTH_STENCIL_EXT

#define GL_DEPTH_STENCIL_EXT   0x84F9

Definition at line 665 of file qglextensions_p.h.

◆ GL_DRAW_FRAMEBUFFER_EXT

#define GL_DRAW_FRAMEBUFFER_EXT   0x8CA9

◆ GL_DYNAMIC_COPY

#define GL_DYNAMIC_COPY   0x88EA

Definition at line 703 of file qglextensions_p.h.

◆ GL_DYNAMIC_DRAW

#define GL_DYNAMIC_DRAW   0x88E8

Definition at line 701 of file qglextensions_p.h.

◆ GL_DYNAMIC_READ

#define GL_DYNAMIC_READ   0x88E9

Definition at line 702 of file qglextensions_p.h.

◆ GL_ELEMENT_ARRAY_BUFFER

#define GL_ELEMENT_ARRAY_BUFFER   0x8893

◆ GL_FLOAT_MAT2

#define GL_FLOAT_MAT2   0x8B5A

Definition at line 719 of file qglextensions_p.h.

◆ GL_FLOAT_MAT3

#define GL_FLOAT_MAT3   0x8B5B

Definition at line 720 of file qglextensions_p.h.

◆ GL_FLOAT_MAT4

#define GL_FLOAT_MAT4   0x8B5C

Definition at line 721 of file qglextensions_p.h.

◆ GL_FLOAT_VEC2

#define GL_FLOAT_VEC2   0x8B50

Definition at line 709 of file qglextensions_p.h.

◆ GL_FLOAT_VEC3

#define GL_FLOAT_VEC3   0x8B51

Definition at line 710 of file qglextensions_p.h.

◆ GL_FLOAT_VEC4

#define GL_FLOAT_VEC4   0x8B52

Definition at line 711 of file qglextensions_p.h.

◆ GL_FRAGMENT_PROGRAM_ARB

#define GL_FRAGMENT_PROGRAM_ARB   0x8804

◆ GL_FRAGMENT_SHADER

#define GL_FRAGMENT_SHADER   0x8B30

Definition at line 707 of file qglextensions_p.h.

Referenced by QGLShaderPrivate::create().

◆ GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT   0x8DA7

Definition at line 754 of file qglextensions_p.h.

◆ GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT   0x8CD1

Definition at line 592 of file qglextensions_p.h.

◆ GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT   0x8CD0

Definition at line 591 of file qglextensions_p.h.

◆ GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT   0x8CD4

Definition at line 595 of file qglextensions_p.h.

◆ GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT   0x8CD3

Definition at line 594 of file qglextensions_p.h.

◆ GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT   0x8CD4

Definition at line 755 of file qglextensions_p.h.

◆ GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT   0x8CD2

Definition at line 593 of file qglextensions_p.h.

◆ GL_FRAMEBUFFER_BINDING_EXT

#define GL_FRAMEBUFFER_BINDING_EXT   0x8CA6

Definition at line 589 of file qglextensions_p.h.

◆ GL_FRAMEBUFFER_COMPLETE_EXT

#define GL_FRAMEBUFFER_COMPLETE_EXT   0x8CD5

◆ GL_FRAMEBUFFER_EXT

#define GL_FRAMEBUFFER_EXT   0x8D40

◆ GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT   0x8CD6

◆ GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT   0x8CD9

◆ GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT   0x8CDB

◆ GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT   0x8CD8

◆ GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT   0x8CDA

◆ GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT   0x8DA9

Definition at line 753 of file qglextensions_p.h.

◆ GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT   0x8DA8

Definition at line 752 of file qglextensions_p.h.

◆ GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT   0x8CD7

◆ GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT   0x8D56

◆ GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT   0x8CDC

◆ GL_FRAMEBUFFER_UNSUPPORTED_EXT

#define GL_FRAMEBUFFER_UNSUPPORTED_EXT   0x8CDD

◆ GL_GENERATE_MIPMAP_HINT_SGIS

#define GL_GENERATE_MIPMAP_HINT_SGIS   0x8192

Definition at line 538 of file qglextensions_p.h.

◆ GL_GENERATE_MIPMAP_SGIS

#define GL_GENERATE_MIPMAP_SGIS   0x8191

Definition at line 537 of file qglextensions_p.h.

◆ GL_GEOMETRY_INPUT_TYPE_EXT

#define GL_GEOMETRY_INPUT_TYPE_EXT   0x8DDB

Definition at line 739 of file qglextensions_p.h.

Referenced by QGLShaderProgram::link().

◆ GL_GEOMETRY_OUTPUT_TYPE_EXT

#define GL_GEOMETRY_OUTPUT_TYPE_EXT   0x8DDC

Definition at line 740 of file qglextensions_p.h.

Referenced by QGLShaderProgram::link().

◆ GL_GEOMETRY_SHADER_EXT

#define GL_GEOMETRY_SHADER_EXT   0x8DD9

Definition at line 737 of file qglextensions_p.h.

Referenced by QGLShaderPrivate::create().

◆ GL_GEOMETRY_VERTICES_OUT_EXT

#define GL_GEOMETRY_VERTICES_OUT_EXT   0x8DDA

Definition at line 738 of file qglextensions_p.h.

Referenced by QGLShaderProgram::link().

◆ GL_INCR_WRAP

#define GL_INCR_WRAP   0x8507

◆ GL_INCR_WRAP_EXT

#define GL_INCR_WRAP_EXT   0x8507

Definition at line 564 of file qglextensions_p.h.

Referenced by QOpenGLPaintEnginePrivate::fillVertexArray().

◆ GL_INFO_LOG_LENGTH

#define GL_INFO_LOG_LENGTH   0x8B84

Definition at line 728 of file qglextensions_p.h.

Referenced by QGLShaderPrivate::compile(), and QGLShaderProgram::link().

◆ GL_INT_VEC2

#define GL_INT_VEC2   0x8B53

Definition at line 712 of file qglextensions_p.h.

◆ GL_INT_VEC3

#define GL_INT_VEC3   0x8B54

Definition at line 713 of file qglextensions_p.h.

◆ GL_INT_VEC4

#define GL_INT_VEC4   0x8B55

Definition at line 714 of file qglextensions_p.h.

◆ GL_INVALID_FRAMEBUFFER_OPERATION_EXT

#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT   0x0506

Definition at line 587 of file qglextensions_p.h.

◆ GL_LINE_STRIP_ADJACENCY_EXT

#define GL_LINE_STRIP_ADJACENCY_EXT   0xB

Definition at line 749 of file qglextensions_p.h.

◆ GL_LINES_ADJACENCY_EXT

#define GL_LINES_ADJACENCY_EXT   0xA

Definition at line 748 of file qglextensions_p.h.

◆ GL_LINK_STATUS

#define GL_LINK_STATUS   0x8B82

Definition at line 727 of file qglextensions_p.h.

Referenced by QGLShaderProgram::link().

◆ GL_MAX_COLOR_ATTACHMENTS_EXT

#define GL_MAX_COLOR_ATTACHMENTS_EXT   0x8CDF

Definition at line 605 of file qglextensions_p.h.

◆ GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT

#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT   0x8DE0

Definition at line 746 of file qglextensions_p.h.

Referenced by QGLShaderProgram::maxGeometryOutputVertices().

◆ GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT

#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT   0x8C29

Definition at line 741 of file qglextensions_p.h.

◆ GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT

#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT   0x8DE1

Definition at line 747 of file qglextensions_p.h.

◆ GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT

#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT   0x8DDF

Definition at line 745 of file qglextensions_p.h.

◆ GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT

#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT   0x8DDD

Definition at line 742 of file qglextensions_p.h.

◆ GL_MAX_RECTANGLE_TEXTURE_SIZE_NV

#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV   0x84F8

Definition at line 505 of file qglextensions_p.h.

◆ GL_MAX_RENDERBUFFER_SIZE_EXT

#define GL_MAX_RENDERBUFFER_SIZE_EXT   0x84E8

Definition at line 588 of file qglextensions_p.h.

◆ GL_MAX_SAMPLES_EXT

#define GL_MAX_SAMPLES_EXT   0x8D57

Definition at line 657 of file qglextensions_p.h.

Referenced by QGLFramebufferObjectPrivate::init().

◆ GL_MAX_VARYING_COMPONENTS_EXT

#define GL_MAX_VARYING_COMPONENTS_EXT   0x8B4B

Definition at line 744 of file qglextensions_p.h.

◆ GL_MAX_VERTEX_VARYING_COMPONENTS_EXT

#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT   0x8DDE

Definition at line 743 of file qglextensions_p.h.

◆ GL_MIRRORED_REPEAT_IBM

#define GL_MIRRORED_REPEAT_IBM   0x8370

◆ GL_MULTISAMPLE

#define GL_MULTISAMPLE   0x809D

◆ GL_ONE_MINUS_CONSTANT_ALPHA

#define GL_ONE_MINUS_CONSTANT_ALPHA   0x8004

Definition at line 687 of file qglextensions_p.h.

◆ GL_ONE_MINUS_CONSTANT_COLOR

#define GL_ONE_MINUS_CONSTANT_COLOR   0x8002

Definition at line 685 of file qglextensions_p.h.

◆ GL_PACK_IMAGE_HEIGHT

#define GL_PACK_IMAGE_HEIGHT   0x806C

Definition at line 678 of file qglextensions_p.h.

Referenced by QOpenGLPaintEngine::begin().

◆ GL_PACK_SKIP_IMAGES

#define GL_PACK_SKIP_IMAGES   0x806B

Definition at line 677 of file qglextensions_p.h.

Referenced by QOpenGLPaintEngine::begin().

◆ GL_PIXEL_UNPACK_BUFFER_ARB

#define GL_PIXEL_UNPACK_BUFFER_ARB   0x88EC

Definition at line 548 of file qglextensions_p.h.

◆ GL_PROGRAM_FORMAT_ASCII_ARB

#define GL_PROGRAM_FORMAT_ASCII_ARB   0x8875

Definition at line 544 of file qglextensions_p.h.

Referenced by QGLProgramCache::getProgram().

◆ GL_PROGRAM_POINT_SIZE_EXT

#define GL_PROGRAM_POINT_SIZE_EXT   0x8642

Definition at line 756 of file qglextensions_p.h.

◆ GL_PROXY_TEXTURE_RECTANGLE_NV

#define GL_PROXY_TEXTURE_RECTANGLE_NV   0x84F7

Definition at line 504 of file qglextensions_p.h.

◆ GL_READ_FRAMEBUFFER_EXT

#define GL_READ_FRAMEBUFFER_EXT   0x8CA8

◆ GL_RENDERBUFFER_ALPHA_SIZE_EXT

#define GL_RENDERBUFFER_ALPHA_SIZE_EXT   0x8D53

Definition at line 637 of file qglextensions_p.h.

◆ GL_RENDERBUFFER_BINDING_EXT

#define GL_RENDERBUFFER_BINDING_EXT   0x8CA7

Definition at line 590 of file qglextensions_p.h.

◆ GL_RENDERBUFFER_BLUE_SIZE_EXT

#define GL_RENDERBUFFER_BLUE_SIZE_EXT   0x8D52

Definition at line 636 of file qglextensions_p.h.

◆ GL_RENDERBUFFER_DEPTH_SIZE_EXT

#define GL_RENDERBUFFER_DEPTH_SIZE_EXT   0x8D54

Definition at line 638 of file qglextensions_p.h.

◆ GL_RENDERBUFFER_EXT

#define GL_RENDERBUFFER_EXT   0x8D41

◆ GL_RENDERBUFFER_GREEN_SIZE_EXT

#define GL_RENDERBUFFER_GREEN_SIZE_EXT   0x8D51

Definition at line 635 of file qglextensions_p.h.

◆ GL_RENDERBUFFER_HEIGHT_EXT

#define GL_RENDERBUFFER_HEIGHT_EXT   0x8D43

Definition at line 627 of file qglextensions_p.h.

◆ GL_RENDERBUFFER_INTERNAL_FORMAT_EXT

#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT   0x8D44

Definition at line 628 of file qglextensions_p.h.

◆ GL_RENDERBUFFER_RED_SIZE_EXT

#define GL_RENDERBUFFER_RED_SIZE_EXT   0x8D50

Definition at line 634 of file qglextensions_p.h.

◆ GL_RENDERBUFFER_SAMPLES_EXT

#define GL_RENDERBUFFER_SAMPLES_EXT   0x8CAB

Definition at line 649 of file qglextensions_p.h.

Referenced by QGLFramebufferObjectPrivate::init().

◆ GL_RENDERBUFFER_STENCIL_SIZE_EXT

#define GL_RENDERBUFFER_STENCIL_SIZE_EXT   0x8D55

Definition at line 639 of file qglextensions_p.h.

◆ GL_RENDERBUFFER_WIDTH_EXT

#define GL_RENDERBUFFER_WIDTH_EXT   0x8D42

Definition at line 626 of file qglextensions_p.h.

◆ GL_RGB16

#define GL_RGB16   0x8054

Definition at line 513 of file qglextensions_p.h.

◆ GL_SAMPLER_1D

#define GL_SAMPLER_1D   0x8B5D

Definition at line 722 of file qglextensions_p.h.

◆ GL_SAMPLER_2D

#define GL_SAMPLER_2D   0x8B5E

Definition at line 723 of file qglextensions_p.h.

◆ GL_SAMPLER_3D

#define GL_SAMPLER_3D   0x8B5F

Definition at line 724 of file qglextensions_p.h.

◆ GL_SAMPLER_CUBE

#define GL_SAMPLER_CUBE   0x8B60

Definition at line 725 of file qglextensions_p.h.

◆ GL_STATIC_COPY

#define GL_STATIC_COPY   0x88E6

Definition at line 700 of file qglextensions_p.h.

◆ GL_STATIC_DRAW [1/2]

#define GL_STATIC_DRAW   0x88E4

◆ GL_STATIC_DRAW [2/2]

#define GL_STATIC_DRAW   0x88E4

Definition at line 698 of file qglextensions_p.h.

◆ GL_STATIC_READ

#define GL_STATIC_READ   0x88E5

Definition at line 699 of file qglextensions_p.h.

◆ GL_STENCIL_ATTACHMENT_EXT

#define GL_STENCIL_ATTACHMENT_EXT   0x8D20

Definition at line 623 of file qglextensions_p.h.

Referenced by QGLFramebufferObjectPrivate::init().

◆ GL_STENCIL_INDEX16_EXT

#define GL_STENCIL_INDEX16_EXT   0x8D49

Definition at line 633 of file qglextensions_p.h.

◆ GL_STENCIL_INDEX1_EXT

#define GL_STENCIL_INDEX1_EXT   0x8D46

Definition at line 630 of file qglextensions_p.h.

◆ GL_STENCIL_INDEX4_EXT

#define GL_STENCIL_INDEX4_EXT   0x8D47

Definition at line 631 of file qglextensions_p.h.

◆ GL_STENCIL_INDEX8_EXT

#define GL_STENCIL_INDEX8_EXT   0x8D48

Definition at line 632 of file qglextensions_p.h.

Referenced by QGLFramebufferObjectPrivate::init().

◆ GL_STENCIL_INDEX_EXT

#define GL_STENCIL_INDEX_EXT   0x8D45

Definition at line 629 of file qglextensions_p.h.

◆ GL_STENCIL_TEST_TWO_SIDE_EXT

#define GL_STENCIL_TEST_TWO_SIDE_EXT   0x8910

Definition at line 561 of file qglextensions_p.h.

Referenced by QOpenGLPaintEnginePrivate::fillVertexArray().

◆ GL_STREAM_COPY

#define GL_STREAM_COPY   0x88E2

Definition at line 697 of file qglextensions_p.h.

◆ GL_STREAM_DRAW

#define GL_STREAM_DRAW   0x88E0

Definition at line 695 of file qglextensions_p.h.

◆ GL_STREAM_DRAW_ARB

#define GL_STREAM_DRAW_ARB   0x88E0

Definition at line 556 of file qglextensions_p.h.

◆ GL_STREAM_READ

#define GL_STREAM_READ   0x88E1

Definition at line 696 of file qglextensions_p.h.

◆ GL_TEXTURE0

#define GL_TEXTURE0   0x84C0

Definition at line 571 of file qglextensions_p.h.

◆ GL_TEXTURE1

#define GL_TEXTURE1   0x84C1

Definition at line 575 of file qglextensions_p.h.

Referenced by drawTrapezoid().

◆ GL_TEXTURE_BINDING_RECTANGLE_NV

#define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6

Definition at line 503 of file qglextensions_p.h.

◆ GL_TEXTURE_RECTANGLE_NV

#define GL_TEXTURE_RECTANGLE_NV   0x84F5

Definition at line 502 of file qglextensions_p.h.

Referenced by QOpenGLPaintEngine::begin(), and qt_gl_preferredTextureTarget().

◆ GL_TEXTURE_STENCIL_SIZE_EXT

#define GL_TEXTURE_STENCIL_SIZE_EXT   0x88F1

Definition at line 668 of file qglextensions_p.h.

◆ GL_TRIANGLE_STRIP_ADJACENCY_EXT

#define GL_TRIANGLE_STRIP_ADJACENCY_EXT   0xD

Definition at line 751 of file qglextensions_p.h.

◆ GL_TRIANGLES_ADJACENCY_EXT

#define GL_TRIANGLES_ADJACENCY_EXT   0xC

Definition at line 750 of file qglextensions_p.h.

◆ GL_UNPACK_IMAGE_HEIGHT

#define GL_UNPACK_IMAGE_HEIGHT   0x806E

Definition at line 680 of file qglextensions_p.h.

Referenced by QOpenGLPaintEngine::begin().

◆ GL_UNPACK_SKIP_IMAGES

#define GL_UNPACK_SKIP_IMAGES   0x806D

Definition at line 679 of file qglextensions_p.h.

Referenced by QOpenGLPaintEngine::begin().

◆ GL_UNSIGNED_INT_24_8_EXT

#define GL_UNSIGNED_INT_24_8_EXT   0x84FA

Definition at line 666 of file qglextensions_p.h.

◆ GL_UNSIGNED_INT_8_8_8_8_REV

#define GL_UNSIGNED_INT_8_8_8_8_REV   0x8367

◆ GL_UNSIGNED_SHORT_5_6_5

#define GL_UNSIGNED_SHORT_5_6_5   0x8363

Definition at line 517 of file qglextensions_p.h.

Referenced by QMeeGoPixmapData::imageToEGLSharedImage().

◆ GL_VERTEX_SHADER

#define GL_VERTEX_SHADER   0x8B31

Definition at line 708 of file qglextensions_p.h.

Referenced by QGLShaderPrivate::create().

◆ GL_WRITE_ONLY_ARB

#define GL_WRITE_ONLY_ARB   0x88B9

Definition at line 552 of file qglextensions_p.h.

◆ glActiveStencilFaceEXT

#define glActiveStencilFaceEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glActiveStencilFaceEXT

◆ glActiveTexture

#define glActiveTexture   QGLContextPrivate::extensionFuncs(ctx).qt_glActiveTexture

Definition at line 770 of file qglextensions_p.h.

◆ glAttachShader

#define glAttachShader   QGLContextPrivate::extensionFuncs(ctx).qt_glAttachShader

◆ glBindAttribLocation

#define glBindAttribLocation   QGLContextPrivate::extensionFuncs(ctx).qt_glBindAttribLocation

◆ glBindBuffer

#define glBindBuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glBindBuffer

◆ glBindFramebuffer

#define glBindFramebuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glBindFramebuffer

◆ glBindProgramARB

#define glBindProgramARB   QGLContextPrivate::extensionFuncs(ctx).qt_glBindProgramARB

◆ glBindRenderbuffer

#define glBindRenderbuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glBindRenderbuffer

◆ glBlendColor

#define glBlendColor   QGLContextPrivate::extensionFuncs(ctx).qt_glBlendColor

◆ glBlitFramebufferEXT

#define glBlitFramebufferEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glBlitFramebufferEXT

◆ glBufferData

#define glBufferData   QGLContextPrivate::extensionFuncs(ctx).qt_glBufferData

◆ glBufferSubData

#define glBufferSubData   QGLContextPrivate::extensionFuncs(ctx).qt_glBufferSubData

◆ glCheckFramebufferStatus

#define glCheckFramebufferStatus   QGLContextPrivate::extensionFuncs(ctx).qt_glCheckFramebufferStatus

◆ glCompileShader

#define glCompileShader   QGLContextPrivate::extensionFuncs(ctx).qt_glCompileShader

◆ glCompressedTexImage2D

#define glCompressedTexImage2D   QGLContextPrivate::extensionFuncs(ctx).qt_glCompressedTexImage2DARB

Definition at line 884 of file qglextensions_p.h.

Referenced by QGLFunctions::glCompressedTexImage2D().

◆ glCreateProgram

#define glCreateProgram   QGLContextPrivate::extensionFuncs(ctx).qt_glCreateProgram

◆ glCreateShader

#define glCreateShader   QGLContextPrivate::extensionFuncs(ctx).qt_glCreateShader

◆ glDeleteBuffers

#define glDeleteBuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteBuffers

◆ glDeleteFramebuffers

#define glDeleteFramebuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteFramebuffers

◆ glDeleteProgram

#define glDeleteProgram   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteProgram

◆ glDeleteProgramsARB

#define glDeleteProgramsARB   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteProgramsARB

◆ glDeleteRenderbuffers

#define glDeleteRenderbuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteRenderbuffers

◆ glDeleteShader

#define glDeleteShader   QGLContextPrivate::extensionFuncs(ctx).qt_glDeleteShader

◆ glDetachShader

#define glDetachShader   QGLContextPrivate::extensionFuncs(ctx).qt_glDetachShader

◆ glDisableVertexAttribArray

#define glDisableVertexAttribArray   QGLContextPrivate::extensionFuncs(ctx).qt_glDisableVertexAttribArray

◆ glEGLImageTargetRenderbufferStorageOES

#define glEGLImageTargetRenderbufferStorageOES   QGLContextPrivate::extensionFuncs(ctx).qt_glEGLImageTargetRenderbufferStorageOES

Definition at line 890 of file qglextensions_p.h.

Referenced by qt_resolve_eglimage_gl_extensions(), and QDri2Context::resize().

◆ glEGLImageTargetTexture2DOES

#define glEGLImageTargetTexture2DOES   QGLContextPrivate::extensionFuncs(ctx).qt_glEGLImageTargetTexture2DOES

◆ glEnableVertexAttribArray

#define glEnableVertexAttribArray   QGLContextPrivate::extensionFuncs(ctx).qt_glEnableVertexAttribArray

◆ glFramebufferRenderbuffer

#define glFramebufferRenderbuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glFramebufferRenderbuffer

◆ glFramebufferTexture2D

#define glFramebufferTexture2D   QGLContextPrivate::extensionFuncs(ctx).qt_glFramebufferTexture2D

◆ glFramebufferTextureEXT

#define glFramebufferTextureEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glFramebufferTextureEXT

Definition at line 879 of file qglextensions_p.h.

Referenced by qt_resolve_glsl_extensions().

◆ glFramebufferTextureFaceEXT

#define glFramebufferTextureFaceEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glFramebufferTextureFaceEXT

Definition at line 881 of file qglextensions_p.h.

Referenced by qt_resolve_glsl_extensions().

◆ glFramebufferTextureLayerEXT

#define glFramebufferTextureLayerEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glFramebufferTextureLayerEXT

Definition at line 880 of file qglextensions_p.h.

Referenced by qt_resolve_glsl_extensions().

◆ glGenBuffers

#define glGenBuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glGenBuffers

◆ glGenerateMipmap

#define glGenerateMipmap   QGLContextPrivate::extensionFuncs(ctx).qt_glGenerateMipmap

Definition at line 790 of file qglextensions_p.h.

◆ glGenFramebuffers

#define glGenFramebuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glGenFramebuffers

◆ glGenProgramsARB

#define glGenProgramsARB   QGLContextPrivate::extensionFuncs(ctx).qt_glGenProgramsARB

◆ glGenRenderbuffers

#define glGenRenderbuffers   QGLContextPrivate::extensionFuncs(ctx).qt_glGenRenderbuffers

◆ glGetAttribLocation

#define glGetAttribLocation   QGLContextPrivate::extensionFuncs(ctx).qt_glGetAttribLocation

◆ glGetBufferParameteriv

#define glGetBufferParameteriv   QGLContextPrivate::extensionFuncs(ctx).qt_glGetBufferParameteriv

◆ glGetBufferSubData

#define glGetBufferSubData   QGLContextPrivate::extensionFuncs(ctx).qt_glGetBufferSubData

Definition at line 803 of file qglextensions_p.h.

Referenced by qt_resolve_buffer_extensions(), and QGLBuffer::read().

◆ glGetFramebufferAttachmentParameteriv

#define glGetFramebufferAttachmentParameteriv   QGLContextPrivate::extensionFuncs(ctx).qt_glGetFramebufferAttachmentParameteriv

◆ glGetProgramInfoLog

#define glGetProgramInfoLog   QGLContextPrivate::extensionFuncs(ctx).qt_glGetProgramInfoLog

◆ glGetProgramiv

#define glGetProgramiv   QGLContextPrivate::extensionFuncs(ctx).qt_glGetProgramiv

◆ glGetRenderbufferParameteriv

#define glGetRenderbufferParameteriv   QGLContextPrivate::extensionFuncs(ctx).qt_glGetRenderbufferParameteriv

◆ glGetShaderInfoLog

#define glGetShaderInfoLog   QGLContextPrivate::extensionFuncs(ctx).qt_glGetShaderInfoLog

◆ glGetShaderiv

#define glGetShaderiv   QGLContextPrivate::extensionFuncs(ctx).qt_glGetShaderiv

◆ glGetShaderSource

#define glGetShaderSource   QGLContextPrivate::extensionFuncs(ctx).qt_glGetShaderSource

◆ glGetUniformLocation

#define glGetUniformLocation   QGLContextPrivate::extensionFuncs(ctx).qt_glGetUniformLocation

◆ glIsFramebuffer

#define glIsFramebuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glIsFramebuffer

◆ glIsProgram

#define glIsProgram   QGLContextPrivate::extensionFuncs(ctx).qt_glIsProgram

Definition at line 826 of file qglextensions_p.h.

Referenced by QGLFunctions::glIsProgram(), and qt_resolve_glsl_extensions().

◆ glIsRenderbuffer

#define glIsRenderbuffer   QGLContextPrivate::extensionFuncs(ctx).qt_glIsRenderbuffer

◆ glIsShader

#define glIsShader   QGLContextPrivate::extensionFuncs(ctx).qt_glIsShader

Definition at line 818 of file qglextensions_p.h.

Referenced by QGLFunctions::glIsShader(), and qt_resolve_glsl_extensions().

◆ glLinkProgram

#define glLinkProgram   QGLContextPrivate::extensionFuncs(ctx).qt_glLinkProgram

◆ glMapBufferARB

#define glMapBufferARB   QGLContextPrivate::extensionFuncs(ctx).qt_glMapBufferARB

Definition at line 806 of file qglextensions_p.h.

Referenced by QGLBuffer::map(), and qt_resolve_buffer_extensions().

◆ glMultiTexCoord4f

#define glMultiTexCoord4f   QGLContextPrivate::extensionFuncs(ctx).qt_glMultiTexCoord4f

Definition at line 768 of file qglextensions_p.h.

Referenced by drawTrapezoid(), and qt_resolve_version_1_3_functions().

◆ glProgramLocalParameter4fvARB

#define glProgramLocalParameter4fvARB   QGLContextPrivate::extensionFuncs(ctx).qt_glProgramLocalParameter4fvARB

◆ glProgramParameteriEXT

#define glProgramParameteriEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glProgramParameteriEXT

Definition at line 878 of file qglextensions_p.h.

Referenced by QGLShaderProgram::link(), and qt_resolve_glsl_extensions().

◆ glProgramStringARB

#define glProgramStringARB   QGLContextPrivate::extensionFuncs(ctx).qt_glProgramStringARB

◆ glRenderbufferStorage

#define glRenderbufferStorage   QGLContextPrivate::extensionFuncs(ctx).qt_glRenderbufferStorage

◆ glRenderbufferStorageMultisampleEXT

#define glRenderbufferStorageMultisampleEXT   QGLContextPrivate::extensionFuncs(ctx).qt_glRenderbufferStorageMultisampleEXT

◆ glShaderBinary

#define glShaderBinary   QGLContextPrivate::extensionFuncs(ctx).qt_glShaderBinary

Definition at line 815 of file qglextensions_p.h.

Referenced by QGLFunctions::glShaderBinary(), and qt_resolve_glsl_extensions().

◆ glShaderSource

#define glShaderSource   QGLContextPrivate::extensionFuncs(ctx).qt_glShaderSource

◆ glStencilOpSeparate

#define glStencilOpSeparate   QGLContextPrivate::extensionFuncs(ctx).qt_glStencilOpSeparate

◆ glUniform1fv

#define glUniform1fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform1fv

◆ glUniform1i

#define glUniform1i   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform1i

◆ glUniform1iv

#define glUniform1iv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform1iv

◆ glUniform2fv

#define glUniform2fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform2fv

◆ glUniform3fv

#define glUniform3fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform3fv

◆ glUniform4fv

#define glUniform4fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniform4fv

◆ glUniformMatrix2fv

#define glUniformMatrix2fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix2fv

◆ glUniformMatrix2x3fv

#define glUniformMatrix2x3fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix2x3fv

◆ glUniformMatrix2x4fv

#define glUniformMatrix2x4fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix2x4fv

◆ glUniformMatrix3fv

#define glUniformMatrix3fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix3fv

◆ glUniformMatrix3x2fv

#define glUniformMatrix3x2fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix3x2fv

◆ glUniformMatrix3x4fv

#define glUniformMatrix3x4fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix3x4fv

◆ glUniformMatrix4fv

#define glUniformMatrix4fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix4fv

◆ glUniformMatrix4x2fv

#define glUniformMatrix4x2fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix4x2fv

◆ glUniformMatrix4x3fv

#define glUniformMatrix4x3fv   QGLContextPrivate::extensionFuncs(ctx).qt_glUniformMatrix4x3fv

◆ glUnmapBufferARB

#define glUnmapBufferARB   QGLContextPrivate::extensionFuncs(ctx).qt_glUnmapBufferARB

Definition at line 807 of file qglextensions_p.h.

Referenced by qt_resolve_buffer_extensions(), and QGLBuffer::unmap().

◆ glUseProgram

#define glUseProgram   QGLContextPrivate::extensionFuncs(ctx).qt_glUseProgram

◆ glVertexAttrib1fv

#define glVertexAttrib1fv   QGLContextPrivate::extensionFuncs(ctx).qt_glVertexAttrib1fv

◆ glVertexAttrib2fv

#define glVertexAttrib2fv   QGLContextPrivate::extensionFuncs(ctx).qt_glVertexAttrib2fv

◆ glVertexAttrib3fv

#define glVertexAttrib3fv   QGLContextPrivate::extensionFuncs(ctx).qt_glVertexAttrib3fv

◆ glVertexAttrib4fv

#define glVertexAttrib4fv   QGLContextPrivate::extensionFuncs(ctx).qt_glVertexAttrib4fv

◆ glVertexAttribPointer

#define glVertexAttribPointer   QGLContextPrivate::extensionFuncs(ctx).qt_glVertexAttribPointer

Definition at line 857 of file qglextensions_p.h.

◆ QGL_RESOLVE_BUFFER_FUNCS

#define QGL_RESOLVE_BUFFER_FUNCS   1

Definition at line 104 of file qglextensions_p.h.

Typedef Documentation

◆ _glActiveStencilFaceEXT

typedef void(APIENTRY * _glActiveStencilFaceEXT) (GLenum)

Definition at line 168 of file qglextensions_p.h.

◆ _glActiveTexture

typedef void(APIENTRY * _glActiveTexture) (GLenum)

Definition at line 172 of file qglextensions_p.h.

◆ _glAttachShader

typedef void(APIENTRY * _glAttachShader) (GLuint, GLuint)

Definition at line 123 of file qglextensions_p.h.

◆ _glBindAttribLocation

typedef void(APIENTRY * _glBindAttribLocation) (GLuint, GLuint, const char *)

Definition at line 153 of file qglextensions_p.h.

◆ _glBindBuffer

typedef void(APIENTRY * _glBindBuffer) (GLenum, GLuint)

Definition at line 88 of file qglextensions_p.h.

◆ _glBindFramebuffer

typedef void(APIENTRY * _glBindFramebuffer) (GLenum target, GLuint framebuffer)

Definition at line 184 of file qglextensions_p.h.

◆ _glBindProgramARB

typedef void(APIENTRY * _glBindProgramARB) (GLenum, GLuint)

Definition at line 109 of file qglextensions_p.h.

◆ _glBindRenderbuffer

typedef void(APIENTRY * _glBindRenderbuffer) (GLenum target, GLuint renderbuffer)

Definition at line 178 of file qglextensions_p.h.

◆ _glBlendColor

typedef void(APIENTRY * _glBlendColor) (GLclampf, GLclampf, GLclampf, GLclampf)

Definition at line 173 of file qglextensions_p.h.

◆ _glBlitFramebufferEXT

typedef void(APIENTRY * _glBlitFramebufferEXT) (int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, GLbitfield mask, GLenum filter)

Definition at line 197 of file qglextensions_p.h.

◆ _glBufferData

typedef void(APIENTRY * _glBufferData) (GLenum, GLsizeiptrARB, const GLvoid *, GLenum)

Definition at line 91 of file qglextensions_p.h.

◆ _glBufferSubData

typedef void(APIENTRY * _glBufferSubData) (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *)

Definition at line 92 of file qglextensions_p.h.

◆ _glCheckFramebufferStatus

typedef GLenum(APIENTRY * _glCheckFramebufferStatus) (GLenum target)

Definition at line 187 of file qglextensions_p.h.

◆ _glCompileShader

typedef void(APIENTRY * _glCompileShader) (GLuint)

Definition at line 118 of file qglextensions_p.h.

◆ _glCompressedTexImage2DARB

typedef void(APIENTRY * _glCompressedTexImage2DARB) (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)

Definition at line 215 of file qglextensions_p.h.

◆ _glCreateProgram

typedef GLuint(APIENTRY * _glCreateProgram) ()

Definition at line 122 of file qglextensions_p.h.

◆ _glCreateShader

typedef GLuint(APIENTRY * _glCreateShader) (GLenum)

Definition at line 115 of file qglextensions_p.h.

◆ _glDeleteBuffers

typedef void(APIENTRY * _glDeleteBuffers) (GLsizei, const GLuint *)

Definition at line 89 of file qglextensions_p.h.

◆ _glDeleteFramebuffers

typedef void(APIENTRY * _glDeleteFramebuffers) (GLsizei n, const GLuint *framebuffers)

Definition at line 185 of file qglextensions_p.h.

◆ _glDeleteProgram

typedef void(APIENTRY * _glDeleteProgram) (GLuint)

Definition at line 127 of file qglextensions_p.h.

◆ _glDeleteProgramsARB

typedef void(APIENTRY * _glDeleteProgramsARB) (GLsizei, const GLuint *)

Definition at line 110 of file qglextensions_p.h.

◆ _glDeleteRenderbuffers

typedef void(APIENTRY * _glDeleteRenderbuffers) (GLsizei n, const GLuint *renderbuffers)

Definition at line 179 of file qglextensions_p.h.

◆ _glDeleteShader

typedef void(APIENTRY * _glDeleteShader) (GLuint)

Definition at line 119 of file qglextensions_p.h.

◆ _glDetachShader

typedef void(APIENTRY * _glDetachShader) (GLuint, GLuint)

Definition at line 124 of file qglextensions_p.h.

◆ _glDisableVertexAttribArray

typedef void(APIENTRY * _glDisableVertexAttribArray) (GLuint)

Definition at line 160 of file qglextensions_p.h.

◆ _glEGLImageTargetRenderbufferStorageOES

typedef void(APIENTRY * _glEGLImageTargetRenderbufferStorageOES) (GLenum, EGLImageKHR)

Definition at line 223 of file qglextensions_p.h.

◆ _glEGLImageTargetTexture2DOES

typedef void(APIENTRY * _glEGLImageTargetTexture2DOES) (GLenum, EGLImageKHR)

Definition at line 222 of file qglextensions_p.h.

◆ _glEnableVertexAttribArray

typedef void(APIENTRY * _glEnableVertexAttribArray) (GLuint)

Definition at line 161 of file qglextensions_p.h.

◆ _glFramebufferRenderbuffer

typedef void(APIENTRY * _glFramebufferRenderbuffer) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)

Definition at line 190 of file qglextensions_p.h.

◆ _glFramebufferTexture2D

typedef void(APIENTRY * _glFramebufferTexture2D) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)

Definition at line 188 of file qglextensions_p.h.

◆ _glFramebufferTextureEXT

typedef void(APIENTRY * _glFramebufferTextureEXT) (GLenum target, GLenum attachment, GLuint texture, GLint level)

Definition at line 207 of file qglextensions_p.h.

◆ _glFramebufferTextureFaceEXT

typedef void(APIENTRY * _glFramebufferTextureFaceEXT) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face)

Definition at line 211 of file qglextensions_p.h.

◆ _glFramebufferTextureLayerEXT

typedef void(APIENTRY * _glFramebufferTextureLayerEXT) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)

Definition at line 209 of file qglextensions_p.h.

◆ _glGenBuffers

typedef void(APIENTRY * _glGenBuffers) (GLsizei, GLuint *)

Definition at line 90 of file qglextensions_p.h.

◆ _glGenerateMipmap

typedef void(APIENTRY * _glGenerateMipmap) (GLenum target)

Definition at line 194 of file qglextensions_p.h.

◆ _glGenFramebuffers

typedef void(APIENTRY * _glGenFramebuffers) (GLsizei n, GLuint *framebuffers)

Definition at line 186 of file qglextensions_p.h.

◆ _glGenProgramsARB

typedef void(APIENTRY * _glGenProgramsARB) (GLsizei, GLuint *)

Definition at line 111 of file qglextensions_p.h.

◆ _glGenRenderbuffers

typedef void(APIENTRY * _glGenRenderbuffers) (GLsizei n, GLuint *renderbuffers)

Definition at line 180 of file qglextensions_p.h.

◆ _glGetAttribLocation

typedef GLint(APIENTRY * _glGetAttribLocation) (GLuint, const char *)

Definition at line 154 of file qglextensions_p.h.

◆ _glGetBufferParameteriv

typedef void(APIENTRY * _glGetBufferParameteriv) (GLenum, GLenum, GLint *)

Definition at line 94 of file qglextensions_p.h.

◆ _glGetBufferSubData

typedef void(APIENTRY * _glGetBufferSubData) (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *)

Definition at line 93 of file qglextensions_p.h.

◆ _glGetFramebufferAttachmentParameteriv

typedef void(APIENTRY * _glGetFramebufferAttachmentParameteriv) (GLenum target, GLenum attachment, GLenum pname, GLint *params)

Definition at line 192 of file qglextensions_p.h.

◆ _glGetProgramBinaryOES

typedef void(APIENTRY * _glGetProgramBinaryOES) (GLuint, GLsizei, GLsizei *, GLenum *, void *)

Definition at line 163 of file qglextensions_p.h.

◆ _glGetProgramInfoLog

typedef void(APIENTRY * _glGetProgramInfoLog) (GLuint, GLsizei, GLsizei *, char *)

Definition at line 134 of file qglextensions_p.h.

◆ _glGetProgramiv

typedef void(APIENTRY * _glGetProgramiv) (GLuint, GLenum, GLint *)

Definition at line 133 of file qglextensions_p.h.

◆ _glGetRenderbufferParameteriv

typedef void(APIENTRY * _glGetRenderbufferParameteriv) (GLenum target, GLenum pname, GLint *params)

Definition at line 182 of file qglextensions_p.h.

◆ _glGetShaderInfoLog

typedef void(APIENTRY * _glGetShaderInfoLog) (GLuint, GLsizei, GLsizei *, char *)

Definition at line 130 of file qglextensions_p.h.

◆ _glGetShaderiv

typedef void(APIENTRY * _glGetShaderiv) (GLuint, GLenum, GLint *)

Definition at line 131 of file qglextensions_p.h.

◆ _glGetShaderSource

typedef void(APIENTRY * _glGetShaderSource) (GLuint, GLsizei, GLsizei *, char *)

Definition at line 132 of file qglextensions_p.h.

◆ _glGetUniformLocation

typedef GLuint(APIENTRY * _glGetUniformLocation) (GLuint, const char *)

Definition at line 136 of file qglextensions_p.h.

◆ _glIsFramebuffer

typedef GLboolean(APIENTRY * _glIsFramebuffer) (GLuint framebuffer)

Definition at line 183 of file qglextensions_p.h.

◆ _glIsProgram

typedef GLboolean(APIENTRY * _glIsProgram) (GLuint)

Definition at line 128 of file qglextensions_p.h.

◆ _glIsRenderbuffer

typedef GLboolean(APIENTRY * _glIsRenderbuffer) (GLuint renderbuffer)

Definition at line 177 of file qglextensions_p.h.

◆ _glIsShader

typedef GLboolean(APIENTRY * _glIsShader) (GLuint)

Definition at line 120 of file qglextensions_p.h.

◆ _glLinkProgram

typedef void(APIENTRY * _glLinkProgram) (GLuint)

Definition at line 125 of file qglextensions_p.h.

◆ _glMapBufferARB

typedef GLvoid*(APIENTRY * _glMapBufferARB) (GLenum, GLenum)

Definition at line 95 of file qglextensions_p.h.

◆ _glMultiTexCoord4f

typedef void(APIENTRY * _glMultiTexCoord4f) (GLenum, GLfloat, GLfloat, GLfloat, GLfloat)

Definition at line 167 of file qglextensions_p.h.

◆ _glProgramBinaryOES

typedef void(APIENTRY * _glProgramBinaryOES) (GLuint, GLenum, const void *, GLint)

Definition at line 164 of file qglextensions_p.h.

◆ _glProgramLocalParameter4fvARB

typedef void(APIENTRY * _glProgramLocalParameter4fvARB) (GLenum, GLuint, const GLfloat *)

Definition at line 112 of file qglextensions_p.h.

◆ _glProgramParameteriEXT

typedef void(APIENTRY * _glProgramParameteriEXT) (GLuint program, GLenum pname, GLint value)

Definition at line 206 of file qglextensions_p.h.

◆ _glProgramStringARB

typedef void(APIENTRY * _glProgramStringARB) (GLenum, GLenum, GLsizei, const GLvoid *)

Definition at line 108 of file qglextensions_p.h.

◆ _glRenderbufferStorage

typedef void(APIENTRY * _glRenderbufferStorage) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)

Definition at line 181 of file qglextensions_p.h.

◆ _glRenderbufferStorageMultisampleEXT

typedef void(APIENTRY * _glRenderbufferStorageMultisampleEXT) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)

Definition at line 202 of file qglextensions_p.h.

◆ _glShaderBinary

typedef void(APIENTRY * _glShaderBinary) (GLint, const GLuint *, GLenum, const void *, GLint)

Definition at line 117 of file qglextensions_p.h.

◆ _glShaderSource

typedef void(APIENTRY * _glShaderSource) (GLuint, GLsizei, const char **, const GLint *)

Definition at line 116 of file qglextensions_p.h.

◆ _glStencilOpSeparate

typedef void(APIENTRY * _glStencilOpSeparate) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)

Definition at line 171 of file qglextensions_p.h.

◆ _glUniform1fv

typedef void(APIENTRY * _glUniform1fv) (GLint, GLsizei, const GLfloat *)

Definition at line 140 of file qglextensions_p.h.

◆ _glUniform1i

typedef void(APIENTRY * _glUniform1i) (GLint, GLint)

Definition at line 141 of file qglextensions_p.h.

◆ _glUniform1iv

typedef void(APIENTRY * _glUniform1iv) (GLint, GLsizei, const GLint *)

Definition at line 142 of file qglextensions_p.h.

◆ _glUniform2fv

typedef void(APIENTRY * _glUniform2fv) (GLint, GLsizei, const GLfloat *)

Definition at line 139 of file qglextensions_p.h.

◆ _glUniform3fv

typedef void(APIENTRY * _glUniform3fv) (GLint, GLsizei, const GLfloat *)

Definition at line 138 of file qglextensions_p.h.

◆ _glUniform4fv

typedef void(APIENTRY * _glUniform4fv) (GLint, GLsizei, const GLfloat *)

Definition at line 137 of file qglextensions_p.h.

◆ _glUniformMatrix2fv

typedef void(APIENTRY * _glUniformMatrix2fv) (GLint, GLsizei, GLboolean, const GLfloat *)

Definition at line 143 of file qglextensions_p.h.

◆ _glUniformMatrix2x3fv

typedef void(APIENTRY * _glUniformMatrix2x3fv) (GLint, GLsizei, GLboolean, const GLfloat *)

Definition at line 146 of file qglextensions_p.h.

◆ _glUniformMatrix2x4fv

typedef void(APIENTRY * _glUniformMatrix2x4fv) (GLint, GLsizei, GLboolean, const GLfloat *)

Definition at line 147 of file qglextensions_p.h.

◆ _glUniformMatrix3fv

typedef void(APIENTRY * _glUniformMatrix3fv) (GLint, GLsizei, GLboolean, const GLfloat *)

Definition at line 144 of file qglextensions_p.h.

◆ _glUniformMatrix3x2fv

typedef void(APIENTRY * _glUniformMatrix3x2fv) (GLint, GLsizei, GLboolean, const GLfloat *)

Definition at line 148 of file qglextensions_p.h.

◆ _glUniformMatrix3x4fv

typedef void(APIENTRY * _glUniformMatrix3x4fv) (GLint, GLsizei, GLboolean, const GLfloat *)

Definition at line 149 of file qglextensions_p.h.

◆ _glUniformMatrix4fv

typedef void(APIENTRY * _glUniformMatrix4fv) (GLint, GLsizei, GLboolean, const GLfloat *)

Definition at line 145 of file qglextensions_p.h.

◆ _glUniformMatrix4x2fv

typedef void(APIENTRY * _glUniformMatrix4x2fv) (GLint, GLsizei, GLboolean, const GLfloat *)

Definition at line 150 of file qglextensions_p.h.

◆ _glUniformMatrix4x3fv

typedef void(APIENTRY * _glUniformMatrix4x3fv) (GLint, GLsizei, GLboolean, const GLfloat *)

Definition at line 151 of file qglextensions_p.h.

◆ _glUnmapBufferARB

typedef GLboolean(APIENTRY * _glUnmapBufferARB) (GLenum)

Definition at line 96 of file qglextensions_p.h.

◆ _glUseProgram

typedef void(APIENTRY * _glUseProgram) (GLuint)

Definition at line 126 of file qglextensions_p.h.

◆ _glVertexAttrib1fv

typedef void(APIENTRY * _glVertexAttrib1fv) (GLuint, const GLfloat *)

Definition at line 155 of file qglextensions_p.h.

◆ _glVertexAttrib2fv

typedef void(APIENTRY * _glVertexAttrib2fv) (GLuint, const GLfloat *)

Definition at line 156 of file qglextensions_p.h.

◆ _glVertexAttrib3fv

typedef void(APIENTRY * _glVertexAttrib3fv) (GLuint, const GLfloat *)

Definition at line 157 of file qglextensions_p.h.

◆ _glVertexAttrib4fv

typedef void(APIENTRY * _glVertexAttrib4fv) (GLuint, const GLfloat *)

Definition at line 158 of file qglextensions_p.h.

◆ _glVertexAttribPointer

typedef void(APIENTRY * _glVertexAttribPointer) (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *)

Definition at line 159 of file qglextensions_p.h.

◆ GLchar

typedef char GLchar

Definition at line 84 of file qglextensions_p.h.

◆ GLintptrARB

typedef ptrdiff_t GLintptrARB

Definition at line 79 of file qglextensions_p.h.

◆ GLsizeiptrARB

typedef ptrdiff_t GLsizeiptrARB

Definition at line 80 of file qglextensions_p.h.

Function Documentation

◆ qt_resolve_buffer_extensions()

bool Q_OPENGL_EXPORT qt_resolve_buffer_extensions ( QGLContext ctx)

Definition at line 193 of file qglextensions.cpp.

Referenced by QGL2PaintEngineEx::begin(), QGLBuffer::create(), and QGLBuffer::release().

194 {
195  if (!QGLContextPrivate::extensionFuncs(ctx).qt_bufferFuncsResolved) {
196 #if defined(QGL_RESOLVE_BUFFER_FUNCS)
197  glBindBuffer = (_glBindBuffer) qt_gl_getProcAddressARB(ctx, "glBindBuffer");
198  glDeleteBuffers = (_glDeleteBuffers) qt_gl_getProcAddressARB(ctx, "glDeleteBuffers");
199  glGenBuffers = (_glGenBuffers) qt_gl_getProcAddressARB(ctx, "glGenBuffers");
200  glBufferData = (_glBufferData) qt_gl_getProcAddressARB(ctx, "glBufferData");
201  glBufferSubData = (_glBufferSubData) qt_gl_getProcAddressARB(ctx, "glBufferSubData");
202  glGetBufferSubData = (_glGetBufferSubData) qt_gl_getProcAddressARB(ctx, "glGetBufferSubData");
204 #endif
205 
206 #ifdef QT_OPENGL_ES_2
208  if (extensions.match("GL_OES_mapbuffer")) {
209  glMapBufferARB = (_glMapBufferARB) qt_gl_getProcAddressARB(ctx, "glMapBufferOES");
210  glUnmapBufferARB = (_glUnmapBufferARB) qt_gl_getProcAddressARB(ctx, "glUnmapBufferOES");
211  }
212 #else
215 #endif
216 
218  }
219 
220 #if defined(QGL_RESOLVE_BUFFER_FUNCS)
221  return glBindBuffer
222  && glDeleteBuffers
223  && glGenBuffers
224  && glBufferData
225  && glBufferSubData
227  // glGetBufferSubData() is optional
228 #else
229  return true;
230 #endif
231 }
GLvoid *(APIENTRY * _glMapBufferARB)(GLenum, GLenum)
#define qt_gl_getProcAddressARB(ctx, name)
#define glBufferSubData
Q_GUI_EXPORT QString extensions()
Definition: qegl.cpp:785
#define glGetBufferParameteriv
void(APIENTRY * _glBindBuffer)(GLenum, GLuint)
void(APIENTRY * _glGetBufferParameteriv)(GLenum, GLenum, GLint *)
#define glGenBuffers
void(APIENTRY * _glBufferSubData)(GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *)
void(APIENTRY * _glBufferData)(GLenum, GLsizeiptrARB, const GLvoid *, GLenum)
#define glMapBufferARB
#define glGetBufferSubData
void(APIENTRY * _glGetBufferSubData)(GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *)
#define glDeleteBuffers
void(APIENTRY * _glGenBuffers)(GLsizei, GLuint *)
bool match(const char *str) const
Definition: qgl_p.h:906
void(APIENTRY * _glDeleteBuffers)(GLsizei, const GLuint *)
#define glUnmapBufferARB
#define glBindBuffer
static QGLExtensionFuncs & extensionFuncs(const QGLContext *ctx)
Definition: qgl_p.h:467
GLboolean(APIENTRY * _glUnmapBufferARB)(GLenum)
#define glBufferData

◆ qt_resolve_eglimage_gl_extensions()

Q_OPENGL_EXPORT bool qt_resolve_eglimage_gl_extensions ( QGLContext ctx)

Definition at line 234 of file qglextensions.cpp.

Referenced by QMeeGoExtensions::initialize().

235 {
237  return true;
241 }
void * getProcAddress(const QString &proc) const
Returns a function pointer to the GL extension function passed in proc.
Definition: qgl_egl.cpp:379
void(APIENTRY * _glEGLImageTargetRenderbufferStorageOES)(GLenum, EGLImageKHR)
void(APIENTRY * _glEGLImageTargetTexture2DOES)(GLenum, EGLImageKHR)
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
Definition: qstring.h:654
#define glEGLImageTargetRenderbufferStorageOES
#define glEGLImageTargetTexture2DOES

◆ qt_resolve_frag_program_extensions()

bool qt_resolve_frag_program_extensions ( QGLContext ctx)

Definition at line 172 of file qglextensions.cpp.

Referenced by QOpenGLPaintEngine::begin().

173 {
174  if (glProgramStringARB != 0)
175  return true;
176 
177  // ARB_fragment_program
178  glProgramStringARB = (_glProgramStringARB) ctx->getProcAddress(QLatin1String("glProgramStringARB"));
179  glBindProgramARB = (_glBindProgramARB) ctx->getProcAddress(QLatin1String("glBindProgramARB"));
180  glDeleteProgramsARB = (_glDeleteProgramsARB) ctx->getProcAddress(QLatin1String("glDeleteProgramsARB"));
181  glGenProgramsARB = (_glGenProgramsARB) ctx->getProcAddress(QLatin1String("glGenProgramsARB"));
183 
184  return glProgramStringARB
189 }
#define glDeleteProgramsARB
void(APIENTRY * _glProgramLocalParameter4fvARB)(GLenum, GLuint, const GLfloat *)
void(APIENTRY * _glDeleteProgramsARB)(GLsizei, const GLuint *)
void * getProcAddress(const QString &proc) const
Returns a function pointer to the GL extension function passed in proc.
Definition: qgl_egl.cpp:379
#define glGenProgramsARB
void(APIENTRY * _glGenProgramsARB)(GLsizei, GLuint *)
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
Definition: qstring.h:654
void(APIENTRY * _glBindProgramARB)(GLenum, GLuint)
void(APIENTRY * _glProgramStringARB)(GLenum, GLenum, GLsizei, const GLvoid *)
#define glProgramLocalParameter4fvARB
#define glProgramStringARB
#define glBindProgramARB

◆ qt_resolve_framebufferobject_extensions()

bool qt_resolve_framebufferobject_extensions ( QGLContext ctx)

Definition at line 93 of file qglextensions.cpp.

Referenced by QGL2PaintEngineEx::begin(), QGLFramebufferObject::bindDefault(), and QGLFramebufferObjectPrivate::init().

94 {
95 #if defined(QT_OPENGL_ES_2)
96  static bool have_resolved = false;
97  if (have_resolved)
98  return true;
99  have_resolved = true;
100 #else
101  if (glIsRenderbuffer != 0)
102  return true;
103 #endif
104 
105  if (ctx == 0) {
106  qWarning("QGLFramebufferObject: Unable to resolve framebuffer object extensions -"
107  " make sure there is a current context when creating the framebuffer object.");
108  return false;
109  }
110 
111 
114  (_glRenderbufferStorageMultisampleEXT) qt_gl_getProcAddressEXT(ctx, "glRenderbufferStorageMultisample");
115 
116 #if !defined(QT_OPENGL_ES_2)
117  glIsRenderbuffer = (_glIsRenderbuffer) qt_gl_getProcAddressEXT(ctx, "glIsRenderbuffer");
118  if (!glIsRenderbuffer)
119  return false; // Not much point searching for anything else.
120  glBindRenderbuffer = (_glBindRenderbuffer) qt_gl_getProcAddressEXT(ctx, "glBindRenderbuffer");
121  glDeleteRenderbuffers = (_glDeleteRenderbuffers) qt_gl_getProcAddressEXT(ctx, "glDeleteRenderbuffers");
122  glGenRenderbuffers = (_glGenRenderbuffers) qt_gl_getProcAddressEXT(ctx, "glGenRenderbuffers");
123  glRenderbufferStorage = (_glRenderbufferStorage) qt_gl_getProcAddressEXT(ctx, "glRenderbufferStorage");
125  (_glGetRenderbufferParameteriv) qt_gl_getProcAddressEXT(ctx, "glGetRenderbufferParameteriv");
126  glIsFramebuffer = (_glIsFramebuffer) qt_gl_getProcAddressEXT(ctx, "glIsFramebuffer");
127  glBindFramebuffer = (_glBindFramebuffer) qt_gl_getProcAddressEXT(ctx, "glBindFramebuffer");
128  glDeleteFramebuffers = (_glDeleteFramebuffers) qt_gl_getProcAddressEXT(ctx, "glDeleteFramebuffers");
129  glGenFramebuffers = (_glGenFramebuffers) qt_gl_getProcAddressEXT(ctx, "glGenFramebuffers");
134  (_glGetFramebufferAttachmentParameteriv) qt_gl_getProcAddressEXT(ctx, "glGetFramebufferAttachmentParameteriv");
135  glGenerateMipmap = (_glGenerateMipmap) qt_gl_getProcAddressEXT(ctx, "glGenerateMipmap");
136 
137  return glIsRenderbuffer != 0;
138 #else
139  return true;
140 #endif
141 }
void(APIENTRY * _glGetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment, GLenum pname, GLint *params)
#define glIsFramebuffer
GLenum(APIENTRY * _glCheckFramebufferStatus)(GLenum target)
GLboolean(APIENTRY * _glIsFramebuffer)(GLuint framebuffer)
void(APIENTRY * _glDeleteFramebuffers)(GLsizei n, const GLuint *framebuffers)
void(APIENTRY * _glBindFramebuffer)(GLenum target, GLuint framebuffer)
#define glGetFramebufferAttachmentParameteriv
#define glGenRenderbuffers
void(APIENTRY * _glGetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint *params)
#define glBindFramebuffer
#define glRenderbufferStorageMultisampleEXT
#define glDeleteRenderbuffers
#define qt_gl_getProcAddressEXT(ctx, name)
#define glBlitFramebufferEXT
void(APIENTRY * _glRenderbufferStorageMultisampleEXT)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
void(APIENTRY * _glBindRenderbuffer)(GLenum target, GLuint renderbuffer)
#define glCheckFramebufferStatus
#define glDeleteFramebuffers
void(APIENTRY * _glRenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
void(APIENTRY * _glGenerateMipmap)(GLenum target)
#define glIsRenderbuffer
void(APIENTRY * _glBlitFramebufferEXT)(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, GLbitfield mask, GLenum filter)
Q_CORE_EXPORT void qWarning(const char *,...)
#define glGenFramebuffers
void(APIENTRY * _glGenRenderbuffers)(GLsizei n, GLuint *renderbuffers)
#define glGetRenderbufferParameteriv
#define glBindRenderbuffer
GLboolean(APIENTRY * _glIsRenderbuffer)(GLuint renderbuffer)
void(APIENTRY * _glGenFramebuffers)(GLsizei n, GLuint *framebuffers)
void(APIENTRY * _glDeleteRenderbuffers)(GLsizei n, const GLuint *renderbuffers)
#define glFramebufferRenderbuffer
void(APIENTRY * _glFramebufferRenderbuffer)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
#define glFramebufferTexture2D
void(APIENTRY * _glFramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
#define glGenerateMipmap
Definition: glfunctions.h:70
#define glRenderbufferStorage

◆ qt_resolve_glsl_extensions()

bool qt_resolve_glsl_extensions ( QGLContext ctx)

Definition at line 244 of file qglextensions.cpp.

Referenced by QGLShaderPrivate::create(), QGLShaderProgram::hasOpenGLShaderPrograms(), QGLShader::hasOpenGLShaders(), QGLShaderProgram::init(), and qt_resolve_version_2_0_functions().

245 {
246 
247 #if defined(QT_OPENGL_ES_2)
248  // The GLSL shader functions are always present in OpenGL/ES 2.0.
249  // The only exceptions are glGetProgramBinaryOES and glProgramBinaryOES.
250  if (!QGLContextPrivate::extensionFuncs(ctx).qt_glslResolved) {
251  glGetProgramBinaryOES = (_glGetProgramBinaryOES) ctx->getProcAddress(QLatin1String("glGetProgramBinaryOES"));
252  glProgramBinaryOES = (_glProgramBinaryOES) ctx->getProcAddress(QLatin1String("glProgramBinaryOES"));
253  QGLContextPrivate::extensionFuncs(ctx).qt_glslResolved = true;
254  }
255  return true;
256 #else
257  if (glCreateShader)
258  return true;
259 
260  // Geometry shaders are optional...
265 
266  // Must at least have the FragmentShader extension to continue.
268  return false;
269 
270  glCreateShader = (_glCreateShader) ctx->getProcAddress(QLatin1String("glCreateShader"));
271  if (glCreateShader) {
272  glShaderSource = (_glShaderSource) ctx->getProcAddress(QLatin1String("glShaderSource"));
273  glShaderBinary = (_glShaderBinary) ctx->getProcAddress(QLatin1String("glShaderBinary"));
274  glCompileShader = (_glCompileShader) ctx->getProcAddress(QLatin1String("glCompileShader"));
275  glDeleteShader = (_glDeleteShader) ctx->getProcAddress(QLatin1String("glDeleteShader"));
276  glIsShader = (_glIsShader) ctx->getProcAddress(QLatin1String("glIsShader"));
277 
278  glCreateProgram = (_glCreateProgram) ctx->getProcAddress(QLatin1String("glCreateProgram"));
279  glAttachShader = (_glAttachShader) ctx->getProcAddress(QLatin1String("glAttachShader"));
280  glDetachShader = (_glDetachShader) ctx->getProcAddress(QLatin1String("glDetachShader"));
281  glLinkProgram = (_glLinkProgram) ctx->getProcAddress(QLatin1String("glLinkProgram"));
282  glUseProgram = (_glUseProgram) ctx->getProcAddress(QLatin1String("glUseProgram"));
283  glDeleteProgram = (_glDeleteProgram) ctx->getProcAddress(QLatin1String("glDeleteProgram"));
284  glIsProgram = (_glIsProgram) ctx->getProcAddress(QLatin1String("glIsProgram"));
285 
286  glGetShaderInfoLog = (_glGetShaderInfoLog) ctx->getProcAddress(QLatin1String("glGetShaderInfoLog"));
287  glGetShaderiv = (_glGetShaderiv) ctx->getProcAddress(QLatin1String("glGetShaderiv"));
288  glGetShaderSource = (_glGetShaderSource) ctx->getProcAddress(QLatin1String("glGetShaderSource"));
289  glGetProgramiv = (_glGetProgramiv) ctx->getProcAddress(QLatin1String("glGetProgramiv"));
290  glGetProgramInfoLog = (_glGetProgramInfoLog) ctx->getProcAddress(QLatin1String("glGetProgramInfoLog"));
291 
293  glUniform4fv = (_glUniform4fv) ctx->getProcAddress(QLatin1String("glUniform4fv"));
294  glUniform3fv = (_glUniform3fv) ctx->getProcAddress(QLatin1String("glUniform3fv"));
295  glUniform2fv = (_glUniform2fv) ctx->getProcAddress(QLatin1String("glUniform2fv"));
296  glUniform1fv = (_glUniform1fv) ctx->getProcAddress(QLatin1String("glUniform1fv"));
297  glUniform1i = (_glUniform1i) ctx->getProcAddress(QLatin1String("glUniform1i"));
298  glUniform1iv = (_glUniform1iv) ctx->getProcAddress(QLatin1String("glUniform1iv"));
299  glUniformMatrix2fv = (_glUniformMatrix2fv) ctx->getProcAddress(QLatin1String("glUniformMatrix2fv"));
300  glUniformMatrix3fv = (_glUniformMatrix3fv) ctx->getProcAddress(QLatin1String("glUniformMatrix3fv"));
301  glUniformMatrix4fv = (_glUniformMatrix4fv) ctx->getProcAddress(QLatin1String("glUniformMatrix4fv"));
308 
310  glGetAttribLocation = (_glGetAttribLocation) ctx->getProcAddress(QLatin1String("glGetAttribLocation"));
311  glVertexAttrib1fv = (_glVertexAttrib1fv) ctx->getProcAddress(QLatin1String("glVertexAttrib1fv"));
312  glVertexAttrib2fv = (_glVertexAttrib2fv) ctx->getProcAddress(QLatin1String("glVertexAttrib2fv"));
313  glVertexAttrib3fv = (_glVertexAttrib3fv) ctx->getProcAddress(QLatin1String("glVertexAttrib3fv"));
314  glVertexAttrib4fv = (_glVertexAttrib4fv) ctx->getProcAddress(QLatin1String("glVertexAttrib4fv"));
318 
319  } else {
320  // We may not have the standard shader functions, but we might
321  // have the older ARB functions instead.
322  glCreateShader = (_glCreateShader) ctx->getProcAddress(QLatin1String("glCreateShaderObjectARB"));
323  glShaderSource = (_glShaderSource) ctx->getProcAddress(QLatin1String("glShaderSourceARB"));
324  glShaderBinary = (_glShaderBinary) ctx->getProcAddress(QLatin1String("glShaderBinaryARB"));
325  glCompileShader = (_glCompileShader) ctx->getProcAddress(QLatin1String("glCompileShaderARB"));
326  glDeleteShader = (_glDeleteShader) ctx->getProcAddress(QLatin1String("glDeleteObjectARB"));
327  glIsShader = 0;
328 
329  glCreateProgram = (_glCreateProgram) ctx->getProcAddress(QLatin1String("glCreateProgramObjectARB"));
330  glAttachShader = (_glAttachShader) ctx->getProcAddress(QLatin1String("glAttachObjectARB"));
331  glDetachShader = (_glDetachShader) ctx->getProcAddress(QLatin1String("glDetachObjectARB"));
332  glLinkProgram = (_glLinkProgram) ctx->getProcAddress(QLatin1String("glLinkProgramARB"));
333  glUseProgram = (_glUseProgram) ctx->getProcAddress(QLatin1String("glUseProgramObjectARB"));
334  glDeleteProgram = (_glDeleteProgram) ctx->getProcAddress(QLatin1String("glDeleteObjectARB"));
335  glIsProgram = 0;
336 
338  glGetShaderiv = (_glGetShaderiv) ctx->getProcAddress(QLatin1String("glGetObjectParameterivARB"));
339  glGetShaderSource = (_glGetShaderSource) ctx->getProcAddress(QLatin1String("glGetShaderSourceARB"));
340  glGetProgramiv = (_glGetProgramiv) ctx->getProcAddress(QLatin1String("glGetObjectParameterivARB"));
342 
343  glGetUniformLocation = (_glGetUniformLocation) ctx->getProcAddress(QLatin1String("glGetUniformLocationARB"));
344  glUniform4fv = (_glUniform4fv) ctx->getProcAddress(QLatin1String("glUniform4fvARB"));
345  glUniform3fv = (_glUniform3fv) ctx->getProcAddress(QLatin1String("glUniform3fvARB"));
346  glUniform2fv = (_glUniform2fv) ctx->getProcAddress(QLatin1String("glUniform2fvARB"));
347  glUniform1fv = (_glUniform1fv) ctx->getProcAddress(QLatin1String("glUniform1fvARB"));
348  glUniform1i = (_glUniform1i) ctx->getProcAddress(QLatin1String("glUniform1iARB"));
349  glUniform1iv = (_glUniform1iv) ctx->getProcAddress(QLatin1String("glUniform1ivARB"));
350  glUniformMatrix2fv = (_glUniformMatrix2fv) ctx->getProcAddress(QLatin1String("glUniformMatrix2fvARB"));
351  glUniformMatrix3fv = (_glUniformMatrix3fv) ctx->getProcAddress(QLatin1String("glUniformMatrix3fvARB"));
352  glUniformMatrix4fv = (_glUniformMatrix4fv) ctx->getProcAddress(QLatin1String("glUniformMatrix4fvARB"));
353  glUniformMatrix2x3fv = (_glUniformMatrix2x3fv) ctx->getProcAddress(QLatin1String("glUniformMatrix2x3fvARB"));
354  glUniformMatrix2x4fv = (_glUniformMatrix2x4fv) ctx->getProcAddress(QLatin1String("glUniformMatrix2x4fvARB"));
355  glUniformMatrix3x2fv = (_glUniformMatrix3x2fv) ctx->getProcAddress(QLatin1String("glUniformMatrix3x2fvARB"));
356  glUniformMatrix3x4fv = (_glUniformMatrix3x4fv) ctx->getProcAddress(QLatin1String("glUniformMatrix3x4fvARB"));
357  glUniformMatrix4x2fv = (_glUniformMatrix4x2fv) ctx->getProcAddress(QLatin1String("glUniformMatrix4x2fvARB"));
358  glUniformMatrix4x3fv = (_glUniformMatrix4x3fv) ctx->getProcAddress(QLatin1String("glUniformMatrix4x3fvARB"));
359 
360  glBindAttribLocation = (_glBindAttribLocation) ctx->getProcAddress(QLatin1String("glBindAttribLocationARB"));
361  glGetAttribLocation = (_glGetAttribLocation) ctx->getProcAddress(QLatin1String("glGetAttribLocationARB"));
362  glVertexAttrib1fv = (_glVertexAttrib1fv) ctx->getProcAddress(QLatin1String("glVertexAttrib1fvARB"));
363  glVertexAttrib2fv = (_glVertexAttrib2fv) ctx->getProcAddress(QLatin1String("glVertexAttrib2fvARB"));
364  glVertexAttrib3fv = (_glVertexAttrib3fv) ctx->getProcAddress(QLatin1String("glVertexAttrib3fvARB"));
365  glVertexAttrib4fv = (_glVertexAttrib4fv) ctx->getProcAddress(QLatin1String("glVertexAttrib4fvARB"));
366  glVertexAttribPointer = (_glVertexAttribPointer) ctx->getProcAddress(QLatin1String("glVertexAttribPointerARB"));
367  glDisableVertexAttribArray = (_glDisableVertexAttribArray) ctx->getProcAddress(QLatin1String("glDisableVertexAttribArrayARB"));
368  glEnableVertexAttribArray = (_glEnableVertexAttribArray) ctx->getProcAddress(QLatin1String("glEnableVertexAttribArrayARB"));
369  }
370 
371  // Note: glShaderBinary(), glIsShader(), glIsProgram(), and
372  // glUniformMatrixNxMfv() are optional, but all other functions
373  // are required.
374 
375  return glCreateShader &&
376  glShaderSource &&
377  glCompileShader &&
378  glDeleteProgram &&
379  glCreateProgram &&
380  glAttachShader &&
381  glDetachShader &&
382  glLinkProgram &&
383  glUseProgram &&
384  glDeleteProgram &&
386  glGetShaderiv &&
388  glGetProgramiv &&
391  glUniform1fv &&
392  glUniform2fv &&
393  glUniform3fv &&
394  glUniform4fv &&
395  glUniform1i &&
396  glUniform1iv &&
409 #endif
410 }
void(APIENTRY * _glUniformMatrix4x2fv)(GLint, GLsizei, GLboolean, const GLfloat *)
void(APIENTRY * _glUniformMatrix4x3fv)(GLint, GLsizei, GLboolean, const GLfloat *)
#define glCreateProgram
#define glUseProgram
#define glUniform3fv
#define glFramebufferTextureEXT
void(APIENTRY * _glUniformMatrix2x3fv)(GLint, GLsizei, GLboolean, const GLfloat *)
#define glShaderBinary
void(APIENTRY * _glUniformMatrix4fv)(GLint, GLsizei, GLboolean, const GLfloat *)
GLint(APIENTRY * _glGetAttribLocation)(GLuint, const char *)
#define glUniform1iv
GLuint(APIENTRY * _glCreateShader)(GLenum)
#define glGetShaderSource
#define glIsShader
#define glUniform2fv
void(APIENTRY * _glShaderSource)(GLuint, GLsizei, const char **, const GLint *)
#define glFramebufferTextureFaceEXT
#define glBindAttribLocation
void(APIENTRY * _glUniform4fv)(GLint, GLsizei, const GLfloat *)
#define glVertexAttribPointer
Definition: glfunctions.h:71
#define glVertexAttrib3fv
#define glVertexAttrib2fv
void * getProcAddress(const QString &proc) const
Returns a function pointer to the GL extension function passed in proc.
Definition: qgl_egl.cpp:379
void(APIENTRY * _glUniform3fv)(GLint, GLsizei, const GLfloat *)
#define glEnableVertexAttribArray
void(APIENTRY * _glAttachShader)(GLuint, GLuint)
#define glVertexAttrib1fv
void(APIENTRY * _glUseProgram)(GLuint)
void(APIENTRY * _glGetProgramBinaryOES)(GLuint, GLsizei, GLsizei *, GLenum *, void *)
void(APIENTRY * _glGetShaderSource)(GLuint, GLsizei, GLsizei *, char *)
void(APIENTRY * _glUniformMatrix2fv)(GLint, GLsizei, GLboolean, const GLfloat *)
#define glUniformMatrix3x2fv
#define glGetAttribLocation
void(APIENTRY * _glBindAttribLocation)(GLuint, GLuint, const char *)
#define glFramebufferTextureLayerEXT
#define glVertexAttrib4fv
#define glShaderSource
void(APIENTRY * _glVertexAttribPointer)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *)
void(APIENTRY * _glDetachShader)(GLuint, GLuint)
#define glUniformMatrix3fv
#define glLinkProgram
void(APIENTRY * _glUniform1fv)(GLint, GLsizei, const GLfloat *)
void(APIENTRY * _glUniformMatrix2x4fv)(GLint, GLsizei, GLboolean, const GLfloat *)
void(APIENTRY * _glUniformMatrix3x2fv)(GLint, GLsizei, GLboolean, const GLfloat *)
void(APIENTRY * _glLinkProgram)(GLuint)
GLboolean(APIENTRY * _glIsShader)(GLuint)
#define glUniformMatrix2x3fv
void(APIENTRY * _glFramebufferTextureFaceEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face)
#define glIsProgram
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
Definition: qstring.h:654
void(APIENTRY * _glFramebufferTextureEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level)
#define glAttachShader
void(APIENTRY * _glFramebufferTextureLayerEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
#define glGetShaderInfoLog
#define glUniformMatrix2x4fv
#define glUniformMatrix4x2fv
#define glUniform4fv
#define glGetProgramiv
void(APIENTRY * _glProgramParameteriEXT)(GLuint program, GLenum pname, GLint value)
void(APIENTRY * _glGetProgramiv)(GLuint, GLenum, GLint *)
void(APIENTRY * _glUniform1iv)(GLint, GLsizei, const GLint *)
void(APIENTRY * _glDeleteProgram)(GLuint)
void(APIENTRY * _glVertexAttrib3fv)(GLuint, const GLfloat *)
void(APIENTRY * _glShaderBinary)(GLint, const GLuint *, GLenum, const void *, GLint)
void(APIENTRY * _glGetShaderiv)(GLuint, GLenum, GLint *)
void(APIENTRY * _glVertexAttrib4fv)(GLuint, const GLfloat *)
#define glUniform1i
#define glUniformMatrix3x4fv
GLboolean(APIENTRY * _glIsProgram)(GLuint)
#define glDetachShader
void(APIENTRY * _glDeleteShader)(GLuint)
#define glDisableVertexAttribArray
#define glUniformMatrix4fv
#define glProgramParameteriEXT
void(APIENTRY * _glUniformMatrix3x4fv)(GLint, GLsizei, GLboolean, const GLfloat *)
void(APIENTRY * _glCompileShader)(GLuint)
#define glCreateShader
#define glDeleteProgram
void(APIENTRY * _glDisableVertexAttribArray)(GLuint)
void(APIENTRY * _glVertexAttrib2fv)(GLuint, const GLfloat *)
void(APIENTRY * _glProgramBinaryOES)(GLuint, GLenum, const void *, GLint)
#define glGetUniformLocation
void(APIENTRY * _glGetProgramInfoLog)(GLuint, GLsizei, GLsizei *, char *)
static Extensions glExtensions()
Definition: qgl.cpp:5781
#define glGetShaderiv
#define glCompileShader
void(APIENTRY * _glGetShaderInfoLog)(GLuint, GLsizei, GLsizei *, char *)
void(APIENTRY * _glUniform2fv)(GLint, GLsizei, const GLfloat *)
void(APIENTRY * _glEnableVertexAttribArray)(GLuint)
GLuint(APIENTRY * _glCreateProgram)()
void(APIENTRY * _glVertexAttrib1fv)(GLuint, const GLfloat *)
void(APIENTRY * _glUniform1i)(GLint, GLint)
#define glUniformMatrix4x3fv
#define glUniformMatrix2fv
void(APIENTRY * _glUniformMatrix3fv)(GLint, GLsizei, GLboolean, const GLfloat *)
static QGLExtensionFuncs & extensionFuncs(const QGLContext *ctx)
Definition: qgl_p.h:467
#define glUniform1fv
#define glGetProgramInfoLog
GLuint(APIENTRY * _glGetUniformLocation)(GLuint, const char *)
#define glDeleteShader

◆ qt_resolve_stencil_face_extension()

bool qt_resolve_stencil_face_extension ( QGLContext ctx)

Definition at line 158 of file qglextensions.cpp.

Referenced by QOpenGLPaintEngine::begin().

159 {
160  if (glActiveStencilFaceEXT != 0)
161  return true;
162 
165 
166  return glActiveStencilFaceEXT;
167 }
void(APIENTRY * _glActiveStencilFaceEXT)(GLenum)
void * getProcAddress(const QString &proc) const
Returns a function pointer to the GL extension function passed in proc.
Definition: qgl_egl.cpp:379
The QGLContext class encapsulates an OpenGL rendering context.
Definition: qgl.h:310
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
Definition: qstring.h:654
#define glActiveStencilFaceEXT
static QGLFormat defaultFormat()
Definition: qgl.cpp:1518

◆ qt_resolve_version_1_3_functions()

bool qt_resolve_version_1_3_functions ( QGLContext ctx)

Definition at line 144 of file qglextensions.cpp.

Referenced by QOpenGLPaintEngine::begin(), and qt_resolve_version_2_0_functions().

145 {
146  if (glMultiTexCoord4f != 0)
147  return true;
148 
150  glMultiTexCoord4f = (_glMultiTexCoord4f) ctx->getProcAddress(QLatin1String("glMultiTexCoord4f"));
151 
152  glActiveTexture = (_glActiveTexture) ctx->getProcAddress(QLatin1String("glActiveTexture"));
154 }
#define glMultiTexCoord4f
void(APIENTRY * _glMultiTexCoord4f)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)
void * getProcAddress(const QString &proc) const
Returns a function pointer to the GL extension function passed in proc.
Definition: qgl_egl.cpp:379
The QGLContext class encapsulates an OpenGL rendering context.
Definition: qgl.h:310
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
Definition: qstring.h:654
#define glActiveTexture
Definition: glfunctions.h:69
void(APIENTRY * _glActiveTexture)(GLenum)
static QGLFormat defaultFormat()
Definition: qgl.cpp:1518

◆ qt_resolve_version_2_0_functions()

bool Q_OPENGL_EXPORT qt_resolve_version_2_0_functions ( QGLContext ctx)

Definition at line 413 of file qglextensions.cpp.

Referenced by QGL2PaintEngineEx::begin().

414 {
415  bool gl2supported = true;
416  if (!qt_resolve_glsl_extensions(ctx))
417  gl2supported = false;
418 
420  gl2supported = false;
421 
423  return gl2supported;
424 
425  glBlendColor = (_glBlendColor) ctx->getProcAddress(QLatin1String("glBlendColor"));
426  glStencilOpSeparate = (_glStencilOpSeparate) ctx->getProcAddress(QLatin1String("glStencilOpSeparate"));
428  gl2supported = false;
429 
430  return gl2supported;
431 }
bool qt_resolve_version_1_3_functions(QGLContext *ctx)
#define glStencilOpSeparate
void * getProcAddress(const QString &proc) const
Returns a function pointer to the GL extension function passed in proc.
Definition: qgl_egl.cpp:379
bool qt_resolve_glsl_extensions(QGLContext *ctx)
void(APIENTRY * _glStencilOpSeparate)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
Definition: qstring.h:654
#define glBlendColor
void(APIENTRY * _glBlendColor)(GLclampf, GLclampf, GLclampf, GLclampf)