qt5base-lts/tests/auto/gui
Laszlo Agocs b78f3f4974 rhi: Make QRhiRenderTarget's rp getter functional with swapchains
swapchain->currentFrameRenderTarget()->renderPassDescriptor() is not
functional at the moment, it returns null. This is because no backend
ensures that the internal renderpass descriptor object is exposed via
that getter in a QRhiSwapChainRenderTarget. Whereas in a
QRhiTextureRenderTarget this would work by design because there the
setter must be called by the user.

Fix this up, providing better API symmetry, and also reducing the need
to pass along QRhiRenderPassDescriptor objects seprately alongside a
QRhiRenderTarget in some places, e.g. in Qt Quick.

Change-Id: I42c4e9aaee3202c1d23bd093d840af80c5f8cd0f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2022-04-26 19:46:21 +02:00
..
image Tests: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
itemmodels Replace uses of _qs with _s in tests 2022-04-07 19:30:17 +02:00
kernel QFutureCallOutEvent: de-export again 2022-04-14 19:07:16 +02:00
math3d QtGui/math3d: Fix QQuaternion::getEulerAngles for GimbalLock cases 2022-01-16 01:12:15 +01:00
painting QColor: deprecate isValidColor, setNamedColor, string-ish ctors 2022-03-15 10:36:09 +00:00
platform tests: skip tst_QX11Info on Wayland 2022-02-17 00:34:50 +01:00
qopengl tst_qopengl: set surfaceType explicitly 2022-03-18 13:02:11 +02:00
qopenglconfig Remove the qmake project files 2021-01-07 15:32:28 +01:00
qvulkan Tests: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
rhi rhi: Make QRhiRenderTarget's rp getter functional with swapchains 2022-04-26 19:46:21 +02:00
text Replace uses of _qs with _s in tests 2022-04-07 19:30:17 +02:00
util Replace uses of _qs with _s in tests 2022-04-07 19:30:17 +02:00
CMakeLists.txt Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00