diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-12-22 10:31:48 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-01-12 09:41:44 +0000 |
commit | 2aa9908e24611fa6d321e694b8415ba7e8d364b0 (patch) | |
tree | fdd63226b4f8c8c6b218a50fd927d2c1e88b33ba /src/gui/painting/qdrawingprimitive_sse2_p.h | |
parent | 5ba29e1672dafe16be004409661aef3a7ebf499a (diff) |
Warn when ending painting on backingstore while there's still an active painter
There's no way for the backingstore to end painting on the device by itself,
so we warn the user about what's going on. Failing to end painting on
the device will e.g. in the case of QRasterBackingStore result in having to
make a copy of the QImage data during flush.
Change-Id: I3fbac2d7a8a440fdb23197ac2d57d95bfaf9e125
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/gui/painting/qdrawingprimitive_sse2_p.h')
0 files changed, 0 insertions, 0 deletions