Go to file
Laszlo Agocs 89ec1b3618 rhi: Add support for buffer readbacks
This also marks the beginnings of significantly extending autotesting
of the resource and rendering functionality in QRhi.

Also involves fixing up the buffer operation lists like we did
for textures before. This is to ensure updates and reads on the
same batch execute in the correct order. So just have two lists:
one with buffer, one with texture operations.

Also simplify the struct layouts. No need for those inner structs
with many duplicate members. This reduces the size even, since using a
union was never an option here. Also switch to a VLA, the size is around
253 KB per batch.

The Null backend now keeps track of the QRhiBuffer data so it can return
valid results in readbacks.

Task-number: QTBUG-78984
Task-number: QTBUG-78986
Task-number: QTBUG-78971
Task-number: QTBUG-78883
Change-Id: I9694bd7fec523a4e71cf8a5c77c828123ebbb3bd
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
2019-10-09 15:15:05 +00:00
bin Make sure QLatin1Literal fwd header is generated 2019-09-02 11:33:54 +02:00
config.tests Say hello to Android multi arch build in one go 2019-08-26 12:59:15 +03:00
dist Merge remote-tracking branch 'origin/5.12' into 5.13 2019-09-08 11:33:28 +02:00
doc Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-09 07:51:49 +00:00
examples Widgets flowlayout example: Fix crash on startup 2019-10-03 13:15:47 +02:00
lib
mkspecs Remove CFBundleGetInfoString from Info.plist templates 2019-10-04 13:09:34 +00:00
qmake qmake: Avoid writing glue project file when only generating prl files 2019-10-09 02:10:03 +02:00
src rhi: Add support for buffer readbacks 2019-10-09 15:15:05 +00:00
tests rhi: Add support for buffer readbacks 2019-10-09 15:15:05 +00:00
util QUnicodeTables: use array for case folding tables 2019-09-04 16:35:37 +00:00
.gitattributes
.gitignore
.qmake.conf
.tag
config_help.txt Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-04 07:03:54 +02:00
configure
configure.bat
configure.json Android: Turn off rpath support as the platform does not support it 2019-10-01 10:36:24 +02:00
configure.pri Make Qt relocatable 2019-09-07 20:02:45 +02:00
header.BSD
header.COMM
header.FDL
header.GPL
header.GPL-EXCEPT
header.LGPL
header.LGPL3
header.LGPL3-COMM
header.LGPL-NOGPL2
header.LGPL-ONLY
header.MIT
INSTALL
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.QT-LICENSE-AGREEMENT-4.0
qtbase.pro
sync.profile