summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglfunctions_4_0_core.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2022-09-02 14:11:18 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2022-09-14 14:25:38 +0200
commit72dd23cf53e910a0e34e71c9a7bf94f92c91fd7d (patch)
tree0af7ebd612b40821497d448322c51f526c7d7eb8 /src/opengl/qopenglfunctions_4_0_core.h
parent8d7d210aa59f4c6e7d370ec7b1fdee6dd8f15324 (diff)
Defer creating the special shaders in the texture blitter
Port of the 5.15 change. It is not strictly required for Qt 6 since the immediate problem of failing to compile some of the shaders with some drivers will pop up much more rarely in practice, because neither Multimedia nor the backing store compositor for QOpenGLWidget/QQuickWidget use QOpenGLTextureBlitter in 6.4 and newer. To maintain the internal behavior between 5 and 6, the patch is nonetheless ported to Qt 6. It also has a performance benefit for the users of the blitter, because now the special shader variants (for rectangle or external textures) are only created when needed. Task-number: QTBUG-101396 Change-Id: I1cf4bec0c74045f4b6f94765563254026bf0b7d8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/opengl/qopenglfunctions_4_0_core.h')
0 files changed, 0 insertions, 0 deletions