diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-21 06:00:08 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-21 06:00:08 (GMT) |
commit | f11fc8f62558543dac1eca9d52a4801196c55221 (patch) | |
tree | e7236141e946dae9cc791a240896c640999d6fd7 /src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp | |
parent | d63d0c10c0eeef0d2f93f3d0b197e09399087b00 (diff) | |
parent | 95c116a562c6d488caf5f2222af3c261c304587f (diff) | |
download | Qt-f11fc8f62558543dac1eca9d52a4801196c55221.zip Qt-f11fc8f62558543dac1eca9d52a4801196c55221.tar.gz Qt-f11fc8f62558543dac1eca9d52a4801196c55221.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into qtscript-jsc-backend
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp index 26a2374..956189c 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp @@ -847,6 +847,13 @@ void QDirectFBPaintEnginePrivate::setCompositionMode(QPainter::CompositionMode m { if (!surface) return; + + static const bool forceRasterFallBack = qgetenv("QT_DIRECTFB_FORCE_RASTER").toInt() > 0; + if (forceRasterFallBack) { + compositionModeStatus = 0; + return; + } + compositionModeStatus = PorterDuff_SupportedBlits; switch (mode) { case QPainter::CompositionMode_Clear: |