summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorArtem Dyomin <artem.dyomin@qt.io>2024-02-05 15:27:25 +0100
committerArtem Dyomin <artem.dyomin@qt.io>2024-02-08 23:41:11 +0100
commit1d6bb23f6285252f7fa6cac87003cbe0f33f51af (patch)
tree07394fe5aeead85ae56f23f60b2d74ce2b9bf5b8 /src/plugins/platforms
parent1d799e91082092821a04885bd9d069febefc37da (diff)
Fix loading QRhiTexture from image on gles
The code should consider that image may be created by a pointer to user data, with original alignments. It means that we the way of setting parameters from raw data and QImage should be the same. In Qt Multimedia we want to pass a zero-copy image to rhi creation to get rid of an extra copy: codereview.qt-project.org/c/qt/qtmultimedia/+/537062 Aslo, data align has been fixed. Due to the documentation, GL_UNPACK_ALIGNMENT can be 8, 4, 2, 1. Let's find the biggest possible align. Task-number: QTBUG-121934 Pick-to: 6.7 6.6 6.5 Change-Id: Ic0f1617d4699217a7549c13e916be96108183d03 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions