summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-05-04 00:34:21 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-05-04 00:34:21 (GMT)
commitbdcdb798d2cc4dc48079622a9c3cbe61be82e80b (patch)
tree2f36536e7b75eac3bb7f6a404483e907f5d633ec /src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
parent111b2c3e40cc475d561d578663565e603963d6e3 (diff)
downloadQt-bdcdb798d2cc4dc48079622a9c3cbe61be82e80b.zip
Qt-bdcdb798d2cc4dc48079622a9c3cbe61be82e80b.tar.gz
Qt-bdcdb798d2cc4dc48079622a9c3cbe61be82e80b.tar.bz2
Implemented an option to tune flipping
export QWS_DISPLAY=directfb:boundingrectflip to enable calling Flip on the bounding rect of the dirtied area rather than each dirty rectangle. This could be faster if you update many small rectangles. Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
index f8aaa5f..c1b75c5 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
@@ -896,6 +896,10 @@ bool QDirectFBScreen::connect(const QString &displaySpec)
}
}
+ if (displayArgs.contains(QLatin1String("boundingrectflip"), Qt::CaseInsensitive)) {
+ d_ptr->directFBFlags |= BoundingRectFlip;
+ }
+
if (displayArgs.contains(QLatin1String("ignoresystemclip"), Qt::CaseInsensitive))
d_ptr->directFBFlags |= IgnoreSystemClip;