path: root/src/corelib/kernel/qeventdispatcher_win.cpp
diff options
authorBłażej Szczygieł <>2016-01-11 15:25:12 +0100
committerBłażej Szczygieł <>2016-01-18 18:30:23 +0000
commit465e93aa95d99f799300867b07f81bdd5162c9f1 (patch)
tree08371cd20a8647814536a9b140414e85d8be5367 /src/corelib/kernel/qeventdispatcher_win.cpp
parenta87dfdb19683cd106aa81d4053c255251a5e37a0 (diff)
QtWidgets: Improve native and top-level OpenGL widget performance
Since 7c6625b105511191f739d07dc658094ff6f682ac native OpenGL widgets are able to render, but performance is very low. It also slows down rendering for top-level OpenGL widgets. Render-to-texture widgets prevent triggering unnecessary backingstore painting when only the OpenGL content changes. This patch makes possible to use that feature for native and top-level widgets by calling "markDirtyOnScreen()" function only when necessary. This patch also prevents native and top-level OpenGL widgets from flickering during resizing. Task-number: QTBUG-50381 Task-number: QTBUG-49620 Change-Id: I0c16ea644fb869a00772fd74e1709611e627bff3 Reviewed-by: Laszlo Agocs <>
Diffstat (limited to 'src/corelib/kernel/qeventdispatcher_win.cpp')
0 files changed, 0 insertions, 0 deletions