Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QOpenGLFunctions Class Reference

The QOpenGLFunctions class provides cross-platform access to the OpenGL ES 2.0 API. More...

#include <qopenglfunctions.h>

+ Inheritance diagram for QOpenGLFunctions:
+ Collaboration diagram for QOpenGLFunctions:

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

QOpenGLFunctionsPrivated_ptr
 

Detailed Description

The QOpenGLFunctions class provides cross-platform access to the OpenGL ES 2.0 API.

Since
5.0

\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:

class MyGLWindow : public QWindow, protected QOpenGLFunctions
{
public:
explicit MyGLWindow(QScreen *screen = nullptr);
protected:
void initializeGL();
void paintGL();
};
{
setSurfaceType(OpenGLSurface);
create();
// Create an OpenGL context
m_context = new QOpenGLContext;
m_context->create();
// Setup scene and render it
initializeGL();
};
void MyGLWindow::initializeGL()
{
m_context->makeCurrent(this);
initializeOpenGLFunctions();
}

The {paintGL()} function can then use any of the OpenGL ES 2.0 functions without explicit resolution, such as glActiveTexture() in the following example:

void MyGLWindow::paintGL()
{
m_context->makeCurrent(this);
glActiveTexture(GL_TEXTURE1);
glBindTexture(GL_TEXTURE_2D, textureId);
// ...
m_context->swapBuffers(this);
m_context->doneCurrent();
}

QOpenGLFunctions can also be used directly for ad-hoc invocation of OpenGL ES 2.0 functions on all platforms:

glFuncs.glActiveTexture(GL_TEXTURE1);

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.

glFuncs->glActiveTexture(GL_TEXTURE1);

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:

See also
QOpenGLContext, QSurfaceFormat

Definition at line 201 of file qopenglfunctions.h.

Member Enumeration Documentation

◆ OpenGLFeature

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.

Enumerator
Multitexture 
Shaders 
Buffers 
Framebuffers 
BlendColor 
BlendEquation 
BlendEquationSeparate 
BlendFuncSeparate 
BlendSubtract 
CompressedTextures 
Multisample 
StencilSeparate 
NPOTTextures 
NPOTTextureRepeat 
FixedFunctionPipeline 
TextureRGFormats 
MultipleRenderTargets 
BlendEquationAdvanced 

Definition at line 208 of file qopenglfunctions.h.

Constructor & Destructor Documentation

◆ QOpenGLFunctions() [1/2]

QOpenGLFunctions::QOpenGLFunctions ( )

Constructs a default function resolver.

The resolver cannot be used until initializeOpenGLFunctions() is called to specify the context.

See also
initializeOpenGLFunctions()

Definition at line 168 of file qopenglfunctions.cpp.

◆ QOpenGLFunctions() [2/2]

QOpenGLFunctions::QOpenGLFunctions ( QOpenGLContext * context)
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.

See also
initializeOpenGLFunctions()

Definition at line 186 of file qopenglfunctions.cpp.

References context, QOpenGLContextGroup::currentContextGroup(), d_ptr, qt_gl_functions(), and qWarning.

+ Here is the call graph for this function:

◆ ~QOpenGLFunctions()

QOpenGLFunctions::~QOpenGLFunctions ( )
inline

Destroys this function resolver.

Definition at line 206 of file qopenglfunctions.h.

Member Function Documentation

◆ glActiveTexture()

void QOpenGLFunctions::glActiveTexture ( GLenum texture)
inline

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(), and QQuickOpenGLUtils::resetOpenGLState().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glAttachShader()

void QOpenGLFunctions::glAttachShader ( GLuint program,
GLuint shader )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBindAttribLocation()

void QOpenGLFunctions::glBindAttribLocation ( GLuint program,
GLuint index,
const char * name )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBindBuffer()

void QOpenGLFunctions::glBindBuffer ( GLenum target,
GLuint buffer )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBindFramebuffer()

