![]() |
Qt 6.x
The Qt SDK
|
The QOpenGLFunctions class provides cross-platform access to the OpenGL ES 2.0 API. More...
#include <qopenglfunctions.h>
Public Types | |
enum | OpenGLFeature { Multitexture = 0x0001 , Shaders = 0x0002 , Buffers = 0x0004 , Framebuffers = 0x0008 , BlendColor = 0x0010 , BlendEquation = 0x0020 , BlendEquationSeparate = 0x0040 , BlendFuncSeparate = 0x0080 , BlendSubtract = 0x0100 , CompressedTextures = 0x0200 , Multisample = 0x0400 , StencilSeparate = 0x0800 , NPOTTextures = 0x1000 , NPOTTextureRepeat = 0x2000 , FixedFunctionPipeline = 0x4000 , TextureRGFormats = 0x8000 , MultipleRenderTargets = 0x10000 , BlendEquationAdvanced = 0x20000 } |
This enum defines OpenGL and OpenGL ES features whose presence may depend on the implementation. More... | |
Public Member Functions | |
QOpenGLFunctions () | |
Constructs a default function resolver. | |
QOpenGLFunctions (QOpenGLContext *context) | |
Constructs a function resolver for context. | |
~QOpenGLFunctions () | |
Destroys this function resolver. | |
QOpenGLFunctions::OpenGLFeatures | openGLFeatures () const |
Returns the set of features that are present on this system's OpenGL implementation. | |
bool | hasOpenGLFeature (QOpenGLFunctions::OpenGLFeature feature) const |
Returns true if feature is present on this system's OpenGL implementation; false otherwise. | |
void | initializeOpenGLFunctions () |
Initializes OpenGL function resolution for the current context. | |
void | glBindTexture (GLenum target, GLuint texture) |
Convenience function that calls glBindTexture(target, texture). | |
void | glBlendFunc (GLenum sfactor, GLenum dfactor) |
Convenience function that calls glBlendFunc(sfactor, dfactor). | |
void | glClear (GLbitfield mask) |
Convenience function that calls glClear(mask). | |
void | glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
Convenience function that calls glClearColor(red, green, blue, alpha). | |
void | glClearStencil (GLint s) |
Convenience function that calls glClearStencil(s). | |
void | glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
Convenience function that calls glColorMask(red, green, blue, alpha). | |
void | glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
Convenience function that calls glCopyTexImage2D(target, level, internalformat, x, y, width, height, border). | |
void | glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
Convenience function that calls glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height). | |
void | glCullFace (GLenum mode) |
Convenience function that calls glCullFace(mode). | |
void | glDeleteTextures (GLsizei n, const GLuint *textures) |
Convenience function that calls glDeleteTextures(n, textures). | |
void | glDepthFunc (GLenum func) |
Convenience function that calls glDepthFunc(func). | |
void | glDepthMask (GLboolean flag) |
Convenience function that calls glDepthMask(flag). | |
void | glDisable (GLenum cap) |
Convenience function that calls glDisable(cap). | |
void | glDrawArrays (GLenum mode, GLint first, GLsizei count) |
Convenience function that calls glDrawArrays(mode, first, count). | |
void | glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
Convenience function that calls glDrawElements(mode, count, type, indices). | |
void | glEnable (GLenum cap) |
Convenience function that calls glEnable(cap). | |
void | glFinish () |
Convenience function that calls glFinish(). | |
void | glFlush () |
Convenience function that calls glFlush(). | |
void | glFrontFace (GLenum mode) |
Convenience function that calls glFrontFace(mode). | |
void | glGenTextures (GLsizei n, GLuint *textures) |
Convenience function that calls glGenTextures(n, textures). | |
void | glGetBooleanv (GLenum pname, GLboolean *params) |
Convenience function that calls glGetBooleanv(pname, params). | |
GLenum | glGetError () |
Convenience function that calls glGetError(). | |
void | glGetFloatv (GLenum pname, GLfloat *params) |
Convenience function that calls glGetFloatv(pname, params). | |
void | glGetIntegerv (GLenum pname, GLint *params) |
Convenience function that calls glGetIntegerv(pname, params). | |
const GLubyte * | glGetString (GLenum name) |
Convenience function that calls glGetString(name). | |
void | glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params) |
Convenience function that calls glGetTexParameterfv(target, pname, params). | |
void | glGetTexParameteriv (GLenum target, GLenum pname, GLint *params) |
Convenience function that calls glGetTexParameteriv(target, pname, params). | |
void | glHint (GLenum target, GLenum mode) |
Convenience function that calls glHint(target, mode). | |
GLboolean | glIsEnabled (GLenum cap) |
Convenience function that calls glIsEnabled(cap). | |
GLboolean | glIsTexture (GLuint texture) |
Convenience function that calls glIsTexture(texture). | |
void | glLineWidth (GLfloat width) |
Convenience function that calls glLineWidth(width). | |
void | glPixelStorei (GLenum pname, GLint param) |
Convenience function that calls glPixelStorei(pname, param). | |
void | glPolygonOffset (GLfloat factor, GLfloat units) |
Convenience function that calls glPolygonOffset(factor, units). | |
void | glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
Convenience function that calls glReadPixels(x, y, width, height, format, type, pixels). | |
void | glScissor (GLint x, GLint y, GLsizei width, GLsizei height) |
Convenience function that calls glScissor(x, y, width, height). | |
void | glStencilFunc (GLenum func, GLint ref, GLuint mask) |
Convenience function that calls glStencilFunc(func, ref, mask). | |
void | glStencilMask (GLuint mask) |
Convenience function that calls glStencilMask(mask). | |
void | glStencilOp (GLenum fail, GLenum zfail, GLenum zpass) |
Convenience function that calls glStencilOp(fail, zfail, zpass). | |
void | glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
Convenience function that calls glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels). | |
void | glTexParameterf (GLenum target, GLenum pname, GLfloat param) |
Convenience function that calls glTexParameterf(target, pname, param). | |
void | glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params) |
Convenience function that calls glTexParameterfv(target, pname, params). | |
void | glTexParameteri (GLenum target, GLenum pname, GLint param) |
Convenience function that calls glTexParameteri(target, pname, param). | |
void | glTexParameteriv (GLenum target, GLenum pname, const GLint *params) |
Convenience function that calls glTexParameteriv(target, pname, params). | |
void | glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
Convenience function that calls glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels). | |
void | glViewport (GLint x, GLint y, GLsizei width, GLsizei height) |
Convenience function that calls glViewport(x, y, width, height). | |
void | glActiveTexture (GLenum texture) |
Convenience function that calls glActiveTexture(texture). | |
void | glAttachShader (GLuint program, GLuint shader) |
Convenience function that calls glAttachShader(program, shader). | |
void | glBindAttribLocation (GLuint program, GLuint index, const char *name) |
Convenience function that calls glBindAttribLocation(program, index, name). | |
void | glBindBuffer (GLenum target, GLuint buffer) |
Convenience function that calls glBindBuffer(target, buffer). | |
void | glBindFramebuffer (GLenum target, GLuint framebuffer) |
Convenience function that calls glBindFramebuffer(target, framebuffer). | |
void | glBindRenderbuffer (GLenum target, GLuint renderbuffer) |
Convenience function that calls glBindRenderbuffer(target, renderbuffer). | |
void | glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
Convenience function that calls glBlendColor(red, green, blue, alpha). | |
void | glBlendEquation (GLenum mode) |
Convenience function that calls glBlendEquation(mode). | |
void | glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) |
Convenience function that calls glBlendEquationSeparate(modeRGB, modeAlpha). | |
void | glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) |
Convenience function that calls glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha). | |
void | glBufferData (GLenum target, qopengl_GLsizeiptr size, const void *data, GLenum usage) |
Convenience function that calls glBufferData(target, size, data, usage). | |
void | glBufferSubData (GLenum target, qopengl_GLintptr offset, qopengl_GLsizeiptr size, const void *data) |
Convenience function that calls glBufferSubData(target, offset, size, data). | |
GLenum | glCheckFramebufferStatus (GLenum target) |
Convenience function that calls glCheckFramebufferStatus(target). | |
void | glClearDepthf (GLclampf depth) |
Convenience function that calls glClearDepth(depth) on desktop OpenGL systems and glClearDepthf(depth) on embedded OpenGL ES systems. | |
void | glCompileShader (GLuint shader) |
Convenience function that calls glCompileShader(shader). | |
void | glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data) |
Convenience function that calls glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data). | |
void | glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data) |
Convenience function that calls glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data). | |
GLuint | glCreateProgram () |
Convenience function that calls glCreateProgram(). | |
GLuint | glCreateShader (GLenum type) |
Convenience function that calls glCreateShader(type). | |
void | glDeleteBuffers (GLsizei n, const GLuint *buffers) |
Convenience function that calls glDeleteBuffers(n, buffers). | |
void | glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers) |
Convenience function that calls glDeleteFramebuffers(n, framebuffers). | |
void | glDeleteProgram (GLuint program) |
Convenience function that calls glDeleteProgram(program). | |
void | glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers) |
Convenience function that calls glDeleteRenderbuffers(n, renderbuffers). | |
void | glDeleteShader (GLuint shader) |
Convenience function that calls glDeleteShader(shader). | |
void | glDepthRangef (GLclampf zNear, GLclampf zFar) |
Convenience function that calls glDepthRange(zNear, zFar) on desktop OpenGL systems and glDepthRangef(zNear, zFar) on embedded OpenGL ES systems. | |
void | glDetachShader (GLuint program, GLuint shader) |
Convenience function that calls glDetachShader(program, shader). | |
void | glDisableVertexAttribArray (GLuint index) |
Convenience function that calls glDisableVertexAttribArray(index). | |
void | glEnableVertexAttribArray (GLuint index) |
Convenience function that calls glEnableVertexAttribArray(index). | |
void | glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
Convenience function that calls glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer). | |
void | glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
Convenience function that calls glFramebufferTexture2D(target, attachment, textarget, texture, level). | |
void | glGenBuffers (GLsizei n, GLuint *buffers) |
Convenience function that calls glGenBuffers(n, buffers). | |
void | glGenerateMipmap (GLenum target) |
Convenience function that calls glGenerateMipmap(target). | |
void | glGenFramebuffers (GLsizei n, GLuint *framebuffers) |
Convenience function that calls glGenFramebuffers(n, framebuffers). | |
void | glGenRenderbuffers (GLsizei n, GLuint *renderbuffers) |
Convenience function that calls glGenRenderbuffers(n, renderbuffers). | |
void | glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name) |
Convenience function that calls glGetActiveAttrib(program, index, bufsize, length, size, type, name). | |
void | glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name) |
Convenience function that calls glGetActiveUniform(program, index, bufsize, length, size, type, name). | |
void | glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders) |
Convenience function that calls glGetAttachedShaders(program, maxcount, count, shaders). | |
GLint | glGetAttribLocation (GLuint program, const char *name) |
Convenience function that calls glGetAttribLocation(program, name). | |
void | glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params) |
Convenience function that calls glGetBufferParameteriv(target, pname, params). | |
void | glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params) |
Convenience function that calls glGetFramebufferAttachmentParameteriv(target, attachment, pname, params). | |
void | glGetProgramiv (GLuint program, GLenum pname, GLint *params) |
Convenience function that calls glGetProgramiv(program, pname, params). | |
void | glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei *length, char *infolog) |
Convenience function that calls glGetProgramInfoLog(program, bufsize, length, infolog). | |
void | glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params) |
Convenience function that calls glGetRenderbufferParameteriv(target, pname, params). | |
void | glGetShaderiv (GLuint shader, GLenum pname, GLint *params) |
Convenience function that calls glGetShaderiv(shader, pname, params). | |
void | glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei *length, char *infolog) |
Convenience function that calls glGetShaderInfoLog(shader, bufsize, length, infolog). | |
void | glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision) |
Convenience function that calls glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision). | |
void | glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei *length, char *source) |
Convenience function that calls glGetShaderSource(shader, bufsize, length, source). | |
void | glGetUniformfv (GLuint program, GLint location, GLfloat *params) |
Convenience function that calls glGetUniformfv(program, location, params). | |
void | glGetUniformiv (GLuint program, GLint location, GLint *params) |
Convenience function that calls glGetUniformiv(program, location, params). | |
GLint | glGetUniformLocation (GLuint program, const char *name) |
Convenience function that calls glGetUniformLocation(program, name). | |
void | glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params) |
Convenience function that calls glGetVertexAttribfv(index, pname, params). | |
void | glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params) |
Convenience function that calls glGetVertexAttribiv(index, pname, params). | |
void | glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer) |
Convenience function that calls glGetVertexAttribPointerv(index, pname, pointer). | |
GLboolean | glIsBuffer (GLuint buffer) |
Convenience function that calls glIsBuffer(buffer). | |
GLboolean | glIsFramebuffer (GLuint framebuffer) |
Convenience function that calls glIsFramebuffer(framebuffer). | |
GLboolean | glIsProgram (GLuint program) |
Convenience function that calls glIsProgram(program). | |
GLboolean | glIsRenderbuffer (GLuint renderbuffer) |
Convenience function that calls glIsRenderbuffer(renderbuffer). | |
GLboolean | glIsShader (GLuint shader) |
Convenience function that calls glIsShader(shader). | |
void | glLinkProgram (GLuint program) |
Convenience function that calls glLinkProgram(program). | |
void | glReleaseShaderCompiler () |
Convenience function that calls glReleaseShaderCompiler(). | |
void | glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
Convenience function that calls glRenderbufferStorage(target, internalformat, width, height). | |
void | glSampleCoverage (GLclampf value, GLboolean invert) |
Convenience function that calls glSampleCoverage(value, invert). | |
void | glShaderBinary (GLint n, const GLuint *shaders, GLenum binaryformat, const void *binary, GLint length) |
Convenience function that calls glShaderBinary(n, shaders, binaryformat, binary, length). | |
void | glShaderSource (GLuint shader, GLsizei count, const char **string, const GLint *length) |
Convenience function that calls glShaderSource(shader, count, string, length). | |
void | glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask) |
Convenience function that calls glStencilFuncSeparate(face, func, ref, mask). | |
void | glStencilMaskSeparate (GLenum face, GLuint mask) |
Convenience function that calls glStencilMaskSeparate(face, mask). | |
void | glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass) |
Convenience function that calls glStencilOpSeparate(face, fail, zfail, zpass). | |
void | glUniform1f (GLint location, GLfloat x) |
Convenience function that calls glUniform1f(location, x). | |
void | glUniform1fv (GLint location, GLsizei count, const GLfloat *v) |
Convenience function that calls glUniform1fv(location, count, v). | |
void | glUniform1i (GLint location, GLint x) |
Convenience function that calls glUniform1i(location, x). | |
void | glUniform1iv (GLint location, GLsizei count, const GLint *v) |
Convenience function that calls glUniform1iv(location, count, v). | |
void | glUniform2f (GLint location, GLfloat x, GLfloat y) |
Convenience function that calls glUniform2f(location, x, y). | |
void | glUniform2fv (GLint location, GLsizei count, const GLfloat *v) |
Convenience function that calls glUniform2fv(location, count, v). | |
void | glUniform2i (GLint location, GLint x, GLint y) |
Convenience function that calls glUniform2i(location, x, y). | |
void | glUniform2iv (GLint location, GLsizei count, const GLint *v) |
Convenience function that calls glUniform2iv(location, count, v). | |
void | glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z) |
Convenience function that calls glUniform3f(location, x, y, z). | |
void | glUniform3fv (GLint location, GLsizei count, const GLfloat *v) |
Convenience function that calls glUniform3fv(location, count, v). | |
void | glUniform3i (GLint location, GLint x, GLint y, GLint z) |
Convenience function that calls glUniform3i(location, x, y, z). | |
void | glUniform3iv (GLint location, GLsizei count, const GLint *v) |
Convenience function that calls glUniform3iv(location, count, v). | |
void | glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
Convenience function that calls glUniform4f(location, x, y, z, w). | |
void | glUniform4fv (GLint location, GLsizei count, const GLfloat *v) |
Convenience function that calls glUniform4fv(location, count, v). | |
void | glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w) |
Convenience function that calls glUniform4i(location, x, y, z, w). | |
void | glUniform4iv (GLint location, GLsizei count, const GLint *v) |
Convenience function that calls glUniform4iv(location, count, v). | |
void | glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix2fv(location, count, transpose, value). | |
void | glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix3fv(location, count, transpose, value). | |
void | glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix4fv(location, count, transpose, value). | |
void | glUseProgram (GLuint program) |
Convenience function that calls glUseProgram(program). | |
void | glValidateProgram (GLuint program) |
Convenience function that calls glValidateProgram(program). | |
void | glVertexAttrib1f (GLuint indx, GLfloat x) |
Convenience function that calls glVertexAttrib1f(indx, x). | |
void | glVertexAttrib1fv (GLuint indx, const GLfloat *values) |
Convenience function that calls glVertexAttrib1fv(indx, values). | |
void | glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y) |
Convenience function that calls glVertexAttrib2f(indx, x, y). | |
void | glVertexAttrib2fv (GLuint indx, const GLfloat *values) |
Convenience function that calls glVertexAttrib2fv(indx, values). | |
void | glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z) |
Convenience function that calls glVertexAttrib3f(indx, x, y, z). | |
void | glVertexAttrib3fv (GLuint indx, const GLfloat *values) |
Convenience function that calls glVertexAttrib3fv(indx, values). | |
void | glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
Convenience function that calls glVertexAttrib4f(indx, x, y, z, w). | |
void | glVertexAttrib4fv (GLuint indx, const GLfloat *values) |
Convenience function that calls glVertexAttrib4fv(indx, values). | |
void | glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *ptr) |
Convenience function that calls glVertexAttribPointer(indx, size, type, normalized, stride, ptr). | |
Static Protected Member Functions | |
static bool | isInitialized (const QOpenGLFunctionsPrivate *d) |
Protected Attributes | |
QOpenGLFunctionsPrivate * | d_ptr |
The QOpenGLFunctions class provides cross-platform access to the OpenGL ES 2.0 API.
\inmodule QtGui
OpenGL ES 2.0 defines a subset of the OpenGL specification that is common across many desktop and embedded OpenGL implementations. However, it can be difficult to use the functions from that subset because they need to be resolved manually on desktop systems.
QOpenGLFunctions provides a guaranteed API that is available on all OpenGL systems and takes care of function resolution on systems that need it. The recommended way to use QOpenGLFunctions is by direct inheritance:
The {paintGL()} function can then use any of the OpenGL ES 2.0 functions without explicit resolution, such as glActiveTexture() in the following example:
QOpenGLFunctions can also be used directly for ad-hoc invocation of OpenGL ES 2.0 functions on all platforms:
An alternative approach is to query the context's associated QOpenGLFunctions instance. This is somewhat faster than the previous approach due to avoiding the creation of a new instance, but the difference is fairly small since the internal data structures are shared, and function resolving happens only once for a given context, regardless of the number of QOpenGLFunctions instances initialized for it.
QOpenGLFunctions provides wrappers for all OpenGL ES 2.0 functions, including the common subset of OpenGL 1.x and ES 2.0. While such functions, for example glClear() or glDrawArrays(), can be called also directly, as long as the application links to the platform-specific OpenGL library, calling them via QOpenGLFunctions enables the possibility of dynamically loading the OpenGL implementation.
The hasOpenGLFeature() and openGLFeatures() functions can be used to determine if the OpenGL implementation has a major OpenGL ES 2.0 feature. For example, the following checks if non power of two textures are available:
Definition at line 201 of file qopenglfunctions.h.
This enum defines OpenGL and OpenGL ES features whose presence may depend on the implementation.
\value Multitexture glActiveTexture() function is available. \value Shaders Shader functions are available. \value Buffers Vertex and index buffer functions are available. \value Framebuffers Framebuffer object functions are available. \value BlendColor glBlendColor() is available. \value BlendEquation glBlendEquation() is available. \value BlendEquationSeparate glBlendEquationSeparate() is available. \value BlendEquationAdvanced Advanced blend equations are available. \value BlendFuncSeparate glBlendFuncSeparate() is available. \value BlendSubtract Blend subtract mode is available. \value CompressedTextures Compressed texture functions are available. \value Multisample glSampleCoverage() function is available. \value StencilSeparate Separate stencil functions are available. \value NPOTTextures Non power of two textures are available. \value NPOTTextureRepeat Non power of two textures can use GL_REPEAT as wrap parameter. \value FixedFunctionPipeline The fixed function pipeline is available. \value TextureRGFormats The GL_RED and GL_RG texture formats are available. \value MultipleRenderTargets Multiple color attachments to framebuffer objects are available.
Definition at line 208 of file qopenglfunctions.h.
QOpenGLFunctions::QOpenGLFunctions | ( | ) |
Constructs a default function resolver.
The resolver cannot be used until initializeOpenGLFunctions() is called to specify the context.
Definition at line 168 of file qopenglfunctions.cpp.
|
explicit |
Constructs a function resolver for context.
If context is \nullptr, then the resolver will be created for the current QOpenGLContext.
The context or another context in the group must be current.
An object constructed in this way can only be used with context and other contexts that share with it. Use initializeOpenGLFunctions() to change the object's context association.
Definition at line 186 of file qopenglfunctions.cpp.
References context, QOpenGLContextGroup::currentContextGroup(), d_ptr, qt_gl_functions(), and qWarning.
|
inline |
Destroys this function resolver.
Definition at line 206 of file qopenglfunctions.h.
Convenience function that calls glActiveTexture(texture).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glActiveTexture.xhtml}{glActiveTexture()}.
Definition at line 1060 of file qopenglfunctions.h.
References d_ptr, glActiveTexture(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::activateTextureUnit(), glActiveTexture(), src_gui_opengl_qopenglfunctions::MyGLWindow::paintGL(), QQuickOpenGLUtils::resetOpenGLState(), src_gui_opengl_qopenglfunctions::wrapper0(), and src_gui_opengl_qopenglfunctions::wrapper1().
Convenience function that calls glAttachShader(program, shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glAttachShader.xhtml}{glAttachShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1071 of file qopenglfunctions.h.
References d_ptr, glAttachShader(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glAttachShader().
|
inline |
Convenience function that calls glBindAttribLocation(program, index, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindAttribLocation.xhtml}{glBindAttribLocation()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1082 of file qopenglfunctions.h.
References d_ptr, glBindAttribLocation(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glBindAttribLocation().
Convenience function that calls glBindBuffer(target, buffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindBuffer.xhtml}{glBindBuffer()}.
Definition at line 1093 of file qopenglfunctions.h.
References d_ptr, glBindBuffer(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::fill(), glBindBuffer(), QOpenGL2PaintEngineExPrivate::resetGLState(), and QQuickOpenGLUtils::resetOpenGLState().
Convenience function that calls glBindFramebuffer(target, framebuffer).
Note that Qt will translate a framebuffer argument of 0 to the currently bound QOpenGLContext's defaultFramebufferObject().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindFramebuffer.xhtml}{glBindFramebuffer()}.
Definition at line 1104 of file qopenglfunctions.h.
References QOpenGLContext::currentContext(), d_ptr, QOpenGLContext::defaultFramebufferObject(), glBindFramebuffer(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLWindowPrivate::beginPaint(), QOpenGLFramebufferObject::bindDefault(), QOpenGLFramebufferObject::blitFramebuffer(), QOpenGLWindowPrivate::endPaint(), glBindFramebuffer(), and Q_TRACE_INSTRUMENT().
Convenience function that calls glBindRenderbuffer(target, renderbuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindRenderbuffer.xhtml}{glBindRenderbuffer()}.
Definition at line 1117 of file qopenglfunctions.h.
References d_ptr, glBindRenderbuffer(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glBindRenderbuffer(), QOpenGLFramebufferObjectPrivate::initColorBuffer(), and QOpenGLFramebufferObjectPrivate::initDepthStencilAttachments().
Convenience function that calls glBindTexture(target, texture).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindTexture.xhtml}{glBindTexture()}.
Definition at line 560 of file qopenglfunctions.h.
References d_ptr, glBindTexture(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QBlitterTextureBinder::QBlitterTextureBinder(), QBlitterTextureBinder::~QBlitterTextureBinder(), QOpenGLTexturePrivate::bind(), QOpenGLTexturePrivate::bind(), QOpenGL2PaintEngineExPrivate::bindTexture(), QtWaylandClient::DecorationsBlitter::blit(), glBindTexture(), QOpenGLFramebufferObjectPrivate::initTexture(), src_gui_opengl_qopenglfunctions::MyGLWindow::paintGL(), QOpenGLTexturePrivate::release(), QOpenGLTexturePrivate::release(), and QQuickOpenGLUtils::resetOpenGLState().
|
inline |
Convenience function that calls glBlendColor(red, green, blue, alpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendColor.xhtml}{glBlendColor()}.
Definition at line 1128 of file qopenglfunctions.h.
References d_ptr, glBlendColor(), isInitialized(), Q_ASSERT, Q_OPENGL_FUNCTIONS_DEBUG, and red.
Referenced by glBlendColor().
Convenience function that calls glBlendEquation(mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquation.xhtml}{glBlendEquation()}.
Definition at line 1139 of file qopenglfunctions.h.
References d_ptr, glBlendEquation(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glBlendEquation(), and QOpenGL2PaintEngineExPrivate::updateCompositionMode().
Convenience function that calls glBlendEquationSeparate(modeRGB, modeAlpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquationSeparate.xhtml}{glBlendEquationSeparate()}.
Definition at line 1150 of file qopenglfunctions.h.
References d_ptr, glBlendEquationSeparate(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glBlendEquationSeparate().
Convenience function that calls glBlendFunc(sfactor, dfactor).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendFunc.xhtml}{glBlendFunc()}.
Definition at line 571 of file qopenglfunctions.h.
References d_ptr, glBlendFunc(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLWindowPrivate::endPaint(), glBlendFunc(), QQuickOpenGLUtils::resetOpenGLState(), and QOpenGL2PaintEngineExPrivate::updateCompositionMode().
|
inline |
Convenience function that calls glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendFuncSeparate.xhtml}{glBlendFuncSeparate()}.
Definition at line 1161 of file qopenglfunctions.h.
References d_ptr, glBlendFuncSeparate(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glBlendFuncSeparate().
|
inline |
Convenience function that calls glBufferData(target, size, data, usage).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBufferData.xhtml}{glBufferData()}.
Definition at line 1172 of file qopenglfunctions.h.
References d_ptr, glBufferData(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::fill(), and glBufferData().
|
inline |
Convenience function that calls glBufferSubData(target, offset, size, data).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBufferSubData.xhtml}{glBufferSubData()}.
Definition at line 1183 of file qopenglfunctions.h.
References d_ptr, glBufferSubData(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glBufferSubData().
Convenience function that calls glCheckFramebufferStatus(target).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCheckFramebufferStatus.xhtml}{glCheckFramebufferStatus()}.
Definition at line 1194 of file qopenglfunctions.h.
References d_ptr, glCheckFramebufferStatus(), GLenum(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glCheckFramebufferStatus().
|
inline |
Convenience function that calls glClear(mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClear.xhtml}{glClear()}.
Definition at line 582 of file qopenglfunctions.h.
References d_ptr, glClear(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::clearClip(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), glClear(), MyGLWidget::paintGL(), and QOpenGLWidgetPrivate::recreateFbos().
|
inline |
Convenience function that calls glClearColor(red, green, blue, alpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClearColor.xhtml}{glClearColor()}.
Definition at line 593 of file qopenglfunctions.h.
References d_ptr, glClearColor(), isInitialized(), Q_ASSERT, Q_OPENGL_FUNCTIONS_DEBUG, and red.
Referenced by QOpenGLWidgetPaintDevicePrivate::beginPaint(), glClearColor(), MyGLWidget::initializeGL(), and QQuickOpenGLUtils::resetOpenGLState().
|
inline |
Convenience function that calls glClearDepth(depth) on desktop OpenGL systems and glClearDepthf(depth) on embedded OpenGL ES systems.
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClearDepthf.xhtml}{glClearDepthf()}.
Definition at line 1206 of file qopenglfunctions.h.
References d_ptr, glClearDepthf(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glClearDepthf(), QOpenGL2PaintEngineExPrivate::resetGLState(), and QQuickOpenGLUtils::resetOpenGLState().
Convenience function that calls glClearStencil(s).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClearStencil.xhtml}{glClearStencil()}.
Definition at line 604 of file qopenglfunctions.h.
References d_ptr, glClearStencil(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::clearClip(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), and glClearStencil().
|
inline |
Convenience function that calls glColorMask(red, green, blue, alpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glColorMask.xhtml}{glColorMask()}.
Definition at line 615 of file qopenglfunctions.h.
References d_ptr, glColorMask(), isInitialized(), Q_ASSERT, Q_OPENGL_FUNCTIONS_DEBUG, and red.
Referenced by QtWaylandClient::DecorationsBlitter::DecorationsBlitter(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), glColorMask(), QOpenGL2PaintEngineExPrivate::resetClipIfNeeded(), QQuickOpenGLUtils::resetOpenGLState(), and QOpenGL2PaintEngineExPrivate::writeClip().
Convenience function that calls glCompileShader(shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompileShader.xhtml}{glCompileShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1217 of file qopenglfunctions.h.
References d_ptr, glCompileShader(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLShaderPrivate::compile(), and glCompileShader().
|
inline |
Convenience function that calls glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompressedTexImage2D.xhtml}{glCompressedTexImage2D()}.
Definition at line 1228 of file qopenglfunctions.h.
References d_ptr, glCompressedTexImage2D(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glCompressedTexImage2D().
|
inline |
Convenience function that calls glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompressedTexSubImage2D.xhtml}{glCompressedTexSubImage2D()}.
Definition at line 1239 of file qopenglfunctions.h.
References d_ptr, glCompressedTexSubImage2D(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glCompressedTexSubImage2D().
|
inline |
Convenience function that calls glCopyTexImage2D(target, level, internalformat, x, y, width, height, border).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCopyTexImage2D.xhtml}{glCopyTexImage2D()}.
Definition at line 626 of file qopenglfunctions.h.
References d_ptr, glCopyTexImage2D(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glCopyTexImage2D().
|
inline |
Convenience function that calls glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCopyTexSubImage2D.xhtml}{glCopyTexSubImage2D()}.
Definition at line 637 of file qopenglfunctions.h.
References d_ptr, glCopyTexSubImage2D(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glCopyTexSubImage2D().
|
inline |
Convenience function that calls glCreateProgram().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCreateProgram.xhtml}{glCreateProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1250 of file qopenglfunctions.h.
References d_ptr, glCreateProgram(), GLuint, isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glCreateProgram().
Convenience function that calls glCreateShader(type).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCreateShader.xhtml}{glCreateShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1262 of file qopenglfunctions.h.
References d_ptr, glCreateShader(), GLuint, isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLShaderPrivate::create(), and glCreateShader().
Convenience function that calls glCullFace(mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCullFace.xhtml}{glCullFace()}.
Definition at line 648 of file qopenglfunctions.h.
References d_ptr, glCullFace(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glCullFace().
Convenience function that calls glDeleteBuffers(n, buffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteBuffers.xhtml}{glDeleteBuffers()}.
Definition at line 1274 of file qopenglfunctions.h.
References d_ptr, glDeleteBuffers(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::~QOpenGL2PaintEngineExPrivate(), and glDeleteBuffers().
Convenience function that calls glDeleteFramebuffers(n, framebuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteFramebuffers.xhtml}{glDeleteFramebuffers()}.
Definition at line 1285 of file qopenglfunctions.h.
References d_ptr, glDeleteFramebuffers(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glDeleteFramebuffers(), and Q_TRACE_INSTRUMENT().
Convenience function that calls glDeleteProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteProgram.xhtml}{glDeleteProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1296 of file qopenglfunctions.h.
References d_ptr, glDeleteProgram(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glDeleteProgram().
Convenience function that calls glDeleteRenderbuffers(n, renderbuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteRenderbuffers.xhtml}{glDeleteRenderbuffers()}.
Definition at line 1307 of file qopenglfunctions.h.
References d_ptr, glDeleteRenderbuffers(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glDeleteRenderbuffers(), QOpenGLFramebufferObjectPrivate::initColorBuffer(), and QOpenGLFramebufferObjectPrivate::initDepthStencilAttachments().
Convenience function that calls glDeleteShader(shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteShader.xhtml}{glDeleteShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1318 of file qopenglfunctions.h.
References d_ptr, glDeleteShader(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glDeleteShader().
Convenience function that calls glDeleteTextures(n, textures).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteTextures.xhtml}{glDeleteTextures()}.
Definition at line 659 of file qopenglfunctions.h.
References d_ptr, glDeleteTextures(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QFFmpeg::VAAPITextureSet::~VAAPITextureSet(), QOpenGLTexturePrivate::destroy(), glDeleteTextures(), and QOpenGLFramebufferObjectPrivate::initTexture().
Convenience function that calls glDepthFunc(func).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDepthFunc.xhtml}{glDepthFunc()}.
Definition at line 670 of file qopenglfunctions.h.
References d_ptr, glDepthFunc(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glDepthFunc(), QOpenGL2PaintEngineExPrivate::resetGLState(), and QQuickOpenGLUtils::resetOpenGLState().
Convenience function that calls glDepthMask(flag).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDepthMask.xhtml}{glDepthMask()}.
Definition at line 681 of file qopenglfunctions.h.
References d_ptr, glDepthMask(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QtWaylandClient::DecorationsBlitter::DecorationsBlitter(), glDepthMask(), QOpenGL2PaintEngineExPrivate::resetGLState(), and QQuickOpenGLUtils::resetOpenGLState().
|
inline |
Convenience function that calls glDepthRange(zNear, zFar) on desktop OpenGL systems and glDepthRangef(zNear, zFar) on embedded OpenGL ES systems.
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDepthRangef.xhtml}{glDepthRangef()}.
Definition at line 1329 of file qopenglfunctions.h.
References d_ptr, glDepthRangef(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glDepthRangef().
Convenience function that calls glDetachShader(program, shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDetachShader.xhtml}{glDetachShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1340 of file qopenglfunctions.h.
References d_ptr, glDetachShader(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glDetachShader().
Convenience function that calls glDisable(cap).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnable.xhtml}{glDisable()}.
Definition at line 692 of file qopenglfunctions.h.
References d_ptr, glDisable(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QtWaylandClient::DecorationsBlitter::DecorationsBlitter(), QOpenGLWindowPrivate::endPaint(), glDisable(), QOpenGL2PaintEngineExPrivate::prepareForDraw(), QOpenGL2PaintEngineExPrivate::resetGLState(), QQuickOpenGLUtils::resetOpenGLState(), QOpenGL2PaintEngineExPrivate::updateClipScissorTest(), and QOpenGL2PaintEngineExPrivate::updateCompositionMode().
Convenience function that calls glDisableVertexAttribArray(index).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnableVertexAttribArray.xhtml}{glDisableVertexAttribArray()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1351 of file qopenglfunctions.h.
References d_ptr, glDisableVertexAttribArray(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glDisableVertexAttribArray(), QQuickOpenGLUtils::resetOpenGLState(), QOpenGL2PaintEngineExPrivate::setVertexAttribArrayEnabled(), and QOpenGL2PaintEngineExPrivate::syncGlState().
Convenience function that calls glDrawArrays(mode, first, count).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDrawArrays.xhtml}{glDrawArrays()}.
Definition at line 703 of file qopenglfunctions.h.
References d_ptr, glDrawArrays(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLTextureBlitterPrivate::blit(), QOpenGLTextureBlitterPrivate::blit(), QtWaylandClient::DecorationsBlitter::blit(), QOpenGL2PaintEngineExPrivate::composite(), QOpenGL2PaintEngineExPrivate::drawPixmapFragments(), QOpenGL2PaintEngineExPrivate::drawVertexArrays(), QOpenGL2PaintEngineExPrivate::fill(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), glDrawArrays(), Q_TRACE_INSTRUMENT(), and QOpenGL2PaintEngineExPrivate::stroke().
|
inline |
Convenience function that calls glDrawElements(mode, count, type, indices).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDrawElements.xhtml}{glDrawElements()}.
Definition at line 714 of file qopenglfunctions.h.
References d_ptr, glDrawElements(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::fill(), and glDrawElements().
Convenience function that calls glEnable(cap).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnable.xhtml}{glEnable()}.
Definition at line 725 of file qopenglfunctions.h.
References d_ptr, glEnable(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLWindowPrivate::endPaint(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), glEnable(), QOpenGL2PaintEngineExPrivate::prepareForDraw(), QOpenGL2PaintEngineExPrivate::resetClipIfNeeded(), QOpenGL2PaintEngineExPrivate::updateClipScissorTest(), QOpenGL2PaintEngineExPrivate::updateCompositionMode(), and QOpenGL2PaintEngineExPrivate::writeClip().
Convenience function that calls glEnableVertexAttribArray(index).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnableVertexAttribArray.xhtml}{glEnableVertexAttribArray()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1362 of file qopenglfunctions.h.
References d_ptr, glEnableVertexAttribArray(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glEnableVertexAttribArray(), QOpenGL2PaintEngineExPrivate::setVertexAttribArrayEnabled(), and QOpenGL2PaintEngineExPrivate::syncGlState().
|
inline |
Convenience function that calls glFinish().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFinish.xhtml}{glFinish()}.
Definition at line 736 of file qopenglfunctions.h.
References d_ptr, glFinish(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLExtensions::flushShared(), and glFinish().
|
inline |
Convenience function that calls glFlush().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFlush.xhtml}{glFlush()}.
Definition at line 747 of file qopenglfunctions.h.
References d_ptr, glFlush(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLExtensions::flushShared(), glFlush(), and QOpenGLContext::swapBuffers().
|
inline |
Convenience function that calls glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFramebufferRenderbuffer.xhtml}{glFramebufferRenderbuffer()}.
Definition at line 1373 of file qopenglfunctions.h.
References d_ptr, glFramebufferRenderbuffer(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glFramebufferRenderbuffer(), QOpenGLFramebufferObjectPrivate::initColorBuffer(), and QOpenGLFramebufferObjectPrivate::initDepthStencilAttachments().
|
inline |
Convenience function that calls glFramebufferTexture2D(target, attachment, textarget, texture, level).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFramebufferTexture2D.xhtml}{glFramebufferTexture2D()}.
Definition at line 1384 of file qopenglfunctions.h.
References d_ptr, glFramebufferTexture2D(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glFramebufferTexture2D(), and QOpenGLFramebufferObjectPrivate::initTexture().
Convenience function that calls glFrontFace(mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFrontFace.xhtml}{glFrontFace()}.
Definition at line 758 of file qopenglfunctions.h.
References d_ptr, glFrontFace(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glFrontFace().
Convenience function that calls glGenBuffers(n, buffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenBuffers.xhtml}{glGenBuffers()}.
Definition at line 1395 of file qopenglfunctions.h.
References d_ptr, glGenBuffers(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::fill(), and glGenBuffers().
Convenience function that calls glGenerateMipmap(target).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenerateMipmap.xhtml}{glGenerateMipmap()}.
Definition at line 1406 of file qopenglfunctions.h.
References d_ptr, glGenerateMipmap(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGenerateMipmap().
Convenience function that calls glGenFramebuffers(n, framebuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenFramebuffers.xhtml}{glGenFramebuffers()}.
Definition at line 1417 of file qopenglfunctions.h.
References d_ptr, glGenFramebuffers(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLGlyphTexture::QOpenGLGlyphTexture(), glGenFramebuffers(), and Q_TRACE_INSTRUMENT().
Convenience function that calls glGenRenderbuffers(n, renderbuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenRenderbuffers.xhtml}{glGenRenderbuffers()}.
Definition at line 1428 of file qopenglfunctions.h.
References d_ptr, glGenRenderbuffers(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGenRenderbuffers(), QOpenGLFramebufferObjectPrivate::initColorBuffer(), and QOpenGLFramebufferObjectPrivate::initDepthStencilAttachments().
Convenience function that calls glGenTextures(n, textures).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenTextures.xhtml}{glGenTextures()}.
Definition at line 769 of file qopenglfunctions.h.
References d_ptr, glGenTextures(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLTexturePrivate::create(), glGenTextures(), and QOpenGLFramebufferObjectPrivate::initTexture().
|
inline |
Convenience function that calls glGetActiveAttrib(program, index, bufsize, length, size, type, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetActiveAttrib.xhtml}{glGetActiveAttrib()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1439 of file qopenglfunctions.h.
References d_ptr, glGetActiveAttrib(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetActiveAttrib().
|
inline |
Convenience function that calls glGetActiveUniform(program, index, bufsize, length, size, type, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetActiveUniform.xhtml}{glGetActiveUniform()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1450 of file qopenglfunctions.h.
References d_ptr, glGetActiveUniform(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetActiveUniform().
|
inline |
Convenience function that calls glGetAttachedShaders(program, maxcount, count, shaders).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetAttachedShaders.xhtml}{glGetAttachedShaders()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1461 of file qopenglfunctions.h.
References d_ptr, glGetAttachedShaders(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetAttachedShaders().
Convenience function that calls glGetAttribLocation(program, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetAttribLocation.xhtml}{glGetAttribLocation()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1472 of file qopenglfunctions.h.
References d_ptr, glGetAttribLocation(), GLint(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetAttribLocation().
Convenience function that calls glGetBooleanv(pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGet.xhtml}{glGetBooleanv()}.
Definition at line 780 of file qopenglfunctions.h.
References d_ptr, glGetBooleanv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetBooleanv(), and QOpenGLTextureHelper::savePixelUploadOptions().
|
inline |
Convenience function that calls glGetBufferParameteriv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetBufferParameter.xhtml}{glGetBufferParameteriv()}.
Definition at line 1484 of file qopenglfunctions.h.
References d_ptr, glGetBufferParameteriv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetBufferParameteriv().
|
inline |
Convenience function that calls glGetError().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetError.xhtml}{glGetError()}.
Definition at line 791 of file qopenglfunctions.h.
References d_ptr, GLenum(), glGetError(), isInitialized(), and Q_ASSERT.
Referenced by glGetError().
Convenience function that calls glGetFloatv(pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGet.xhtml}{glGetFloatv()}.
Definition at line 802 of file qopenglfunctions.h.
References d_ptr, glGetFloatv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetFloatv().
|
inline |
Convenience function that calls glGetFramebufferAttachmentParameteriv(target, attachment, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetFramebufferAttachmentParameteriv.xhtml}{glGetFramebufferAttachmentParameteriv()}.
Definition at line 1495 of file qopenglfunctions.h.
References d_ptr, glGetFramebufferAttachmentParameteriv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetFramebufferAttachmentParameteriv().
Convenience function that calls glGetIntegerv(pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGet.xhtml}{glGetIntegerv()}.
Definition at line 813 of file qopenglfunctions.h.
References d_ptr, glGetIntegerv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLTexturePrivate::bind(), glGetIntegerv(), QOpenGLDebugLogger::initialize(), QOpenGLTexturePrivate::isBound(), QOpenGLTexturePrivate::isBound(), Q_TRACE_INSTRUMENT(), QOpenGLTexturePrivate::release(), QQuickOpenGLUtils::resetOpenGLState(), and QOpenGLTextureHelper::savePixelUploadOptions().
|
inline |
Convenience function that calls glGetProgramInfoLog(program, bufsize, length, infolog).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetProgramInfoLog.xhtml}{glGetProgramInfoLog()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1517 of file qopenglfunctions.h.
References d_ptr, glGetProgramInfoLog(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetProgramInfoLog().
Convenience function that calls glGetProgramiv(program, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetProgramiv.xhtml}{glGetProgramiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1506 of file qopenglfunctions.h.
References d_ptr, glGetProgramiv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetProgramiv().
|
inline |
Convenience function that calls glGetRenderbufferParameteriv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetRenderbufferParameteriv.xhtml}{glGetRenderbufferParameteriv()}.
Definition at line 1528 of file qopenglfunctions.h.
References d_ptr, glGetRenderbufferParameteriv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetRenderbufferParameteriv(), and QOpenGLFramebufferObjectPrivate::initColorBuffer().
|
inline |
Convenience function that calls glGetShaderInfoLog(shader, bufsize, length, infolog).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderInfoLog.xhtml}{glGetShaderInfoLog()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1550 of file qopenglfunctions.h.
References d_ptr, glGetShaderInfoLog(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLShaderPrivate::compile(), and glGetShaderInfoLog().
Convenience function that calls glGetShaderiv(shader, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderiv.xhtml}{glGetShaderiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1539 of file qopenglfunctions.h.
References d_ptr, glGetShaderiv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLShaderPrivate::compile(), and glGetShaderiv().
|
inline |
Convenience function that calls glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderPrecisionFormat.xhtml}{glGetShaderPrecisionFormat()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1561 of file qopenglfunctions.h.
References d_ptr, glGetShaderPrecisionFormat(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetShaderPrecisionFormat().
|
inline |
Convenience function that calls glGetShaderSource(shader, bufsize, length, source).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderSource.xhtml}{glGetShaderSource()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1572 of file qopenglfunctions.h.
References d_ptr, glGetShaderSource(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLShaderPrivate::compile(), and glGetShaderSource().
|
inline |
Convenience function that calls glGetString(name).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetString.xhtml}{glGetString()}.
Definition at line 824 of file qopenglfunctions.h.
References d_ptr, glGetString(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLExtensions::flushShared(), glGetString(), and QOpenGLContext::makeCurrent().
Convenience function that calls glGetTexParameterfv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetTexParameter.xhtml}{glGetTexParameterfv()}.
Definition at line 836 of file qopenglfunctions.h.
References d_ptr, glGetTexParameterfv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetTexParameterfv().
Convenience function that calls glGetTexParameteriv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetTexParameter.xhtml}{glGetTexParameteriv()}.
Definition at line 847 of file qopenglfunctions.h.
References d_ptr, glGetTexParameteriv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetTexParameteriv().
Convenience function that calls glGetUniformfv(program, location, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniform.xhtml}{glGetUniformfv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1583 of file qopenglfunctions.h.
References d_ptr, glGetUniformfv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetUniformfv().
Convenience function that calls glGetUniformiv(program, location, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniform.xhtml}{glGetUniformiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1594 of file qopenglfunctions.h.
References d_ptr, glGetUniformiv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetUniformiv().
Convenience function that calls glGetUniformLocation(program, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniformLocation.xhtml}{glGetUniformLocation()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1605 of file qopenglfunctions.h.
References d_ptr, glGetUniformLocation(), GLint(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetUniformLocation().
Convenience function that calls glGetVertexAttribfv(index, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttrib.xhtml}{glGetVertexAttribfv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1617 of file qopenglfunctions.h.
References d_ptr, glGetVertexAttribfv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetVertexAttribfv().
Convenience function that calls glGetVertexAttribiv(index, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttrib.xhtml}{glGetVertexAttribiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1628 of file qopenglfunctions.h.
References d_ptr, glGetVertexAttribiv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetVertexAttribiv().
|
inline |
Convenience function that calls glGetVertexAttribPointerv(index, pname, pointer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttribPointerv.xhtml}{glGetVertexAttribPointerv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1639 of file qopenglfunctions.h.
References d_ptr, glGetVertexAttribPointerv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glGetVertexAttribPointerv().
Convenience function that calls glHint(target, mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glHint.xhtml}{glHint()}.
Definition at line 858 of file qopenglfunctions.h.
References d_ptr, glHint(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glHint().
Convenience function that calls glIsBuffer(buffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsBuffer.xhtml}{glIsBuffer()}.
Definition at line 1650 of file qopenglfunctions.h.
References d_ptr, GLboolean(), glIsBuffer(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glIsBuffer().
Convenience function that calls glIsEnabled(cap).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsEnabled.xhtml}{glIsEnabled()}.
Definition at line 869 of file qopenglfunctions.h.
References d_ptr, GLboolean(), glIsEnabled(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glIsEnabled().
Convenience function that calls glIsFramebuffer(framebuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsFramebuffer.xhtml}{glIsFramebuffer()}.
Definition at line 1662 of file qopenglfunctions.h.
References d_ptr, GLboolean(), glIsFramebuffer(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glIsFramebuffer().
Convenience function that calls glIsProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsProgram.xhtml}{glIsProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1674 of file qopenglfunctions.h.
References d_ptr, GLboolean(), glIsProgram(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glIsProgram().
Convenience function that calls glIsRenderbuffer(renderbuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsRenderbuffer.xhtml}{glIsRenderbuffer()}.
Definition at line 1686 of file qopenglfunctions.h.
References d_ptr, GLboolean(), glIsRenderbuffer(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glIsRenderbuffer(), and QOpenGLFramebufferObjectPrivate::initDepthStencilAttachments().
Convenience function that calls glIsShader(shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsShader.xhtml}{glIsShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1698 of file qopenglfunctions.h.
References d_ptr, GLboolean(), glIsShader(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glIsShader().
Convenience function that calls glIsTexture(texture).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsTexture.xhtml}{glIsTexture()}.
Definition at line 881 of file qopenglfunctions.h.
References d_ptr, GLboolean(), glIsTexture(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glIsTexture().
Convenience function that calls glLineWidth(width).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glLineWidth.xhtml}{glLineWidth()}.
Definition at line 893 of file qopenglfunctions.h.
References d_ptr, glLineWidth(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glLineWidth().
Convenience function that calls glLinkProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glLinkProgram.xhtml}{glLinkProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1710 of file qopenglfunctions.h.
References d_ptr, glLinkProgram(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glLinkProgram().
Convenience function that calls glPixelStorei(pname, param).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glPixelStorei.xhtml}{glPixelStorei()}.
Definition at line 904 of file qopenglfunctions.h.
References d_ptr, glPixelStorei(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glPixelStorei(), and QOpenGLTextureHelper::setPixelUploadOptions().
Convenience function that calls glPolygonOffset(factor, units).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glPolygonOffset.xhtml}{glPolygonOffset()}.
Definition at line 915 of file qopenglfunctions.h.
References d_ptr, glPolygonOffset(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glPolygonOffset().
|
inline |
Convenience function that calls glReadPixels(x, y, width, height, format, type, pixels).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glReadPixels.xhtml}{glReadPixels()}.
Definition at line 926 of file qopenglfunctions.h.
References d_ptr, glReadPixels(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glReadPixels().
|
inline |
Convenience function that calls glReleaseShaderCompiler().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glReleaseShaderCompiler.xhtml}{glReleaseShaderCompiler()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1721 of file qopenglfunctions.h.
References d_ptr, glReleaseShaderCompiler(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glReleaseShaderCompiler().
|
inline |
Convenience function that calls glRenderbufferStorage(target, internalformat, width, height).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glRenderbufferStorage.xhtml}{glRenderbufferStorage()}.
Definition at line 1732 of file qopenglfunctions.h.
References d_ptr, glRenderbufferStorage(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glRenderbufferStorage(), and QOpenGLFramebufferObjectPrivate::initDepthStencilAttachments().
Convenience function that calls glSampleCoverage(value, invert).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glSampleCoverage.xhtml}{glSampleCoverage()}.
Definition at line 1743 of file qopenglfunctions.h.
References d_ptr, glSampleCoverage(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glSampleCoverage().
Convenience function that calls glScissor(x, y, width, height).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glScissor.xhtml}{glScissor()}.
Definition at line 937 of file qopenglfunctions.h.
References d_ptr, glScissor(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glScissor(), and QOpenGL2PaintEngineExPrivate::setScissor().
|
inline |
Convenience function that calls glShaderBinary(n, shaders, binaryformat, binary, length).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glShaderBinary.xhtml}{glShaderBinary()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1754 of file qopenglfunctions.h.
References d_ptr, glShaderBinary(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glShaderBinary().
|
inline |
Convenience function that calls glShaderSource(shader, count, string, length).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glShaderSource.xhtml}{glShaderSource()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1765 of file qopenglfunctions.h.
References d_ptr, glShaderSource(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glShaderSource().
Convenience function that calls glStencilFunc(func, ref, mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilFunc.xhtml}{glStencilFunc()}.
Definition at line 948 of file qopenglfunctions.h.
References d_ptr, glStencilFunc(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::fill(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), glStencilFunc(), QOpenGL2PaintEngineExPrivate::resetClipIfNeeded(), QOpenGL2PaintEngineExPrivate::resetGLState(), QQuickOpenGLUtils::resetOpenGLState(), QOpenGL2PaintEngineExPrivate::stroke(), QOpenGL2PaintEngineExPrivate::updateClipScissorTest(), and QOpenGL2PaintEngineExPrivate::writeClip().
|
inline |
Convenience function that calls glStencilFuncSeparate(face, func, ref, mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilFuncSeparate.xhtml}{glStencilFuncSeparate()}.
Definition at line 1776 of file qopenglfunctions.h.
References d_ptr, glStencilFuncSeparate(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glStencilFuncSeparate().
Convenience function that calls glStencilMask(mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilMask.xhtml}{glStencilMask()}.
Definition at line 959 of file qopenglfunctions.h.
References d_ptr, glStencilMask(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::clearClip(), QOpenGL2PaintEngineExPrivate::fill(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), glStencilMask(), QOpenGL2PaintEngineExPrivate::resetClipIfNeeded(), QOpenGL2PaintEngineExPrivate::resetGLState(), QQuickOpenGLUtils::resetOpenGLState(), QOpenGL2PaintEngineExPrivate::stroke(), and QOpenGL2PaintEngineExPrivate::writeClip().
Convenience function that calls glStencilMaskSeparate(face, mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilMaskSeparate.xhtml}{glStencilMaskSeparate()}.
Definition at line 1787 of file qopenglfunctions.h.
References d_ptr, glStencilMaskSeparate(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glStencilMaskSeparate().
Convenience function that calls glStencilOp(fail, zfail, zpass).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilOp.xhtml}{glStencilOp()}.
Definition at line 970 of file qopenglfunctions.h.
References d_ptr, glStencilOp(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::fill(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), glStencilOp(), QOpenGL2PaintEngineExPrivate::resetClipIfNeeded(), QOpenGL2PaintEngineExPrivate::resetGLState(), QQuickOpenGLUtils::resetOpenGLState(), QOpenGL2PaintEngineExPrivate::stroke(), and QOpenGL2PaintEngineExPrivate::writeClip().
|
inline |
Convenience function that calls glStencilOpSeparate(face, fail, zfail, zpass).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilOpSeparate.xhtml}{glStencilOpSeparate()}.
Definition at line 1798 of file qopenglfunctions.h.
References d_ptr, glStencilOpSeparate(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), and glStencilOpSeparate().
|
inline |
Convenience function that calls glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexImage2D.xhtml}{glTexImage2D()}.
Definition at line 981 of file qopenglfunctions.h.
References d_ptr, glTexImage2D(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glTexImage2D(), and QOpenGLFramebufferObjectPrivate::initTexture().
Convenience function that calls glTexParameterf(target, pname, param).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameterf()}.
Definition at line 992 of file qopenglfunctions.h.
References d_ptr, glTexParameterf(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glTexParameterf().
|
inline |
Convenience function that calls glTexParameterfv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameterfv()}.
Definition at line 1003 of file qopenglfunctions.h.
References d_ptr, glTexParameterfv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glTexParameterfv().
Convenience function that calls glTexParameteri(target, pname, param).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameteri()}.
Definition at line 1014 of file qopenglfunctions.h.
References d_ptr, glTexParameteri(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QtWaylandClient::DecorationsBlitter::blit(), glTexParameteri(), QOpenGLFramebufferObjectPrivate::initTexture(), and QOpenGL2PaintEngineExPrivate::updateTexture().
|
inline |
Convenience function that calls glTexParameteriv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameteriv()}.
Definition at line 1025 of file qopenglfunctions.h.
References d_ptr, glTexParameteriv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glTexParameteriv().
|
inline |
Convenience function that calls glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexSubImage2D.xhtml}{glTexSubImage2D()}.
Definition at line 1036 of file qopenglfunctions.h.
References d_ptr, glTexSubImage2D(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glTexSubImage2D().
Convenience function that calls glUniform1f(location, x).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1809 of file qopenglfunctions.h.
References d_ptr, glUniform1f(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform1f().
Convenience function that calls glUniform1fv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1820 of file qopenglfunctions.h.
References d_ptr, glUniform1fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform1fv().
Convenience function that calls glUniform1i(location, x).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1831 of file qopenglfunctions.h.
References d_ptr, glUniform1i(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform1i().
Convenience function that calls glUniform1iv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1842 of file qopenglfunctions.h.
References d_ptr, glUniform1iv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform1iv().
Convenience function that calls glUniform2f(location, x, y).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1853 of file qopenglfunctions.h.
References d_ptr, glUniform2f(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform2f().
Convenience function that calls glUniform2fv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1864 of file qopenglfunctions.h.
References d_ptr, glUniform2fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform2fv().
Convenience function that calls glUniform2i(location, x, y).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1875 of file qopenglfunctions.h.
References d_ptr, glUniform2i(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform2i().
Convenience function that calls glUniform2iv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1886 of file qopenglfunctions.h.
References d_ptr, glUniform2iv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform2iv().
Convenience function that calls glUniform3f(location, x, y, z).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1897 of file qopenglfunctions.h.
References d_ptr, glUniform3f(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform3f().
Convenience function that calls glUniform3fv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1908 of file qopenglfunctions.h.
References d_ptr, glUniform3fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform3fv().
Convenience function that calls glUniform3i(location, x, y, z).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1919 of file qopenglfunctions.h.
References d_ptr, glUniform3i(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform3i().
Convenience function that calls glUniform3iv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1930 of file qopenglfunctions.h.
References d_ptr, glUniform3iv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform3iv().
|
inline |
Convenience function that calls glUniform4f(location, x, y, z, w).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1941 of file qopenglfunctions.h.
References d_ptr, glUniform4f(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform4f().
Convenience function that calls glUniform4fv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1952 of file qopenglfunctions.h.
References d_ptr, glUniform4fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform4fv().
Convenience function that calls glUniform4i(location, x, y, z, w).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1963 of file qopenglfunctions.h.
References d_ptr, glUniform4i(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform4i().
Convenience function that calls glUniform4iv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1974 of file qopenglfunctions.h.
References d_ptr, glUniform4iv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniform4iv().
|
inline |
Convenience function that calls glUniformMatrix2fv(location, count, transpose, value).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniformMatrix2fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1985 of file qopenglfunctions.h.
References d_ptr, glUniformMatrix2fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniformMatrix2fv().
|
inline |
Convenience function that calls glUniformMatrix3fv(location, count, transpose, value).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniformMatrix3fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1996 of file qopenglfunctions.h.
References d_ptr, glUniformMatrix3fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniformMatrix3fv().
|
inline |
Convenience function that calls glUniformMatrix4fv(location, count, transpose, value).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniformMatrix4fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2007 of file qopenglfunctions.h.
References d_ptr, glUniformMatrix4fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUniformMatrix4fv().
Convenience function that calls glUseProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUseProgram.xhtml}{glUseProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2018 of file qopenglfunctions.h.
References d_ptr, glUseProgram(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glUseProgram(), and QQuickOpenGLUtils::resetOpenGLState().
Convenience function that calls glValidateProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glValidateProgram.xhtml}{glValidateProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2029 of file qopenglfunctions.h.
References d_ptr, glValidateProgram(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glValidateProgram().
Convenience function that calls glVertexAttrib1f(indx, x).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib1f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2040 of file qopenglfunctions.h.
References d_ptr, glVertexAttrib1f(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glVertexAttrib1f().
Convenience function that calls glVertexAttrib1fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib1fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2051 of file qopenglfunctions.h.
References d_ptr, glVertexAttrib1fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glVertexAttrib1fv().
Convenience function that calls glVertexAttrib2f(indx, x, y).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib2f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2062 of file qopenglfunctions.h.
References d_ptr, glVertexAttrib2f(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glVertexAttrib2f().
Convenience function that calls glVertexAttrib2fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib2fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2073 of file qopenglfunctions.h.
References d_ptr, glVertexAttrib2fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glVertexAttrib2fv().
Convenience function that calls glVertexAttrib3f(indx, x, y, z).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib3f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2084 of file qopenglfunctions.h.
References d_ptr, glVertexAttrib3f(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glVertexAttrib3f().
Convenience function that calls glVertexAttrib3fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib3fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2095 of file qopenglfunctions.h.
References d_ptr, glVertexAttrib3fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glVertexAttrib3fv(), and QOpenGL2PaintEngineExPrivate::updateMatrix().
|
inline |
Convenience function that calls glVertexAttrib4f(indx, x, y, z, w).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib4f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2106 of file qopenglfunctions.h.
References d_ptr, glVertexAttrib4f(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glVertexAttrib4f().
Convenience function that calls glVertexAttrib4fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib4fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2117 of file qopenglfunctions.h.
References d_ptr, glVertexAttrib4fv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glVertexAttrib4fv(), and QOpenGL2PaintEngineExPrivate::resetGLState().
|
inline |
Convenience function that calls glVertexAttribPointer(indx, size, type, normalized, stride, ptr).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttribPointer.xhtml}{glVertexAttribPointer()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2128 of file qopenglfunctions.h.
References d_ptr, glVertexAttribPointer(), isInitialized(), ptr(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by glVertexAttribPointer(), and QQuickOpenGLUtils::resetOpenGLState().
Convenience function that calls glViewport(x, y, width, height).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glViewport.xhtml}{glViewport()}.
Definition at line 1047 of file qopenglfunctions.h.
References d_ptr, glViewport(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Referenced by QOpenGLWindowPrivate::beginPaint(), QtWaylandClient::DecorationsBlitter::blit(), glViewport(), QOpenGLWidgetPrivate::render(), QSGFramebufferObjectNode::render(), and QSGMapboxGLRenderNode::render().
bool QOpenGLFunctions::hasOpenGLFeature | ( | QOpenGLFunctions::OpenGLFeature | feature | ) | const |
Returns true
if feature is present on this system's OpenGL implementation; false otherwise.
It is assumed that the QOpenGLContext associated with this function resolver is current.
Definition at line 498 of file qopenglfunctions.cpp.
References d, d_ptr, and qt_gl_resolve_features().
Referenced by QtWaylandClient::DecorationsBlitter::DecorationsBlitter(), QOpenGLFramebufferObject::blitFramebuffer(), QOpenGLFramebufferObject::hasOpenGLFramebufferObjects(), QOpenGLShaderProgram::hasOpenGLShaderPrograms(), Q_TRACE_INSTRUMENT(), and QOpenGLFramebufferObject::toImage().
void QOpenGLFunctions::initializeOpenGLFunctions | ( | ) |
Initializes OpenGL function resolution for the current context.
After calling this function, the QOpenGLFunctions object can only be used with the current context and other contexts that share with it. Call initializeOpenGLFunctions() again to change the object's context association.
Definition at line 554 of file qopenglfunctions.cpp.
References d_ptr, and qt_gl_functions().
Referenced by QtWaylandClient::DecorationsBlitter::DecorationsBlitter(), src_gui_opengl_qopenglfunctions::MyGLWindow::initializeGL(), MyGLWidget::initializeGL(), and Q_TRACE_INSTRUMENT().
|
inlinestaticprotected |
Definition at line 384 of file qopenglfunctions.h.
References d.
Referenced by glActiveTexture(), glAttachShader(), glBindAttribLocation(), glBindBuffer(), glBindFramebuffer(), glBindRenderbuffer(), glBindTexture(), glBlendColor(), glBlendEquation(), glBlendEquationSeparate(), glBlendFunc(), glBlendFuncSeparate(), glBufferData(), glBufferSubData(), glCheckFramebufferStatus(), glClear(), glClearColor(), glClearDepthf(), glClearStencil(), glColorMask(), glCompileShader(), glCompressedTexImage2D(), glCompressedTexSubImage2D(), glCopyTexImage2D(), glCopyTexSubImage2D(), glCreateProgram(), glCreateShader(), glCullFace(), glDeleteBuffers(), glDeleteFramebuffers(), glDeleteProgram(), glDeleteRenderbuffers(), glDeleteShader(), glDeleteTextures(), glDepthFunc(), glDepthMask(), glDepthRangef(), glDetachShader(), glDisable(), glDisableVertexAttribArray(), glDrawArrays(), glDrawElements(), glEnable(), glEnableVertexAttribArray(), glFinish(), glFlush(), glFramebufferRenderbuffer(), glFramebufferTexture2D(), glFrontFace(), glGenBuffers(), glGenerateMipmap(), glGenFramebuffers(), glGenRenderbuffers(), glGenTextures(), glGetActiveAttrib(), glGetActiveUniform(), glGetAttachedShaders(), glGetAttribLocation(), glGetBooleanv(), glGetBufferParameteriv(), glGetError(), glGetFloatv(), glGetFramebufferAttachmentParameteriv(), glGetIntegerv(), glGetProgramInfoLog(), glGetProgramiv(), glGetRenderbufferParameteriv(), glGetShaderInfoLog(), glGetShaderiv(), glGetShaderPrecisionFormat(), glGetShaderSource(), glGetString(), glGetTexParameterfv(), glGetTexParameteriv(), glGetUniformfv(), glGetUniformiv(), glGetUniformLocation(), glGetVertexAttribfv(), glGetVertexAttribiv(), glGetVertexAttribPointerv(), glHint(), glIsBuffer(), glIsEnabled(), glIsFramebuffer(), glIsProgram(), glIsRenderbuffer(), glIsShader(), glIsTexture(), glLineWidth(), glLinkProgram(), glPixelStorei(), glPolygonOffset(), glReadPixels(), glReleaseShaderCompiler(), glRenderbufferStorage(), glSampleCoverage(), glScissor(), glShaderBinary(), glShaderSource(), glStencilFunc(), glStencilFuncSeparate(), glStencilMask(), glStencilMaskSeparate(), glStencilOp(), glStencilOpSeparate(), glTexImage2D(), glTexParameterf(), glTexParameterfv(), glTexParameteri(), glTexParameteriv(), glTexSubImage2D(), glUniform1f(), glUniform1fv(), glUniform1i(), glUniform1iv(), glUniform2f(), glUniform2fv(), glUniform2i(), glUniform2iv(), glUniform3f(), glUniform3fv(), glUniform3i(), glUniform3iv(), glUniform4f(), glUniform4fv(), glUniform4i(), glUniform4iv(), glUniformMatrix2fv(), glUniformMatrix3fv(), glUniformMatrix4fv(), glUseProgram(), glValidateProgram(), glVertexAttrib1f(), glVertexAttrib1fv(), glVertexAttrib2f(), glVertexAttrib2fv(), glVertexAttrib3f(), glVertexAttrib3fv(), glVertexAttrib4f(), glVertexAttrib4fv(), glVertexAttribPointer(), and glViewport().
QOpenGLFunctions::OpenGLFeatures QOpenGLFunctions::openGLFeatures | ( | ) | const |
Returns the set of features that are present on this system's OpenGL implementation.
It is assumed that the QOpenGLContext associated with this function resolver is current.
Definition at line 479 of file qopenglfunctions.cpp.
References d, d_ptr, and qt_gl_resolve_features().
Referenced by QQuickOpenGLUtils::resetOpenGLState().
|
protected |
Definition at line 383 of file qopenglfunctions.h.
Referenced by QOpenGLFunctions(), QOpenGLExtensions::d(), glActiveTexture(), glAttachShader(), glBindAttribLocation(), glBindBuffer(), glBindFramebuffer(), glBindRenderbuffer(), glBindTexture(), glBlendColor(), glBlendEquation(), glBlendEquationSeparate(), glBlendFunc(), glBlendFuncSeparate(), glBufferData(), glBufferSubData(), glCheckFramebufferStatus(), glClear(), glClearColor(), glClearDepthf(), glClearStencil(), glColorMask(), glCompileShader(), glCompressedTexImage2D(), glCompressedTexSubImage2D(), glCopyTexImage2D(), glCopyTexSubImage2D(), glCreateProgram(), glCreateShader(), glCullFace(), glDeleteBuffers(), glDeleteFramebuffers(), glDeleteProgram(), glDeleteRenderbuffers(), glDeleteShader(), glDeleteTextures(), glDepthFunc(), glDepthMask(), glDepthRangef(), glDetachShader(), glDisable(), glDisableVertexAttribArray(), glDrawArrays(), glDrawElements(), glEnable(), glEnableVertexAttribArray(), glFinish(), glFlush(), glFramebufferRenderbuffer(), glFramebufferTexture2D(), glFrontFace(), glGenBuffers(), glGenerateMipmap(), glGenFramebuffers(), glGenRenderbuffers(), glGenTextures(), glGetActiveAttrib(), glGetActiveUniform(), glGetAttachedShaders(), glGetAttribLocation(), glGetBooleanv(), glGetBufferParameteriv(), glGetError(), glGetFloatv(), glGetFramebufferAttachmentParameteriv(), glGetIntegerv(), glGetProgramInfoLog(), glGetProgramiv(), glGetRenderbufferParameteriv(), glGetShaderInfoLog(), glGetShaderiv(), glGetShaderPrecisionFormat(), glGetShaderSource(), glGetString(), glGetTexParameterfv(), glGetTexParameteriv(), glGetUniformfv(), glGetUniformiv(), glGetUniformLocation(), glGetVertexAttribfv(), glGetVertexAttribiv(), glGetVertexAttribPointerv(), glHint(), glIsBuffer(), glIsEnabled(), glIsFramebuffer(), glIsProgram(), glIsRenderbuffer(), glIsShader(), glIsTexture(), glLineWidth(), glLinkProgram(), glPixelStorei(), glPolygonOffset(), glReadPixels(), glReleaseShaderCompiler(), glRenderbufferStorage(), glSampleCoverage(), glScissor(), glShaderBinary(), glShaderSource(), glStencilFunc(), glStencilFuncSeparate(), glStencilMask(), glStencilMaskSeparate(), glStencilOp(), glStencilOpSeparate(), glTexImage2D(), glTexParameterf(), glTexParameterfv(), glTexParameteri(), glTexParameteriv(), glTexSubImage2D(), glUniform1f(), glUniform1fv(), glUniform1i(), glUniform1iv(), glUniform2f(), glUniform2fv(), glUniform2i(), glUniform2iv(), glUniform3f(), glUniform3fv(), glUniform3i(), glUniform3iv(), glUniform4f(), glUniform4fv(), glUniform4i(), glUniform4iv(), glUniformMatrix2fv(), glUniformMatrix3fv(), glUniformMatrix4fv(), glUseProgram(), glValidateProgram(), glVertexAttrib1f(), glVertexAttrib1fv(), glVertexAttrib2f(), glVertexAttrib2fv(), glVertexAttrib3f(), glVertexAttrib3fv(), glVertexAttrib4f(), glVertexAttrib4fv(), glVertexAttribPointer(), glViewport(), QOpenGLExtensions::hasOpenGLExtension(), hasOpenGLFeature(), initializeOpenGLFunctions(), QOpenGLExtensions::openGLExtensions(), and openGLFeatures().