qt5base-lts/src
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
..
3rdparty Remove wacomcfg.h from 3rdparty 2011-12-09 01:01:01 +01:00
corelib Fix possible jump in animation timer. 2011-12-14 02:16:40 +01:00
dbus Fix clang warning about bool to pointer conversion. 2011-11-28 18:47:32 +01:00
gui Remove redundant touch processing in QtGui and widgets. 2011-12-14 13:17:19 +01:00
modules testlib: add QFINDTESTDATA macro for finding testdata files 2011-12-01 09:12:57 +01:00
network Remove unused member variables from private class. 2011-12-12 17:27:19 +01:00
opengl opengl: Do not crash when programGuard is a nullptr 2011-12-01 10:51:10 +01:00
platformsupport Cocoa: Add autorelease pools. 2011-12-12 17:27:19 +01:00
plugins Cocoa: Use new 10.7 mouse wheel API. 2011-12-14 09:27:04 +01:00
printsupport Remove QAlphaPaintEngine::drawImage() 2011-12-14 09:27:04 +01:00
sql Check driver validity before using it 2011-12-12 10:43:44 +01:00
testlib Remove redundant touch processing in QtGui and widgets. 2011-12-14 13:17:19 +01:00
tools qtbase: Remove QSound. 2011-12-07 14:37:41 +01:00
v8 v8: give sensible error message if v8 sources are not checked out 2011-12-12 17:27:19 +01:00
widgets Remove redundant touch processing in QtGui and widgets. 2011-12-14 13:17:19 +01:00
winmain Windows: fixed qtmain.lib not going to `lib' directory 2011-07-26 03:27:34 +02:00
xml Fix warning when using QXmlInputSource with non opened QIODevice 2011-11-11 02:45:05 +01:00
qbase.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_install.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_targets.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
src.pro Executing 'make install' did not build mkv8snapshot 2011-12-06 18:37:54 +01:00