void QOpenGLFunctions::glBindFramebuffer ( GLenum target,
GLuint framebuffer )
inline

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, glBindFramebuffer(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by QOpenGLWindowPrivate::beginPaint(), QOpenGLFramebufferObject::bindDefault(), QOpenGLFramebufferObject::blitFramebuffer(), QOpenGLWindowPrivate::endPaint(), glBindFramebuffer(), and Q_TRACE_INSTRUMENT().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBindRenderbuffer()

void QOpenGLFunctions::glBindRenderbuffer ( GLenum target,
GLuint renderbuffer )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBindTexture()

void QOpenGLFunctions::glBindTexture ( GLenum target,
GLuint texture )
inline

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()}.

Since
5.3

Definition at line 560 of file qopenglfunctions.h.

References d_ptr, glBindTexture(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by 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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBlendColor()

void QOpenGLFunctions::glBlendColor ( GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBlendEquation()

void QOpenGLFunctions::glBlendEquation ( GLenum mode)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBlendEquationSeparate()

void QOpenGLFunctions::glBlendEquationSeparate ( GLenum modeRGB,
GLenum modeAlpha )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBlendFunc()

void QOpenGLFunctions::glBlendFunc ( GLenum sfactor,
GLenum dfactor )
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBlendFuncSeparate()

void QOpenGLFunctions::glBlendFuncSeparate ( GLenum srcRGB,
GLenum dstRGB,
GLenum srcAlpha,
GLenum dstAlpha )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBufferData()

void QOpenGLFunctions::glBufferData ( GLenum target,
qopengl_GLsizeiptr size,
const void * data,
GLenum usage )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glBufferSubData()

void QOpenGLFunctions::glBufferSubData ( GLenum target,
qopengl_GLintptr offset,
qopengl_GLsizeiptr size,
const void * data )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glCheckFramebufferStatus()

GLenum QOpenGLFunctions::glCheckFramebufferStatus ( GLenum target)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glClear()

void QOpenGLFunctions::glClear ( GLbitfield mask)
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()}.

Since
5.3

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(), and QOpenGLWidgetPrivate::recreateFbos().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glClearColor()

void QOpenGLFunctions::glClearColor ( GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha )
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()}.

Since
5.3

Definition at line 593 of file qopenglfunctions.h.

References d_ptr, glClearColor(), isInitialized(), Q_ASSERT, Q_OPENGL_FUNCTIONS_DEBUG, and red.

Referenced by glClearColor(), MyGLWidget::initializeGL(), and QQuickOpenGLUtils::resetOpenGLState().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glClearDepthf()

void QOpenGLFunctions::glClearDepthf ( GLclampf depth)
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glClearStencil()

void QOpenGLFunctions::glClearStencil ( GLint s)
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glColorMask()

void QOpenGLFunctions::glColorMask ( GLboolean red,
GLboolean green,
GLboolean blue,
GLboolean alpha )
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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glCompileShader()

void QOpenGLFunctions::glCompileShader ( GLuint shader)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glCompressedTexImage2D()

void QOpenGLFunctions::glCompressedTexImage2D ( GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLsizei imageSize,
const void * data )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glCompressedTexSubImage2D()

void QOpenGLFunctions::glCompressedTexSubImage2D ( GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLsizei imageSize,
const void * data )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glCopyTexImage2D()

void QOpenGLFunctions::glCopyTexImage2D ( GLenum target,
GLint level,
GLenum internalformat,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLint border )
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()}.

Since
5.3

Definition at line 626 of file qopenglfunctions.h.

References d_ptr, glCopyTexImage2D(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glCopyTexImage2D().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glCopyTexSubImage2D()

void QOpenGLFunctions::glCopyTexSubImage2D ( GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint x,
GLint y,
GLsizei width,
GLsizei height )
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()}.

Since
5.3

Definition at line 637 of file qopenglfunctions.h.

