40 #ifndef QOPENGL_EXTENSIONS_P_H
41 #define QOPENGL_EXTENSIONS_P_H
54 #include <QtGui/private/qtguiglobal_p.h>
70 TextureRectangle = 0x00000001,
71 GenerateMipmap = 0x00000002,
72 TextureCompression = 0x00000004,
73 MirroredRepeat = 0x00000008,
74 FramebufferMultisample = 0x00000010,
75 StencilTwoSide = 0x00000020,
76 StencilWrap = 0x00000040,
77 PackedDepthStencil = 0x00000080,
78 NVFloatBuffer = 0x00000100,
79 PixelBufferObject = 0x00000200,
80 FramebufferBlit = 0x00000400,
81 BGRATextureFormat = 0x00000800,
82 DDSTextureCompression = 0x00001000,
83 ETC1TextureCompression = 0x00002000,
84 PVRTCTextureCompression = 0x00004000,
85 ElementIndexUint = 0x00008000,
87 SRGBFrameBuffer = 0x00020000,
88 MapBuffer = 0x00040000,
89 GeometryShaders = 0x00080000,
90 MapBufferRange = 0x00100000,
91 Sized8Formats = 0x00200000,
92 DiscardFramebuffer = 0x00400000,
93 Sized16Formats = 0x00800000,
94 TextureSwizzle = 0x01000000,
95 StandardDerivatives = 0x02000000,
96 ASTCTextureCompression = 0x04000000,
97 ETC2TextureCompression = 0x08000000
101 OpenGLExtensions openGLExtensions();
139 Q_ASSERT(QOpenGLExtensions::isInitialized(
d));
148 Q_ASSERT(QOpenGLExtensions::isInitialized(
d));
157 Q_ASSERT(QOpenGLExtensions::isInitialized(
d));
The QOpenGLContext class represents a native OpenGL context, enabling OpenGL rendering on a QSurface.
void glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum *attachments)
QOpenGLExtensionsPrivate * d() const
void glGetBufferSubData(GLenum target, qopengl_GLintptr offset, qopengl_GLsizeiptr size, GLvoid *data)
GLvoid * glMapBuffer(GLenum target, GLenum access)
GLsizei const GLenum * attachments
GLvoid *QOPENGLF_APIENTRYP MapBuffer(GLenum target, GLenum access)
bool flushIsSufficientToSyncContexts
qopengl_GLintptr qopengl_GLsizeiptr GLvoid * data
QOpenGLFunctionsPrivate * d_ptr
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
#define QOPENGLF_APIENTRYP
QT_BEGIN_NAMESPACE typedef ptrdiff_t qopengl_GLintptr
ptrdiff_t qopengl_GLsizeiptr
GLenum GLuint GLintptr GLsizeiptr size
[1]
typedef GLsizei(GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)(GLuint target)
typedef GLenum(GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC)(void)
GLsizei const GLenum * attachments
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLuint GLintptr offset
#define Q_OPENGL_FUNCTIONS_DEBUG