From fa8e6d5083a01667bd5bdd3450ca5f883a068d10 Mon Sep 17 00:00:00 2001 From: Bernd Weimer Date: Wed, 29 Jan 2014 13:43:03 +0100 Subject: QNX: Add support for lgmon Added configure test, whether lgmon (liquid graphics performance monitor) is available. The test is supposed to be positive only for internal BlackBerry NDKs currently. Added calls to initialize lgmon and to indicate when an app is ready for user input. Change-Id: I5cbc29fb38a86585dcebd14d462436deaa1998aa Reviewed-by: Wolfgang Bremer Reviewed-by: Fabian Bumberger Reviewed-by: Rafael Roquetto Reviewed-by: Kevin Krammer --- src/plugins/platforms/qnx/qqnxwindow.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/plugins/platforms/qnx/qqnxwindow.cpp') diff --git a/src/plugins/platforms/qnx/qqnxwindow.cpp b/src/plugins/platforms/qnx/qqnxwindow.cpp index bb76efea64..e57025cbc6 100644 --- a/src/plugins/platforms/qnx/qqnxwindow.cpp +++ b/src/plugins/platforms/qnx/qqnxwindow.cpp @@ -44,6 +44,7 @@ #include "qqnxwindow.h" #include "qqnxintegration.h" #include "qqnxscreen.h" +#include "qqnxlgmon.h" #include @@ -705,5 +706,12 @@ void QQnxWindow::applyWindowState() } } +void QQnxWindow::windowPosted() +{ + if (m_cover) + m_cover->updateCover(); + + qqnxLgmonFramePosted(m_cover); // for performance measurements +} QT_END_NAMESPACE -- cgit v1.2.3