References d_ptr, glCopyTexSubImage2D(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glCopyTexSubImage2D().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glCreateProgram()

GLuint QOpenGLFunctions::glCreateProgram ( )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glCreateShader()

GLuint QOpenGLFunctions::glCreateShader ( GLenum type)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glCullFace()

void QOpenGLFunctions::glCullFace ( GLenum mode)
inline

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()}.

Since
5.3

Definition at line 648 of file qopenglfunctions.h.

References d_ptr, glCullFace(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glCullFace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDeleteBuffers()

void QOpenGLFunctions::glDeleteBuffers ( GLsizei n,
const GLuint * buffers )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDeleteFramebuffers()

void QOpenGLFunctions::glDeleteFramebuffers ( GLsizei n,
const GLuint * framebuffers )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDeleteProgram()

void QOpenGLFunctions::glDeleteProgram ( GLuint program)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDeleteRenderbuffers()

void QOpenGLFunctions::glDeleteRenderbuffers ( GLsizei n,
const GLuint * renderbuffers )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDeleteShader()

void QOpenGLFunctions::glDeleteShader ( GLuint shader)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDeleteTextures()

void QOpenGLFunctions::glDeleteTextures ( GLsizei n,
const GLuint * textures )
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDepthFunc()

void QOpenGLFunctions::glDepthFunc ( GLenum func)
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDepthMask()

void QOpenGLFunctions::glDepthMask ( GLboolean flag)
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDepthRangef()

void QOpenGLFunctions::glDepthRangef ( GLclampf zNear,
GLclampf zFar )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDetachShader()

void QOpenGLFunctions::glDetachShader ( GLuint program,
GLuint shader )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDisable()

void QOpenGLFunctions::glDisable ( GLenum cap)
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDisableVertexAttribArray()

void QOpenGLFunctions::glDisableVertexAttribArray ( GLuint index)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDrawArrays()

void QOpenGLFunctions::glDrawArrays ( GLenum mode,
GLint first,
GLsizei count )
inline

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()}.

Since
5.3

Definition at line 703 of file qopenglfunctions.h.

References d_ptr, glDrawArrays(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by QtWaylandClient::DecorationsBlitter::blit(), QOpenGL2PaintEngineExPrivate::composite(), QOpenGL2PaintEngineExPrivate::drawPixmapFragments(), QOpenGL2PaintEngineExPrivate::drawVertexArrays(), QOpenGL2PaintEngineExPrivate::fill(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), glDrawArrays(), Q_TRACE_INSTRUMENT(), and QOpenGL2PaintEngineExPrivate::stroke().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glDrawElements()

void QOpenGLFunctions::glDrawElements ( GLenum mode,
GLsizei count,
GLenum type,
const GLvoid * indices )
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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glEnable()

void QOpenGLFunctions::glEnable ( GLenum cap)
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glEnableVertexAttribArray()

void QOpenGLFunctions::glEnableVertexAttribArray ( GLuint index)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glFinish()

void QOpenGLFunctions::glFinish ( )
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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glFlush()

void QOpenGLFunctions::glFlush ( )
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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glFramebufferRenderbuffer()

void QOpenGLFunctions::glFramebufferRenderbuffer ( GLenum target,
GLenum attachment,
GLenum renderbuffertarget,
GLuint renderbuffer )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glFramebufferTexture2D()

void QOpenGLFunctions::glFramebufferTexture2D ( GLenum target,
GLenum attachment,
GLenum textarget,
GLuint texture,
GLint level )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glFrontFace()

void QOpenGLFunctions::glFrontFace ( GLenum mode)
inline

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()}.

Since
5.3

Definition at line 758 of file qopenglfunctions.h.

