3ec0df4b5f
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> |
||
---|---|---|
.. | ||
compressedtexture_bc1 | ||
compressedtexture_bc1_subupload | ||
computebuffer | ||
computeimage | ||
cubemap | ||
cubemap_render | ||
cubemap_scissor | ||
float16texture_with_compute | ||
floattexture | ||
hellominimalcrossgfxtriangle | ||
instancing | ||
mrt | ||
msaarenderbuffer | ||
msaatexture | ||
multiwindow | ||
multiwindow_threaded | ||
offscreen | ||
qrhiprof | ||
shadowmap | ||
shared | ||
texuploads | ||
triquadcube | ||
CMakeLists.txt | ||
rhi.pro |