qt6-bb10/src/opengl
Laszlo Agocs 7aaa6a6044 Correct the internal signatures in the GL 4.5 func wrappers
There are 9 functions in the 4.5 API that were initially specified
to use GLsizei, but later "magically" became GLsizeiptr (i.e.
64-bit or 32-bit depending on the arch).

The current gl.xml, unlike old ones, uses GLsizeiptr, as do the
extension headers and most of the online docs, except some that of the
reference pages are stuck with GLsizei.

Assuming that today's OpenGL implementations expect GLsizeiptr, fix
the the internal signatures, so that calling into the GL implementation
is done using the correct argument sizes.

In addition, add GLsizeiptr signatures in the public API guarded with
>= QT_VERSION(7, 0, 0).

Pick-to: 6.7 6.6 6.5
Fixes: QTBUG-67807
Change-Id: Ifc7e97b0479a186000a56709c37ba7f77b6f1ff2
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
2024-04-16 13:31:07 +02:00
..
doc Correct doc snippet license 2024-02-28 19:15:51 +01:00
CMakeLists.txt Enable QT_NO_CONTEXTLESS_CONNECT for most of QtBase 2023-07-11 22:44:29 +02:00
qopengl2pexvertexarray.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengl2pexvertexarray_p.h Gui: mark types Q_PRIMITIVE_TYPE when they're held in QDataBuffer 2022-07-08 20:14:52 +00:00
qopenglbuffer.cpp QOpenGLBuffer: add move-SMFs and swap()s 2022-07-20 13:15:55 +02:00
qopenglbuffer.h QOpenGLBuffer: add move-SMFs and swap()s 2022-07-20 13:15:55 +02:00
qopenglcompositor.cpp OpenGL: Add parameters to choose FBO grab orientation 2024-03-13 14:38:52 +00:00
qopenglcompositor_p.h OpenGL: Add parameters to choose FBO grab orientation 2024-03-13 14:38:52 +00:00
qopenglcompositorbackingstore.cpp Make sure OpenGLContext is not nullptr 2024-01-10 16:16:46 +01:00
qopenglcompositorbackingstore_p.h Make rhiFlush() support custom source DPR 2022-06-14 21:16:35 +02:00
qopenglcustomshaderstage.cpp Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
qopenglcustomshaderstage_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengldebug.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qopengldebug.h Replace usages of Q_CLANG_QDOC with Q_QDOC 2022-10-21 09:48:36 +02:00
qopenglengineshadermanager.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qopenglengineshadermanager_p.h Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qopenglengineshadersource_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglframebufferobject.cpp Refix invalid glTexImage2D operation in FramebufferObject 2024-02-09 15:26:21 +01:00
qopenglframebufferobject.h Replace usages of Q_CLANG_QDOC with Q_QDOC 2022-10-21 09:48:36 +02:00
qopenglframebufferobject_p.h Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qopenglfunctions_1_0.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_0.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_1.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_1.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_2.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_2.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_3.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_3.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_4.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_4.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_5.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_5.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_2_0.cpp QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_2_0.h QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_2_1.cpp QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_2_1.h QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_3_0.cpp QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_3_0.h QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_3_1.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_1.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_2_compatibility.cpp QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_3_2_compatibility.h QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_3_2_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_2_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_3_compatibility.cpp QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_3_3_compatibility.h QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_3_3_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_3_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_0_compatibility.cpp QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_4_0_compatibility.h QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_4_0_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_0_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_1_compatibility.cpp QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_4_1_compatibility.h QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_4_1_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_1_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_2_compatibility.cpp QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_4_2_compatibility.h QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_4_2_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_2_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_3_compatibility.cpp QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_4_3_compatibility.h QOpenGLFunctions: fix -Wunused-private-field (Clang 15) 2023-07-05 23:13:08 +00:00
qopenglfunctions_4_3_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_3_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_4_compatibility.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_4_compatibility.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_4_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_4_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_5_compatibility.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_5_compatibility.h Correct the internal signatures in the GL 4.5 func wrappers 2024-04-16 13:31:07 +02:00
qopenglfunctions_4_5_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_5_core.h Correct the internal signatures in the GL 4.5 func wrappers 2024-04-16 13:31:07 +02:00
qopenglfunctions_es2.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_es2.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglgradientcache.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglgradientcache_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpaintdevice.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpaintdevice.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpaintdevice_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpaintengine.cpp Avoid incomplete textures in GL paint engine 2023-03-02 17:39:10 +00:00
qopenglpaintengine_p.h Avoid incomplete textures in GL paint engine 2023-03-02 17:39:10 +00:00
qopenglpixeltransferoptions.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpixeltransferoptions.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglqueryhelper_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglshadercache_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglshaderprogram.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
qopenglshaderprogram.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexture.cpp Add QImage null check when QOpenGLTexture converts 2023-03-21 11:55:53 +01:00
qopengltexture.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexture_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltextureblitter.cpp QtOpenGL: Disambiguate class name QTextureBinder 2023-01-13 07:58:37 +01:00
qopengltextureblitter.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexturecache.cpp Avoid incomplete textures in GL paint engine 2023-03-02 17:39:10 +00:00
qopengltexturecache_p.h Avoid incomplete textures in GL paint engine 2023-03-02 17:39:10 +00:00
qopengltextureglyphcache.cpp Fix broken Text rendering when noantialiased NativeRendering is used 2022-10-11 18:35:59 +02:00
qopengltextureglyphcache_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexturehelper.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexturehelper_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltextureuploader.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltextureuploader_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltimerquery.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltimerquery.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionfunctions.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
qopenglversionfunctions.h Correct the internal signatures in the GL 4.5 func wrappers 2024-04-16 13:31:07 +02:00
qopenglversionfunctions_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionfunctionsfactory.cpp Doc: Fix \fn template arguments for Qt OpenGL 2023-11-18 10:31:35 +01:00
qopenglversionfunctionsfactory.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionprofile.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionprofile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglvertexarrayobject.cpp Avoid including qopenglfunctions header files if Qt is built with GLES2 2022-06-28 10:52:23 +02:00
qopenglvertexarrayobject.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglvertexarrayobject_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglwindow.cpp Mention QChronoTimer in API docs 2024-03-03 19:56:55 +02:00
qopenglwindow.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtopenglglobal.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qvkconvenience.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qvkconvenience_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00