References d_ptr, glFrontFace(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glFrontFace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGenBuffers()

void QOpenGLFunctions::glGenBuffers ( GLsizei n,
GLuint * buffers )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGenerateMipmap()

void QOpenGLFunctions::glGenerateMipmap ( GLenum target)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGenFramebuffers()

void QOpenGLFunctions::glGenFramebuffers ( GLsizei n,
GLuint * framebuffers )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGenRenderbuffers()

void QOpenGLFunctions::glGenRenderbuffers ( GLsizei n,
GLuint * renderbuffers )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGenTextures()

void QOpenGLFunctions::glGenTextures ( GLsizei n,
GLuint * textures )
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetActiveAttrib()

void QOpenGLFunctions::glGetActiveAttrib ( GLuint program,
GLuint index,
GLsizei bufsize,
GLsizei * length,
GLint * size,
GLenum * type,
char * name )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetActiveUniform()

void QOpenGLFunctions::glGetActiveUniform ( GLuint program,
GLuint index,
GLsizei bufsize,
GLsizei * length,
GLint * size,
GLenum * type,
char * name )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetAttachedShaders()

void QOpenGLFunctions::glGetAttachedShaders ( GLuint program,
GLsizei maxcount,
GLsizei * count,
GLuint * shaders )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetAttribLocation()

GLint QOpenGLFunctions::glGetAttribLocation ( GLuint program,
const char * name )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetBooleanv()

void QOpenGLFunctions::glGetBooleanv ( GLenum pname,
GLboolean * params )
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetBufferParameteriv()

void QOpenGLFunctions::glGetBufferParameteriv ( GLenum target,
GLenum pname,
GLint * params )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetError()

GLenum QOpenGLFunctions::glGetError ( )
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()}.

Since
5.3

Definition at line 791 of file qopenglfunctions.h.

References d_ptr, GLenum(), glGetError(), isInitialized(), and Q_ASSERT.

Referenced by glGetError().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetFloatv()

void QOpenGLFunctions::glGetFloatv ( GLenum pname,
GLfloat * params )
inline

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()}.

Since
5.3

Definition at line 802 of file qopenglfunctions.h.

References d_ptr, glGetFloatv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glGetFloatv().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetFramebufferAttachmentParameteriv()

void QOpenGLFunctions::glGetFramebufferAttachmentParameteriv ( GLenum target,
GLenum attachment,
GLenum pname,
GLint * params )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetIntegerv()

void QOpenGLFunctions::glGetIntegerv ( GLenum pname,
GLint * params )
inline

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()}.

Since
5.3

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(), QOpenGLTexturePrivate::isBound(), QOpenGLTexturePrivate::isBound(), Q_TRACE_INSTRUMENT(), QOpenGLTexturePrivate::release(), QQuickOpenGLUtils::resetOpenGLState(), and QOpenGLTextureHelper::savePixelUploadOptions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetProgramInfoLog()

void QOpenGLFunctions::glGetProgramInfoLog ( GLuint program,
GLsizei bufsize,
GLsizei * length,
char * infolog )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetProgramiv()

void QOpenGLFunctions::glGetProgramiv ( GLuint program,
GLenum pname,
GLint * params )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetRenderbufferParameteriv()

void QOpenGLFunctions::glGetRenderbufferParameteriv ( GLenum target,
GLenum pname,
GLint * params )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetShaderInfoLog()

void QOpenGLFunctions::glGetShaderInfoLog ( GLuint shader,
GLsizei bufsize,
GLsizei * length,
char * infolog )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetShaderiv()

void QOpenGLFunctions::glGetShaderiv ( GLuint shader,
GLenum pname,
GLint * params )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetShaderPrecisionFormat()

void QOpenGLFunctions::glGetShaderPrecisionFormat ( GLenum shadertype,
GLenum precisiontype,
GLint * range,
GLint * precision )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetShaderSource()

void QOpenGLFunctions::glGetShaderSource ( GLuint shader,
GLsizei bufsize,
GLsizei * length,
char * source )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetString()

const GLubyte * QOpenGLFunctions::glGetString ( GLenum name)
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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetTexParameterfv()

void QOpenGLFunctions::glGetTexParameterfv ( GLenum target,
GLenum pname,
GLfloat * params )
inline

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()}.

Since
5.3

Definition at line 836 of file qopenglfunctions.h.

References d_ptr, glGetTexParameterfv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glGetTexParameterfv().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetTexParameteriv()

