Aleix Pol
9483d87ef3
QOpenGLFramebufferObject: Avoid illegal call to glTexImage2D
...
According to the documentation:
GL_INVALID_OPERATION is generated if the combination of internalFormat, format and type is not one of those in the tables above.
https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glTexImage2D.xhtml
We were allowing the RGB values be passed as RGBA, after this change we
don't do so anymore.
This would result for KWin in:
Mesa: User error: GL_INVALID_OPERATION in glTexImage2D(format = GL_RGBA, type = GL_UNSIGNED_BYTE, internalformat = GL_RGB8)
Pick-to: 6.6 6.5
Change-Id: Ifde8a570eff01be573f780655d8cedbb96f5ba2b
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
(cherry picked from commit ba9e57d65f15c935632b0ad22db0bead9a7d5f90)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-01-31 11:36:57 +00:00
..
2023-10-09 17:24:07 +00:00
2023-07-11 22:44:29 +02:00
2022-07-08 20:14:52 +00:00
2022-05-16 16:37:38 +02:00
2022-07-20 13:15:55 +02:00
2022-07-20 13:15:55 +02:00
2024-01-12 11:06:04 +00:00
2024-01-12 11:06:04 +00:00
2022-06-14 21:16:35 +02:00
2024-01-14 09:39:02 +00:00
2022-05-16 16:37:38 +02:00
2023-10-12 21:38:54 +02:00
2022-10-04 07:40:08 +02:00
2022-10-21 09:48:36 +02:00
2022-06-15 21:31:02 +02:00
2022-10-04 07:40:08 +02:00
2022-05-16 16:37:38 +02:00
2022-06-15 21:31:02 +02:00
2024-01-31 11:36:57 +00:00
2022-10-21 09:48:36 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2023-07-05 23:13:08 +00:00
2023-07-05 23:13:08 +00:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2023-03-02 17:39:10 +00:00
2023-03-02 17:39:10 +00:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-10-11 23:17:18 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2023-03-21 11:55:53 +01:00
2022-05-16 16:37:38 +02:00
2023-01-13 07:58:37 +01:00
2022-05-16 16:37:38 +02:00
2023-03-02 17:39:10 +00:00
2023-03-02 17:39:10 +00:00
2022-05-16 16:37:38 +02:00
2022-10-11 18:35:59 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-10-11 23:17:18 +02:00
2022-05-16 16:37:38 +02:00
2023-11-18 10:31:35 +01:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-06-28 10:52:23 +02:00
2022-05-16 16:37:38 +02:00
2023-03-16 10:26:40 +01:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00