diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2016-07-26 13:16:53 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2016-07-27 08:54:35 +0000 |
commit | a2157df28b8aaa0c6fc02a35a2b24fa82cb77230 (patch) | |
tree | 89e3040bfed978af1ed3fa4b0ab36d465c2d2da2 /src/gui/text/qfontengine_ft.cpp | |
parent | 97318a3d5fc3a2e9b97c7dd5a49ad0e09acbeaaa (diff) |
HighDPI: Disable scrolling for non-integer deltas
Disable the scrolling optimization in QBackingStore
and fall back to repainting for non-integer deltas.
The existing rendered pixels are not re-usable in
this case.
The test is made on the delta, and not on the scale
factor. This means that user code can cooperate and
generate (logical delta, scale factor) combinations
that result in integer pixel deltas (which _can_ be
scrolled).
Change-Id: I36eb5d9e00449428bc9095edd8732782b996db16
Task-number: QTBUG-52452
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/text/qfontengine_ft.cpp')
0 files changed, 0 insertions, 0 deletions