void QOpenGLFunctions::glGetTexParameteriv ( GLenum target,
GLenum pname,
GLint * params )
inline

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()}.

Since
5.3

Definition at line 847 of file qopenglfunctions.h.

References d_ptr, glGetTexParameteriv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glGetTexParameteriv().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetUniformfv()

void QOpenGLFunctions::glGetUniformfv ( GLuint program,
GLint location,
GLfloat * params )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetUniformiv()

void QOpenGLFunctions::glGetUniformiv ( GLuint program,
GLint location,
GLint * params )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetUniformLocation()

GLint QOpenGLFunctions::glGetUniformLocation ( GLuint program,
const char * name )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetVertexAttribfv()

void QOpenGLFunctions::glGetVertexAttribfv ( GLuint index,
GLenum pname,
GLfloat * params )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetVertexAttribiv()

void QOpenGLFunctions::glGetVertexAttribiv ( GLuint index,
GLenum pname,
GLint * params )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glGetVertexAttribPointerv()

void QOpenGLFunctions::glGetVertexAttribPointerv ( GLuint index,
GLenum pname,
void ** pointer )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glHint()

void QOpenGLFunctions::glHint ( GLenum target,
GLenum mode )
inline

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()}.

Since
5.3

Definition at line 858 of file qopenglfunctions.h.

References d_ptr, glHint(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glHint().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glIsBuffer()

GLboolean QOpenGLFunctions::glIsBuffer ( GLuint buffer)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glIsEnabled()

GLboolean QOpenGLFunctions::glIsEnabled ( GLenum cap)
inline

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()}.

Since
5.3

Definition at line 869 of file qopenglfunctions.h.

References d_ptr, GLboolean(), glIsEnabled(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glIsEnabled().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glIsFramebuffer()

GLboolean QOpenGLFunctions::glIsFramebuffer ( GLuint framebuffer)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glIsProgram()

GLboolean QOpenGLFunctions::glIsProgram ( GLuint program)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glIsRenderbuffer()

GLboolean QOpenGLFunctions::glIsRenderbuffer ( GLuint renderbuffer)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glIsShader()

GLboolean QOpenGLFunctions::glIsShader ( GLuint shader)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glIsTexture()

GLboolean QOpenGLFunctions::glIsTexture ( GLuint texture)
inline

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()}.

Since
5.3

Definition at line 881 of file qopenglfunctions.h.

References d_ptr, GLboolean(), glIsTexture(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glIsTexture().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glLineWidth()

void QOpenGLFunctions::glLineWidth ( GLfloat width)
inline

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()}.

Since
5.3

Definition at line 893 of file qopenglfunctions.h.

References d_ptr, glLineWidth(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glLineWidth().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glLinkProgram()

void QOpenGLFunctions::glLinkProgram ( GLuint program)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glPixelStorei()

void QOpenGLFunctions::glPixelStorei ( GLenum pname,
GLint param )
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glPolygonOffset()

void QOpenGLFunctions::glPolygonOffset ( GLfloat factor,
GLfloat units )
inline

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()}.

Since
5.3

Definition at line 915 of file qopenglfunctions.h.

References d_ptr, glPolygonOffset(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glPolygonOffset().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glReadPixels()

void QOpenGLFunctions::glReadPixels ( GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
GLvoid * pixels )
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()}.

Since
5.3

Definition at line 926 of file qopenglfunctions.h.

