summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
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.h
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.h')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
index 8859d58..42d0ebe 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
@@ -63,7 +63,8 @@ public:
NoFlags = 0x00,
VideoOnly = 0x01,
SystemOnly = 0x02,
- IgnoreSystemClip = 0x04
+ IgnoreSystemClip = 0x04,
+ BoundingRectFlip = 0x08
};
Q_DECLARE_FLAGS(DirectFBFlags, DirectFBFlag);