diff options
author | Błażej Szczygieł <spaz16@wp.pl> | 2015-10-02 22:46:22 +0200 |
---|---|---|
committer | Błażej Szczygieł <spaz16@wp.pl> | 2015-11-19 19:30:44 +0000 |
commit | 83d7e83b78df037836d81a9aedaba99655a587b9 (patch) | |
tree | b6cd66f304eb5df05f9913321e047af514c85cbf /src/plugins/platforms/minimalegl | |
parent | dd3be4fbac09f1a085086f1ea400e6637ae68c10 (diff) |
xcb: Fix slow widget resizing
It can speed up window resizing using on XCB platform
(like in Qt4 or GTK). It doesn't affect QRasterWindow,
but it affects all QWidget-based windows and OpenGL windows.
This code uses XCB Sync Protocol on all windows when it is supported.
In previous code the XCB Sync Protocol was used only when window
doesn't support OpenGL (on QRasterWindow),but QWidget can use OpenGL,
so it doesn't use the XCB Sync Protocol.
With XCB Sync Protocol which is implemented in Qt XCB plugin,
windows can be resized smoother/faster. You can see bigger difference
when you use non-composited window manager to test it:
- Kwin without compositing and fast style,
- Marco,
- Xfwm4,
- Openbox.
Task-number: QTBUG-46641
Change-Id: Ia18dee94616e64ba7e11bd4b062d2326ec530748
Reviewed-by: Martin Gräßlin <mgraesslin@kde.org>
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/minimalegl')
0 files changed, 0 insertions, 0 deletions