Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11
-
None
-
72c8e9930f60402d49c685bd86a6c83125fe7d52
Description
We only lock the surface in Renderer::doRender(), but we also rely on the surface to be valid in RenderViewInitializerJob, where we end up calling RenderSurfaceSelector::renderTargetSize() with a surface that may have been destroyed before we get there (this typically happens at shutdown).
Should we try to lock the surface until all jobs are finished running or can we somehow collect the necessary information before the jobs are run?
Attachments
For Gerrit Dashboard: QTBUG-67789 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
226671,2 | Make sure we could lock the surface before querying its size | 5.11 | qt/qt3d | Status: MERGED | +2 | 0 |