diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-04-20 16:11:29 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-04-22 23:46:44 +0200 |
commit | 0c6b4dd4ad66d86d5a8dba998679ea53a563b685 (patch) | |
tree | b807d4e8cf5cbbc82232667292b28b549532bf2c /src/gui/image/qimage.cpp | |
parent | 65636ed06069fe7cc83ad159a0f48e4d3d7aba48 (diff) |
macOS: Don't optimize out aggressive backingstore flushes when single-buffered
Comparing the layer contents to the backingstore surface doesn't make
sense when we're single buffered since we're always using the same
surface.
And once Core Animation has picked up on the surface it's not enough to
just keep drawing to it, we also need to tell Core Animation that the
contents has changed.
Change-Id: I517a0b7a3ba7e9d96033465c9bd5a192985643ac
Fixes: QTBUG-81071
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/gui/image/qimage.cpp')
0 files changed, 0 insertions, 0 deletions