diff options
author | Mikolaj Boc <[email protected]> | 2023-03-07 12:58:40 +0100 |
---|---|---|
committer | Mikolaj Boc <[email protected]> | 2023-03-12 16:00:02 +0100 |
commit | 68526277771f232bba0a02383cbacda382cc829d (patch) | |
tree | 75752906269e514c6d67fd21bafd4e3c1dc5aa89 /tests/benchmarks/sql/kernel/qsqlquery/main.cpp | |
parent | cdbfaf1b65538a1cdaf4cf0def2ac7728f11c945 (diff) |
Reuse the existing canvas context for offscreen surfaces
Due to the nature of WebGL contexts, which cannot be reassigned to
targets other than they were created for, we will now reuse the created
canvas context for offscreen surfaces, since those (hopefully) mostly
operate on textures anyway. If this is not done, any switch to an
offscreen surface for the main RHI context invalidates resources on
contexts in a share group with it.
Fixes: QTBUG-111617
Change-Id: I9752f7eec396a3ef11414881f5f79f26e1e2c859
Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'tests/benchmarks/sql/kernel/qsqlquery/main.cpp')
0 files changed, 0 insertions, 0 deletions