From 04b98a8737ecf8629fa15823495f9756a2f0eb0e Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Wed, 15 Jun 2011 14:20:46 +0200 Subject: Mac: switch raster off as default paint engine After discussing the state of the raster engine with many key devs in Oslo, we have concluded the following: Switching to raster as default is a big change for Qt-4.8. The posibilty of introducing regression for 3rd-party applications are high. From manual testing we can easily spot regressions ourselves, expecially for text rendering. And the overall drawing performance seems to drop slightly. So there seem to be no reason for us to take such a risk at this point in time for Qt-4.8, expecially since we have other tasks that should get our attention going forward, and the main person that did the implementation has left. Rev-By: Gunnar Sletta Rev-By: Fabien Freling --- src/gui/painting/qgraphicssystemfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/painting/qgraphicssystemfactory.cpp b/src/gui/painting/qgraphicssystemfactory.cpp index 4309140..01ece09 100644 --- a/src/gui/painting/qgraphicssystemfactory.cpp +++ b/src/gui/painting/qgraphicssystemfactory.cpp @@ -74,7 +74,7 @@ QGraphicsSystem *QGraphicsSystemFactory::create(const QString& key) if (system.isEmpty()) { system = QLatin1String("runtime"); } -#elif defined (QT_GRAPHICSSYSTEM_RASTER) && !defined(Q_WS_WIN) && !defined(Q_OS_SYMBIAN) || defined(Q_WS_X11) || (defined (Q_WS_MAC) && defined(QT_MAC_USE_COCOA)) +#elif defined (QT_GRAPHICSSYSTEM_RASTER) && !defined(Q_WS_WIN) && !defined(Q_OS_SYMBIAN) || defined(Q_WS_X11) if (system.isEmpty()) { system = QLatin1String("raster"); } -- cgit v0.12