diff options
Diffstat (limited to 'src/gui/opengl/qopenglfunctions.cpp')
-rw-r--r-- | src/gui/opengl/qopenglfunctions.cpp | 487 |
1 files changed, 244 insertions, 243 deletions
diff --git a/src/gui/opengl/qopenglfunctions.cpp b/src/gui/opengl/qopenglfunctions.cpp index d2cb4df022..c9352fbc31 100644 --- a/src/gui/opengl/qopenglfunctions.cpp +++ b/src/gui/opengl/qopenglfunctions.cpp @@ -1,41 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtGui module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #include "qopenglfunctions.h" #include "qopenglextrafunctions.h" @@ -57,6 +21,8 @@ QT_BEGIN_NAMESPACE +using namespace Qt::StringLiterals; + #define QT_OPENGL_COUNT_FUNCTIONS(ret, name, args) +1 #define QT_OPENGL_FUNCTION_NAMES(ret, name, args) \ "gl"#name"\0" @@ -364,6 +330,8 @@ static int qt_gl_resolve_extensions() extensions |= QOpenGLExtensions::ETC1TextureCompression; if (extensionMatcher.match("GL_IMG_texture_compression_pvrtc")) extensions |= QOpenGLExtensions::PVRTCTextureCompression; + if (extensionMatcher.match("GL_KHR_texture_compression_astc_ldr")) + extensions |= QOpenGLExtensions::ASTCTextureCompression; if (extensionMatcher.match("GL_ARB_texture_mirrored_repeat")) extensions |= QOpenGLExtensions::MirroredRepeat; if (extensionMatcher.match("GL_EXT_stencil_two_side")) @@ -378,6 +346,12 @@ static int qt_gl_resolve_extensions() extensions |= QOpenGLExtensions::TextureSwizzle; if (extensionMatcher.match("GL_OES_standard_derivatives")) extensions |= QOpenGLExtensions::StandardDerivatives; + if (extensionMatcher.match("GL_ARB_half_float_vertex")) + extensions |= QOpenGLExtensions::HalfFloatVertex; + if (extensionMatcher.match("GL_OVR_multiview")) + extensions |= QOpenGLExtensions::MultiView; + if (extensionMatcher.match("GL_OVR_multiview2")) + extensions |= QOpenGLExtensions::MultiViewExtended; if (ctx->isOpenGLES()) { if (format.majorVersion() >= 2) @@ -391,7 +365,10 @@ static int qt_gl_resolve_extensions() | QOpenGLExtensions::FramebufferBlit | QOpenGLExtensions::FramebufferMultisample | QOpenGLExtensions::Sized8Formats - | QOpenGLExtensions::StandardDerivatives; + | QOpenGLExtensions::DiscardFramebuffer + | QOpenGLExtensions::StandardDerivatives + | QOpenGLExtensions::ETC2TextureCompression + | QOpenGLExtensions::HalfFloatVertex; #ifndef Q_OS_WASM // WebGL 2.0 specification explicitly does not support texture swizzles // https://www.khronos.org/registry/webgl/specs/latest/2.0/#5.19 @@ -413,6 +390,8 @@ static int qt_gl_resolve_extensions() extensions |= QOpenGLExtensions::FramebufferMultisample; if (extensionMatcher.match("GL_OES_rgb8_rgba8")) extensions |= QOpenGLExtensions::Sized8Formats; + if (extensionMatcher.match("GL_OES_compressed_ETC2_RGB8_texture")) + extensions |= QOpenGLExtensions::ETC2TextureCompression; } if (extensionMatcher.match("GL_OES_mapbuffer")) @@ -422,13 +401,13 @@ static int qt_gl_resolve_extensions() // We don't match GL_APPLE_texture_format_BGRA8888 here because it has different semantics. if (extensionMatcher.match("GL_IMG_texture_format_BGRA8888") || extensionMatcher.match("GL_EXT_texture_format_BGRA8888")) extensions |= QOpenGLExtensions::BGRATextureFormat; -#if defined(Q_OS_ANDROID) && !defined(Q_OS_ANDROID_EMBEDDED) +#ifdef Q_OS_ANDROID QString *deviceName = static_cast<QString *>(QGuiApplication::platformNativeInterface()->nativeResourceForIntegration("AndroidDeviceName")); static bool wrongfullyReportsBgra8888Support = deviceName != 0 - && (deviceName->compare(QLatin1String("samsung SM-T211"), Qt::CaseInsensitive) == 0 - || deviceName->compare(QLatin1String("samsung SM-T210"), Qt::CaseInsensitive) == 0 - || deviceName->compare(QLatin1String("samsung SM-T215"), Qt::CaseInsensitive) == 0); + && (deviceName->compare("samsung SM-T211"_L1, Qt::CaseInsensitive) == 0 + || deviceName->compare("samsung SM-T210"_L1, Qt::CaseInsensitive) == 0 + || deviceName->compare("samsung SM-T215"_L1, Qt::CaseInsensitive) == 0); if (wrongfullyReportsBgra8888Support) extensions &= ~QOpenGLExtensions::BGRATextureFormat; #endif @@ -472,6 +451,9 @@ static int qt_gl_resolve_extensions() if (format.version() >= qMakePair(3, 3)) extensions |= QOpenGLExtensions::TextureSwizzle; + if (format.version() >= qMakePair(4, 3) || extensionMatcher.match("GL_ARB_invalidate_subdata")) + extensions |= QOpenGLExtensions::DiscardFramebuffer; + if (extensionMatcher.match("GL_ARB_map_buffer_range")) extensions |= QOpenGLExtensions::MapBufferRange; @@ -481,6 +463,9 @@ static int qt_gl_resolve_extensions() if (srgbCapableFramebuffers) extensions |= QOpenGLExtensions::SRGBFrameBuffer; } + + if (extensionMatcher.match("GL_ARB_ES3_compatibility")) + extensions |= QOpenGLExtensions::ETC2TextureCompression; } return extensions; @@ -580,7 +565,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBindTexture(\a target, \a texture). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -591,7 +576,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBlendFunc(\a sfactor, \a dfactor). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -602,7 +587,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glClear(\a mask). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -613,7 +598,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glClearColor(\a red, \a green, \a blue, \a alpha). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -624,7 +609,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glClearStencil(\a s). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -635,7 +620,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glColorMask(\a red, \a green, \a blue, \a alpha). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -646,7 +631,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glCopyTexImage2D(\a target, \a level, \a internalformat, \a x, \a y, \a width, \a height, \a border). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -657,7 +642,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glCopyTexSubImage2D(\a target, \a level, \a xoffset, \a yoffset, \a x, \a y, \a width, \a height). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -668,7 +653,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glCullFace(\a mode). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -679,7 +664,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDeleteTextures(\a n, \a textures). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -690,7 +675,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDepthFunc(\a func). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -701,7 +686,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDepthMask(\a flag). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -712,8 +697,8 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDisable(\a cap). - For more information, see the OpenGL ES 2.0 documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDisable.xhtml}{glDisable()}. + 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 */ @@ -723,7 +708,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDrawArrays(\a mode, \a first, \a count). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -734,7 +719,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDrawElements(\a mode, \a count, \a type, \a indices). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -745,7 +730,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glEnable(\a cap). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -756,7 +741,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glFinish(). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -767,7 +752,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glFlush(). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -778,7 +763,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glFrontFace(\a mode). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -789,7 +774,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGenTextures(\a n, \a textures). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -800,7 +785,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetBooleanv(\a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -811,7 +796,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetError(). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -822,7 +807,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetFloatv(\a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -833,7 +818,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetIntegerv(\a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -844,7 +829,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetString(\a name). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -855,7 +840,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetTexParameterfv(\a target, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -866,7 +851,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetTexParameteriv(\a target, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -877,7 +862,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glHint(\a target, \a mode). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -888,7 +873,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glIsEnabled(\a cap). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -899,7 +884,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glIsTexture(\a texture). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -910,7 +895,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glLineWidth(\a width). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -921,7 +906,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glPixelStorei(\a pname, \a param). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -932,7 +917,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glPolygonOffset(\a factor, \a units). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -943,7 +928,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glReadPixels(\a x, \a y, \a width, \a height, \a format, \a type, \a pixels). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -954,7 +939,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glScissor(\a x, \a y, \a width, \a height). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -965,7 +950,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glStencilFunc(\a func, \a ref, \a mask). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -976,7 +961,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glStencilMask(\a mask). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -987,7 +972,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glStencilOp(\a fail, \a zfail, \a zpass). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -998,7 +983,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glTexImage2D(\a target, \a level, \a internalformat, \a width, \a height, \a border, \a format, \a type, \a pixels). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -1009,7 +994,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glTexParameterf(\a target, \a pname, \a param). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -1020,7 +1005,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glTexParameterfv(\a target, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -1031,7 +1016,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glTexParameteri(\a target, \a pname, \a param). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -1042,7 +1027,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glTexParameteriv(\a target, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -1053,7 +1038,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glTexSubImage2D(\a target, \a level, \a xoffset, \a yoffset, \a width, \a height, \a format, \a type, \a pixels). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -1064,7 +1049,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glViewport(\a x, \a y, \a width, \a height). - For more information, see the OpenGL ES 2.0 documentation for + 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 @@ -1075,7 +1060,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glActiveTexture(\a texture). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glActiveTexture.xhtml}{glActiveTexture()}. */ @@ -1084,7 +1069,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glAttachShader(\a program, \a shader). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1095,7 +1080,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBindAttribLocation(\a program, \a index, \a name). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1106,7 +1091,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBindBuffer(\a target, \a buffer). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindBuffer.xhtml}{glBindBuffer()}. */ @@ -1118,7 +1103,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Note that Qt will translate a \a framebuffer argument of 0 to the currently bound QOpenGLContext's defaultFramebufferObject(). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindFramebuffer.xhtml}{glBindFramebuffer()}. */ @@ -1127,7 +1112,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBindRenderbuffer(\a target, \a renderbuffer). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindRenderbuffer.xhtml}{glBindRenderbuffer()}. */ @@ -1136,7 +1121,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBlendColor(\a red, \a green, \a blue, \a alpha). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendColor.xhtml}{glBlendColor()}. */ @@ -1145,7 +1130,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBlendEquation(\a mode). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquation.xhtml}{glBlendEquation()}. */ @@ -1154,7 +1139,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBlendEquationSeparate(\a modeRGB, \a modeAlpha). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquationSeparate.xhtml}{glBlendEquationSeparate()}. */ @@ -1163,7 +1148,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBlendFuncSeparate(\a srcRGB, \a dstRGB, \a srcAlpha, \a dstAlpha). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendFuncSeparate.xhtml}{glBlendFuncSeparate()}. */ @@ -1172,7 +1157,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBufferData(\a target, \a size, \a data, \a usage). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBufferData.xhtml}{glBufferData()}. */ @@ -1181,7 +1166,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glBufferSubData(\a target, \a offset, \a size, \a data). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBufferSubData.xhtml}{glBufferSubData()}. */ @@ -1190,7 +1175,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glCheckFramebufferStatus(\a target). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCheckFramebufferStatus.xhtml}{glCheckFramebufferStatus()}. */ @@ -1201,7 +1186,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() desktop OpenGL systems and glClearDepthf(\a depth) on embedded OpenGL ES systems. - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClearDepthf.xhtml}{glClearDepthf()}. */ @@ -1210,7 +1195,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glCompileShader(\a shader). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1221,7 +1206,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glCompressedTexImage2D(\a target, \a level, \a internalformat, \a width, \a height, \a border, \a imageSize, \a data). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompressedTexImage2D.xhtml}{glCompressedTexImage2D()}. */ @@ -1230,7 +1215,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glCompressedTexSubImage2D(\a target, \a level, \a xoffset, \a yoffset, \a width, \a height, \a format, \a imageSize, \a data). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompressedTexSubImage2D.xhtml}{glCompressedTexSubImage2D()}. */ @@ -1239,7 +1224,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glCreateProgram(). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1250,7 +1235,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glCreateShader(\a type). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1261,7 +1246,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDeleteBuffers(\a n, \a buffers). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteBuffers.xhtml}{glDeleteBuffers()}. */ @@ -1270,7 +1255,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDeleteFramebuffers(\a n, \a framebuffers). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteFramebuffers.xhtml}{glDeleteFramebuffers()}. */ @@ -1279,7 +1264,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDeleteProgram(\a program). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1290,7 +1275,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDeleteRenderbuffers(\a n, \a renderbuffers). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteRenderbuffers.xhtml}{glDeleteRenderbuffers()}. */ @@ -1299,7 +1284,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDeleteShader(\a shader). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1312,7 +1297,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() desktop OpenGL systems and glDepthRangef(\a zNear, \a zFar) on embedded OpenGL ES systems. - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDepthRangef.xhtml}{glDepthRangef()}. */ @@ -1321,7 +1306,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDetachShader(\a program, \a shader). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1332,8 +1317,8 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glDisableVertexAttribArray(\a index). - For more information, see the OpenGL ES 2.0 documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es2.0/html/glDisableVertexAttribArray.xhtml}{glDisableVertexAttribArray()}. + 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. */ @@ -1343,7 +1328,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glEnableVertexAttribArray(\a index). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1354,7 +1339,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glFramebufferRenderbuffer(\a target, \a attachment, \a renderbuffertarget, \a renderbuffer). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFramebufferRenderbuffer.xhtml}{glFramebufferRenderbuffer()}. */ @@ -1363,7 +1348,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glFramebufferTexture2D(\a target, \a attachment, \a textarget, \a texture, \a level). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFramebufferTexture2D.xhtml}{glFramebufferTexture2D()}. */ @@ -1372,7 +1357,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGenBuffers(\a n, \a buffers). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenBuffers.xhtml}{glGenBuffers()}. */ @@ -1381,7 +1366,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGenerateMipmap(\a target). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenerateMipmap.xhtml}{glGenerateMipmap()}. */ @@ -1390,7 +1375,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGenFramebuffers(\a n, \a framebuffers). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenFramebuffers.xhtml}{glGenFramebuffers()}. */ @@ -1399,7 +1384,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGenRenderbuffers(\a n, \a renderbuffers). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenRenderbuffers.xhtml}{glGenRenderbuffers()}. */ @@ -1408,7 +1393,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetActiveAttrib(\a program, \a index, \a bufsize, \a length, \a size, \a type, \a name). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1419,7 +1404,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetActiveUniform(\a program, \a index, \a bufsize, \a length, \a size, \a type, \a name). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1430,7 +1415,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetAttachedShaders(\a program, \a maxcount, \a count, \a shaders). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1441,7 +1426,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetAttribLocation(\a program, \a name). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1452,8 +1437,8 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetBufferParameteriv(\a target, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetBufferParameteriv.xhtml}{glGetBufferParameteriv()}. + For more information, see the OpenGL ES 3.X documentation for + \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetBufferParameter.xhtml}{glGetBufferParameteriv()}. */ /*! @@ -1461,7 +1446,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetFramebufferAttachmentParameteriv(\a target, \a attachment, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetFramebufferAttachmentParameteriv.xhtml}{glGetFramebufferAttachmentParameteriv()}. */ @@ -1470,7 +1455,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetProgramiv(\a program, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1481,7 +1466,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetProgramInfoLog(\a program, \a bufsize, \a length, \a infolog). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1492,7 +1477,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetRenderbufferParameteriv(\a target, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetRenderbufferParameteriv.xhtml}{glGetRenderbufferParameteriv()}. */ @@ -1501,7 +1486,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetShaderiv(\a shader, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1512,7 +1497,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetShaderInfoLog(\a shader, \a bufsize, \a length, \a infolog). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1523,7 +1508,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetShaderPrecisionFormat(\a shadertype, \a precisiontype, \a range, \a precision). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1534,7 +1519,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetShaderSource(\a shader, \a bufsize, \a length, \a source). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1545,7 +1530,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetUniformfv(\a program, \a location, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1556,7 +1541,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetUniformiv(\a program, \a location, \a params). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1567,7 +1552,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetUniformLocation(\a program, \a name). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1578,8 +1563,8 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetVertexAttribfv(\a index, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttribfv.xhtml}{glGetVertexAttribfv()}. + 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. */ @@ -1589,8 +1574,8 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetVertexAttribiv(\a index, \a pname, \a params). - For more information, see the OpenGL ES 2.0 documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttribiv.xhtml}{glGetVertexAttribiv()}. + 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. */ @@ -1600,7 +1585,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glGetVertexAttribPointerv(\a index, \a pname, \a pointer). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1611,7 +1596,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glIsBuffer(\a buffer). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsBuffer.xhtml}{glIsBuffer()}. */ @@ -1620,7 +1605,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glIsFramebuffer(\a framebuffer). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsFramebuffer.xhtml}{glIsFramebuffer()}. */ @@ -1629,7 +1614,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glIsProgram(\a program). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1640,7 +1625,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glIsRenderbuffer(\a renderbuffer). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsRenderbuffer.xhtml}{glIsRenderbuffer()}. */ @@ -1649,7 +1634,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glIsShader(\a shader). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1660,7 +1645,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glLinkProgram(\a program). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1671,7 +1656,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glReleaseShaderCompiler(). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1682,7 +1667,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glRenderbufferStorage(\a target, \a internalformat, \a width, \a height). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glRenderbufferStorage.xhtml}{glRenderbufferStorage()}. */ @@ -1691,7 +1676,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glSampleCoverage(\a value, \a invert). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glSampleCoverage.xhtml}{glSampleCoverage()}. */ @@ -1700,7 +1685,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glShaderBinary(\a n, \a shaders, \a binaryformat, \a binary, \a length). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1711,7 +1696,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glShaderSource(\a shader, \a count, \a string, \a length). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1722,7 +1707,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glStencilFuncSeparate(\a face, \a func, \a ref, \a mask). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilFuncSeparate.xhtml}{glStencilFuncSeparate()}. */ @@ -1731,7 +1716,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glStencilMaskSeparate(\a face, \a mask). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilMaskSeparate.xhtml}{glStencilMaskSeparate()}. */ @@ -1740,7 +1725,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glStencilOpSeparate(\a face, \a fail, \a zfail, \a zpass). - For more information, see the OpenGL ES 2.0 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilOpSeparate.xhtml}{glStencilOpSeparate()}. */ @@ -1749,7 +1734,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform1f(\a location, \a x). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1760,7 +1745,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform1fv(\a location, \a count, \a v). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1771,7 +1756,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform1i(\a location, \a x). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1782,7 +1767,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform1iv(\a location, \a count, \a v). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1793,7 +1778,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform2f(\a location, \a x, \a y). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1804,7 +1789,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform2fv(\a location, \a count, \a v). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1815,7 +1800,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform2i(\a location, \a x, \a y). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1826,7 +1811,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform2iv(\a location, \a count, \a v). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1837,7 +1822,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform3f(\a location, \a x, \a y, \a z). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1848,7 +1833,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform3fv(\a location, \a count, \a v). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1859,7 +1844,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform3i(\a location, \a x, \a y, \a z). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1870,7 +1855,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform3iv(\a location, \a count, \a v). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1881,7 +1866,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform4f(\a location, \a x, \a y, \a z, \a w). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1892,7 +1877,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform4fv(\a location, \a count, \a v). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1903,7 +1888,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform4i(\a location, \a x, \a y, \a z, \a w). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1914,7 +1899,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniform4iv(\a location, \a count, \a v). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1925,7 +1910,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniformMatrix2fv(\a location, \a count, \a transpose, \a value). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1936,7 +1921,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniformMatrix3fv(\a location, \a count, \a transpose, \a value). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1947,7 +1932,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUniformMatrix4fv(\a location, \a count, \a transpose, \a value). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1958,7 +1943,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glUseProgram(\a program). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1969,7 +1954,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glValidateProgram(\a program). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1980,7 +1965,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glVertexAttrib1f(\a indx, \a x). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -1991,7 +1976,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glVertexAttrib1fv(\a indx, \a values). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -2002,7 +1987,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glVertexAttrib2f(\a indx, \a x, \a y). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -2013,7 +1998,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glVertexAttrib2fv(\a indx, \a values). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -2024,7 +2009,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glVertexAttrib3f(\a indx, \a x, \a y, \a z). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -2035,7 +2020,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glVertexAttrib3fv(\a indx, \a values). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -2046,7 +2031,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glVertexAttrib4f(\a indx, \a x, \a y, \a z, \a w). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -2057,7 +2042,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glVertexAttrib4fv(\a indx, \a values). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -2068,7 +2053,7 @@ void QOpenGLFunctions::initializeOpenGLFunctions() Convenience function that calls glVertexAttribPointer(\a indx, \a size, \a type, \a normalized, \a stride, \a ptr). - For more information, see the OpenGL ES 2.0 documentation for + 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. @@ -2563,7 +2548,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) function either in core or as an extension. For more information, see the OpenGL ES 3.x documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEndQuery.xhtml}{glEndQuery()}. + \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBeginQuery.xhtml}{glEndQuery()}. */ /*! @@ -2576,7 +2561,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) function either in core or as an extension. For more information, see the OpenGL ES 3.x documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEndTransformFeedback.xhtml}{glEndTransformFeedback()}. + \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBeginTransformFeedback.xhtml}{glEndTransformFeedback()}. */ /*! @@ -3473,7 +3458,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) function either in core or as an extension. For more information, see the OpenGL ES 3.x documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUnmapBuffer.xhtml}{glUnmapBuffer()}. + \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glMapBufferRange.xhtml}{glUnmapBuffer()}. */ /*! @@ -3629,7 +3614,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) function either in core or as an extension. For more information, see the OpenGL ES 3.x documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCreateShaderProgramv.xhtml}{glCreateShaderProgramv()}. + \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCreateShaderProgram.xhtml}{glCreateShaderProgramv()}. */ /*! @@ -4435,7 +4420,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) function either in core or as an extension. For more information, see the OpenGL ES 3.x documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttribIFormat.xhtml}{glVertexAttribIFormat()}. + \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttribFormat.xhtml}{glVertexAttribIFormat()}. */ /*! @@ -4460,7 +4445,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendBarrier.xhtml}{glBlendBarrier()}. */ @@ -4473,7 +4458,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquationSeparate.xhtml}{glBlendEquationSeparatei()}. */ @@ -4486,8 +4471,8 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquationi.xhtml}{glBlendEquationi()}. + For more information, see the OpenGL ES 3.X documentation for + \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquation.xhtml}{glBlendEquationi()}. */ /*! @@ -4499,7 +4484,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendFuncSeparate.xhtml}{glBlendFuncSeparatei()}. */ @@ -4512,8 +4497,8 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendFunci.xhtml}{glBlendFunci()}. + For more information, see the OpenGL ES 3.X documentation for + \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendFunc.xhtml}{glBlendFunci()}. */ /*! @@ -4525,7 +4510,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glColorMask.xhtml}{glColorMaski()}. */ @@ -4538,7 +4523,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCopyImageSubData.xhtml}{glCopyImageSubData()}. */ @@ -4551,7 +4536,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDebugMessageCallback.xhtml}{glDebugMessageCallback()}. */ @@ -4564,7 +4549,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDebugMessageControl.xhtml}{glDebugMessageContro()}. */ @@ -4577,7 +4562,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDebugMessageInsert.xhtml}{glDebugMessageInsert()}. */ @@ -4590,7 +4575,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glEnable.xhtml}{glDisablei()}. */ @@ -4603,7 +4588,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDrawElementsBaseVertex.xhtml}{glDrawElementsBaseVerte()}. */ @@ -4616,7 +4601,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDrawElementsInstancedBaseVertex.xhtml}{glDrawElementsInstancedBaseVerte()}. */ @@ -4629,7 +4614,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDrawRangeElementsBaseVertex.xhtml}{glDrawRangeElementsBaseVerte()}. */ @@ -4642,8 +4627,8 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for - \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnablei.xhtml}{glEnablei()}. + For more information, see the OpenGL ES 3.X documentation for + \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnable.xhtml}{glEnablei()}. */ /*! @@ -4655,7 +4640,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFramebufferTexture.xhtml}{glFramebufferTexture()}. */ @@ -4668,7 +4653,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetDebugMessageLog.xhtml}{glGetDebugMessageLog()}. */ @@ -4681,7 +4666,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetGraphicsResetStatus.xhtml}{glGetGraphicsResetStatus()}. */ @@ -4694,7 +4679,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetObjectLabel.xhtml}{glGetObjectLabe()}. */ @@ -4707,7 +4692,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetObjectPtrLabel.xhtml}{glGetObjectPtrLabe()}. */ @@ -4720,7 +4705,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetPointerv.xhtml}{glGetPointerv()}. */ @@ -4733,7 +4718,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetSamplerParameter.xhtml}{glGetSamplerParameterIiv()}. */ @@ -4746,7 +4731,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetSamplerParameter.xhtml}{glGetSamplerParameterIuiv()}. */ @@ -4759,7 +4744,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetTexParameter.xhtml}{glGetTexParameterIiv()}. */ @@ -4772,7 +4757,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetTexParameter.xhtml}{glGetTexParameterIuiv()}. */ @@ -4785,7 +4770,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniform.xhtml}{glGetnUniformfv()}. */ @@ -4798,7 +4783,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniform.xhtml}{glGetnUniformiv()}. */ @@ -4811,7 +4796,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniform.xhtml}{glGetnUniformuiv()}. */ @@ -4824,7 +4809,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsEnabled.xhtml}{glIsEnabledi()}. */ @@ -4837,7 +4822,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glMinSampleShading.xhtml}{glMinSampleShading()}. */ @@ -4850,7 +4835,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glObjectLabel.xhtml}{glObjectLabe()}. */ @@ -4863,7 +4848,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glObjectPtrLabel.xhtml}{glObjectPtrLabe()}. */ @@ -4876,7 +4861,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glPatchParameteri.xhtml}{glPatchParameteri()}. */ @@ -4889,7 +4874,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glPopDebugGroup.xhtml}{glPopDebugGroup()}. */ @@ -4902,7 +4887,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glPrimitiveBoundingBox.xhtml}{glPrimitiveBoundingBo()}. */ @@ -4915,7 +4900,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glPushDebugGroup.xhtml}{glPushDebugGroup()}. */ @@ -4928,7 +4913,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glReadPixels.xhtml}{glReadnPixels()}. */ @@ -4941,7 +4926,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glSamplerParameter.xhtml}{glSamplerParameterIiv()}. */ @@ -4954,7 +4939,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glSamplerParameter.xhtml}{glSamplerParameterIuiv()}. */ @@ -4967,7 +4952,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexBuffer.xhtml}{glTexBuffer()}. */ @@ -4980,7 +4965,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexBufferRange.xhtml}{glTexBufferRange()}. */ @@ -4993,7 +4978,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameterIiv()}. */ @@ -5006,7 +4991,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameterIuiv()}. */ @@ -5019,7 +5004,7 @@ QT_OPENGL_IMPLEMENT(QOpenGLFunctionsPrivate, QT_OPENGL_FUNCTIONS) with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension. - For more information, see the OpenGL ES 3.2 documentation for + For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexStorage3DMultisample.xhtml}{glTexStorage3DMultisample()}. */ @@ -5070,7 +5055,23 @@ QOpenGLExtensionsPrivate::QOpenGLExtensionsPrivate(QOpenGLContext *ctx) MapBuffer = RESOLVE(MapBuffer); GetBufferSubData = RESOLVE(GetBufferSubData); DiscardFramebuffer = RESOLVE(DiscardFramebuffer); - } +} + +void QOpenGLExtensions::discardFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments) +{ + Q_D(QOpenGLExtensions); + Q_ASSERT(QOpenGLExtensions::isInitialized(d)); + Q_ASSERT(d->f.InvalidateFramebuffer || d->DiscardFramebuffer); + + // On GLES >= 3 we prefer glInvalidateFramebuffer, even if the + // discard extension is present + if (d->f.InvalidateFramebuffer) + d->f.InvalidateFramebuffer(target, numAttachments, attachments); + else + d->DiscardFramebuffer(target, numAttachments, attachments); + + Q_OPENGL_FUNCTIONS_DEBUG +} void QOpenGLExtensions::flushShared() { |