References d_ptr, glReadPixels(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glReadPixels().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glReleaseShaderCompiler()

void QOpenGLFunctions::glReleaseShaderCompiler ( )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glRenderbufferStorage()

void QOpenGLFunctions::glRenderbufferStorage ( GLenum target,
GLenum internalformat,
GLsizei width,
GLsizei height )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glSampleCoverage()

void QOpenGLFunctions::glSampleCoverage ( GLclampf value,
GLboolean invert )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glScissor()

void QOpenGLFunctions::glScissor ( GLint x,
GLint y,
GLsizei width,
GLsizei height )
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glShaderBinary()

void QOpenGLFunctions::glShaderBinary ( GLint n,
const GLuint * shaders,
GLenum binaryformat,
const void * binary,
GLint length )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glShaderSource()

void QOpenGLFunctions::glShaderSource ( GLuint shader,
GLsizei count,
const char ** string,
const GLint * length )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glStencilFunc()

void QOpenGLFunctions::glStencilFunc ( GLenum func,
GLint ref,
GLuint mask )
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glStencilFuncSeparate()

void QOpenGLFunctions::glStencilFuncSeparate ( GLenum face,
GLenum func,
GLint ref,
GLuint mask )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glStencilMask()

void QOpenGLFunctions::glStencilMask ( GLuint mask)
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glStencilMaskSeparate()

void QOpenGLFunctions::glStencilMaskSeparate ( GLenum face,
GLuint mask )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glStencilOp()

void QOpenGLFunctions::glStencilOp ( GLenum fail,
GLenum zfail,
GLenum zpass )
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glStencilOpSeparate()

void QOpenGLFunctions::glStencilOpSeparate ( GLenum face,
GLenum fail,
GLenum zfail,
GLenum zpass )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glTexImage2D()

void QOpenGLFunctions::glTexImage2D ( GLenum target,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLenum format,
GLenum type,
const GLvoid * pixels )
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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glTexParameterf()

void QOpenGLFunctions::glTexParameterf ( GLenum target,
GLenum pname,
GLfloat param )
inline

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()}.

Since
5.3

Definition at line 992 of file qopenglfunctions.h.

References d_ptr, glTexParameterf(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glTexParameterf().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glTexParameterfv()

void QOpenGLFunctions::glTexParameterfv ( GLenum target,
GLenum pname,
const GLfloat * params )
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()}.

Since
5.3

Definition at line 1003 of file qopenglfunctions.h.

References d_ptr, glTexParameterfv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glTexParameterfv().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glTexParameteri()

void QOpenGLFunctions::glTexParameteri ( GLenum target,
GLenum pname,
GLint param )
inline

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()}.

Since
5.3

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glTexParameteriv()

void QOpenGLFunctions::glTexParameteriv ( GLenum target,
GLenum pname,
const GLint * params )
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()}.

Since
5.3

Definition at line 1025 of file qopenglfunctions.h.

References d_ptr, glTexParameteriv(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glTexParameteriv().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glTexSubImage2D()

void QOpenGLFunctions::glTexSubImage2D ( GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
const GLvoid * pixels )
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()}.

Since
5.3

Definition at line 1036 of file qopenglfunctions.h.

