summaryrefslogtreecommitdiffstats
path: root/src/openglextensions/qopenglextensions.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2019-08-26 22:08:59 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2019-09-20 11:45:41 +0000
commit1e310b5a4508f25a59f0e54aea8636f38f17db44 (patch)
tree629509df76f6b003557cde4f27d22d10883c6ae0 /src/openglextensions/qopenglextensions.h
parent9a322dfdea1cf331d2308034a63bf261f65f62c0 (diff)
widgets: Mark widgets as needing flush during painting
Except for the case of syncing in response to an expose event, where the platform asked us to flush a specific region, we should strive to only flush parts that have been repainted. And we should flush those parts to their nearest native child, instead of unconditionally flushing the root/top level widget as well. By allowing drawWidget to schedule the flush we automatically flush the minimal region, to the right widgets. (manually cherry-picked from commit 79bf1b7e348d186934b14c417859a48bf9b3a06c) Task-number: QTBUG-77447 Change-Id: I1a8fa703c0b7172655271e2a8f5eca694cb14129 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/openglextensions/qopenglextensions.h')
0 files changed, 0 insertions, 0 deletions