qt5base-lts/tests/auto/gui
Laszlo Agocs b08cc0ec6f Make the expose region local on all platforms
QExposeEvent::region() reports a region in a random coordinate system.
The behavior is undocumented and the platform plugins do different things.

xcb, offscreen and ios are correct. These set the region in local coordinates,
which is the most logical interpretation of the expose region.

windows is almost correct, except for one occurrence.

cocoa and others need changes: passing in geometry() as the exposed region is
always wrong.

The patch documents the expected behavior both for QExposeEvent and
internally in QWindowSystemInterface. The problematic plugins are fixed to
use local coordinates.

Task-number: QTBUG-40470
Change-Id: I6ded3154d14254fa71d4292d8e1b5e6cf696c81a
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
2014-08-12 07:47:32 +02:00
..
image QPixelFormat: don't inherit it 2014-08-09 09:05:24 +02:00
itemmodels tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
kernel Make the expose region local on all platforms 2014-08-12 07:47:32 +02:00
math3d Add viewport transform to QMatrix4x4 2014-05-16 09:53:58 +02:00
painting QImage support for RGB30 formats 2014-07-04 14:03:46 +02:00
qopengl Add support for glMapBufferRange in the wrappers and resolvers 2014-08-08 07:29:53 +02:00
text tst_QFont: remove unused static function 2014-07-28 10:58:06 +02:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00