qt5base-lts/tests/auto/gui/kernel
Laszlo Agocs 3064c1bc8c Remove redundant touch processing in QtGui and widgets.
The duplicated hash tables in QGuiApplicationPrivate and
QApplicationPrivate are now unified into one single hash table in
QGuiApplicationPrivate. This also reduced the number of lookups.

The extra processing needed to keep the touch points' first/lastPos
values in sync is now done only once, in QGuiApplication. This
eliminates the performance penalty (for widget-based apps) that was
introduced during the QPA migration.

As an added bonus the patch adds support for touch events arriving
simultaenously from multiple devices. This was broken before: As there
is no guarantee that two devices/drivers will not send touch points
with the same ID, using structures with only the ID as key is
wrong. The proper key is composed of the device ID (that is, a
QTouchDevice pointer) and the touch point ID.

The exported internal function qt_translateRawTouchEvent() has been
removed. This function cannot work properly in the QPA world: It
injected touches into the widget subsystem (QApplication) only which
is wrong, and would result in half-filled touch events due to not
routing the injected data through QGuiApplication. Autotests using
this function are migrated to
QWindowSystemInterface::handleTouchEvent().

Change-Id: I7632781d77f9e0ac4626fd7c9933511c94492156
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
2011-12-14 13:17:19 +01:00
..
qclipboard QClipboard-test: Fix test 2011-12-13 09:33:49 +01:00
qdrag Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qevent Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qfileopenevent gui: eliminated usage of qttest_p4.prf 2011-10-25 07:19:31 +02:00
qguimetatype gui: eliminated usage of qttest_p4.prf 2011-10-25 07:19:31 +02:00
qguivariant gui: eliminated usage of qttest_p4.prf 2011-10-25 07:19:31 +02:00
qinputpanel Remove handlesInputPanelVisibility() deprecation mechanism 2011-11-21 22:46:11 +01:00
qkeysequence Re-enable 'check' target for tests/auto/gui on Mac OS X 2011-12-09 02:39:06 +01:00
qmouseevent Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qmouseevent_modal Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qpalette Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qscreen Fixed regression in tst_qscreen. 2011-11-23 22:23:55 +01:00
qshortcut Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qtouchevent Remove redundant touch processing in QtGui and widgets. 2011-12-14 13:17:19 +01:00
qwindow Add touchEvent() virtual to QWindow. 2011-12-12 17:27:19 +01:00
kernel.pro Moved tests into gui/kernel/ and gui/qopengl/ 2011-11-04 20:48:19 +01:00