summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/tools/qset/tst_bench_qset.cpp
diff options
context:
space:
mode:
authorArtem Dyomin <artem.dyomin@qt.io>2024-02-05 15:27:25 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-02-09 09:32:19 +0000
commit07059d4d1d167b21fb83b27f85af3668f6587146 (patch)
tree6d1f2753f8d6f93acc8516574227be028002440c /tests/benchmarks/corelib/tools/qset/tst_bench_qset.cpp
parentf1cb2edd1e6a306f4ddacf43135d42e46d2d30b2 (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.6 6.5 Change-Id: Ic0f1617d4699217a7549c13e916be96108183d03 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> (cherry picked from commit 1d6bb23f6285252f7fa6cac87003cbe0f33f51af) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/benchmarks/corelib/tools/qset/tst_bench_qset.cpp')
0 files changed, 0 insertions, 0 deletions