diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2018-05-03 12:17:04 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2018-05-04 04:10:43 +0000 |
commit | 7f0bdc21a8f1a5fbe2afdba61f037a71f00c1d61 (patch) | |
tree | 8c3d04f8f33858cc5b32c20d1cd558372b8b1f66 /src/render/renderers/opengl/renderer/renderer_p.h | |
parent | dcc7f1548425c2a8cabad3282b98939f05cc2513 (diff) |
Remove race in texture data upload
In the non locked submission phase of the renderer, the GLTextures must have
had their content/properties already updated as this is too late to actually
create or upload texture based on references which may be invalid or outdated.
This wasn't properly handled. We now perfom the GLTexture creation and data
upload when both the RenderThread and AspectThread are locked.
Task-number: QTBUG-67989
Change-Id: I07ac23120e8d37a86e60d2b892d1437b8cb0b3dc
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/renderers/opengl/renderer/renderer_p.h')
0 files changed, 0 insertions, 0 deletions