References d_ptr, glTexSubImage2D(), isInitialized(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.

Referenced by glTexSubImage2D().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform1f()

void QOpenGLFunctions::glUniform1f ( GLint location,
GLfloat x )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform1fv()

void QOpenGLFunctions::glUniform1fv ( GLint location,
GLsizei count,
const GLfloat * v )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform1i()

void QOpenGLFunctions::glUniform1i ( GLint location,
GLint x )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform1iv()

void QOpenGLFunctions::glUniform1iv ( GLint location,
GLsizei count,
const GLint * v )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform2f()

void QOpenGLFunctions::glUniform2f ( GLint location,
GLfloat x,
GLfloat y )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform2fv()

void QOpenGLFunctions::glUniform2fv ( GLint location,
GLsizei count,
const GLfloat * v )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform2i()

void QOpenGLFunctions::glUniform2i ( GLint location,
GLint x,
GLint y )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform2iv()

void QOpenGLFunctions::glUniform2iv ( GLint location,
GLsizei count,
const GLint * v )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform3f()

void QOpenGLFunctions::glUniform3f ( GLint location,
GLfloat x,
GLfloat y,
GLfloat z )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform3fv()

void QOpenGLFunctions::glUniform3fv ( GLint location,
GLsizei count,
const GLfloat * v )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform3i()

void QOpenGLFunctions::glUniform3i ( GLint location,
GLint x,
GLint y,
GLint z )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform3iv()

void QOpenGLFunctions::glUniform3iv ( GLint location,
GLsizei count,
const GLint * v )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform4f()

void QOpenGLFunctions::glUniform4f ( GLint location,
GLfloat x,
GLfloat y,
GLfloat z,
GLfloat w )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform4fv()

void QOpenGLFunctions::glUniform4fv ( GLint location,
GLsizei count,
const GLfloat * v )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform4i()

void QOpenGLFunctions::glUniform4i ( GLint location,
GLint x,
GLint y,
GLint z,
GLint w )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniform4iv()

void QOpenGLFunctions::glUniform4iv ( GLint location,
GLsizei count,
const GLint * v )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniformMatrix2fv()

void QOpenGLFunctions::glUniformMatrix2fv ( GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat * value )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniformMatrix3fv()

void QOpenGLFunctions::glUniformMatrix3fv ( GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat * value )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUniformMatrix4fv()

void QOpenGLFunctions::glUniformMatrix4fv ( GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat * value )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glUseProgram()

void QOpenGLFunctions::glUseProgram ( GLuint program)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glValidateProgram()

void QOpenGLFunctions::glValidateProgram ( GLuint program)
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glVertexAttrib1f()

void QOpenGLFunctions::glVertexAttrib1f ( GLuint indx,
GLfloat x )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glVertexAttrib1fv()

void QOpenGLFunctions::glVertexAttrib1fv ( GLuint indx,
const GLfloat * values )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glVertexAttrib2f()

void QOpenGLFunctions::glVertexAttrib2f ( GLuint indx,
GLfloat x,
GLfloat y )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glVertexAttrib2fv()

void QOpenGLFunctions::glVertexAttrib2fv ( GLuint indx,
const GLfloat * values )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glVertexAttrib3f()

void QOpenGLFunctions::glVertexAttrib3f ( GLuint indx,
GLfloat x,
GLfloat y,
GLfloat z )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glVertexAttrib3fv()

void QOpenGLFunctions::glVertexAttrib3fv ( GLuint indx,
const GLfloat * values )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glVertexAttrib4f()

void QOpenGLFunctions::glVertexAttrib4f ( GLuint indx,
GLfloat x,
GLfloat y,
GLfloat z,
GLfloat w )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glVertexAttrib4fv()

void QOpenGLFunctions::glVertexAttrib4fv ( GLuint indx,
const GLfloat * values )
inline

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glVertexAttribPointer()

void QOpenGLFunctions::glVertexAttribPointer ( GLuint indx,
GLint size,
GLenum type,
GLboolean normalized,
GLsizei stride,
const void * ptr )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glViewport()

void QOpenGLFunctions::glViewport ( GLint x,
GLint y,
GLsizei width,
GLsizei height )
inline

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()}.

Since
5.3

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(), and QOpenGLWidgetPrivate::render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasOpenGLFeature()

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.

See also
openGLFeatures()

Definition at line 502 of file qopenglfunctions.cpp.

References d, d_ptr, QOpenGLFunctionsPrivateEx::m_features, and qt_gl_resolve_features().

Referenced by QtWaylandClient::DecorationsBlitter::DecorationsBlitter(), QOpenGLFramebufferObject::blitFramebuffer(), QOpenGLShaderProgram::hasOpenGLShaderPrograms(), and Q_TRACE_INSTRUMENT().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initializeOpenGLFunctions()

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 558 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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isInitialized()

bool QOpenGLFunctions::isInitialized ( const QOpenGLFunctionsPrivate * d)
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().

◆ openGLFeatures()

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.

See also
hasOpenGLFeature()

Definition at line 483 of file qopenglfunctions.cpp.

References d, d_ptr, QOpenGLFunctionsPrivateEx::m_features, and qt_gl_resolve_features().

Referenced by QQuickOpenGLUtils::resetOpenGLState().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ d_ptr

QOpenGLFunctionsPrivate* QOpenGLFunctions::d_ptr
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().


The documentation for this class was generated from the following files: