qt5base-lts/tests/manual/rhi
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
..
compressedtexture_bc1 Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
compressedtexture_bc1_subupload Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
computebuffer Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
computeimage Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
cubemap Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
cubemap_render rhi: Add render-to-cubemap manual test 2020-01-13 15:52:58 +01:00
cubemap_scissor Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
float16texture_with_compute rhi: Add manual test for RGBA16F and compute 2020-01-13 15:52:46 +01:00
floattexture Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
hellominimalcrossgfxtriangle Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
instancing Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
mrt Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
msaarenderbuffer Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
msaatexture Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
multiwindow Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
multiwindow_threaded Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
offscreen Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qrhiprof Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shadowmap Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared Regenerate qsb files for auto and manual tests 2020-01-22 22:47:04 +01:00
texuploads RHI: Store texture handle as 64-bit int 2020-05-22 10:32:10 +02:00
triquadcube Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
CMakeLists.txt Convert all of tests/manual 2019-11-14 09:03:26 +00:00
rhi.pro rhi: Add render-to-cubemap manual test 2020-01-13 15:52:58 +01:00