qt5base-lts/tests/auto/gui
Eskil Abrahamsen Blomfeldt 3ec0df4b5f RHI: Store texture handle as 64-bit int
When storing a void* pointer to the texture handle, we had
to ensure that the variable would exist until the build phase,
which is error prone and caused errors in QQuickWidget because
we copied the texture ID from the FBO into a local variable
before passing it into QQuickWindow::setRenderTarget().

The reason for using a void* was that we cannot know the width
of the handles in the different backends, but we do know that
they are 64-bit at maximum, so instead of storing potentially
dangling pointers, we just make it a 64-bit integer and cast
it back and forth in the backends.

Task-number: QTBUG-78638
Change-Id: I7951e24351ddb209045ab6197d81eb1290b4da67
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2020-05-22 10:32:10 +02:00
..
image Remove deprecated members from QtGui/image classes 2020-04-29 06:20:07 +02:00
itemmodels Remove deprecated members from several QtGui classes 2020-04-27 12:21:29 +02:00
kernel Remove QScreen::orientationUpdateMask 2020-05-07 13:48:08 +00:00
math3d Revert "Remove flagBits from QMatrix4x4" 2020-03-04 15:54:38 +00:00
painting Remove a bunch of deprecated members from src/gui/painting classes 2020-05-06 09:54:17 +02:00
qopengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
qopenglconfig Remove QScreen::orientationUpdateMask 2020-05-07 13:48:08 +00:00
qvulkan Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
rhi RHI: Store texture handle as 64-bit int 2020-05-22 10:32:10 +02:00
text Merge remote-tracking branch 'origin/5.15' into dev 2020-05-18 08:52:33 +02:00
util Remove deprecated QDesktopServices APIs 2020-05-13 14:38:23 +02:00
.prev_CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
gui.pro Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00