summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-04-09 22:56:24 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-04-09 22:56:24 (GMT)
commit0634fb1f6d8a4bef7ed82784b5b6deb117765df2 (patch)
treed28a172eeb63f7866c48d9ae521173af419eec2f /src
parentb52e3da01bd43da12587654f6d4e3f3ececed0cf (diff)
downloadQt-0634fb1f6d8a4bef7ed82784b5b6deb117765df2.zip
Qt-0634fb1f6d8a4bef7ed82784b5b6deb117765df2.tar.gz
Qt-0634fb1f6d8a4bef7ed82784b5b6deb117765df2.tar.bz2
Take out the DSCAPS_TRIPLE when not blitting
When this code was written there was never a case when we would not blit our flips and hence the entire if (!(flipFlags & DSFLIP_BLIT)) business seems not to have been tested anyway. Since I don't see the point of this I am taking it out. Might enable us to actually create the primary surface in video memory more often. Reviewed-by: TrustMe
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
index 8e57bb2..a230bf9 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
@@ -826,13 +826,6 @@ bool QDirectFBScreen::connect(const QString &displaySpec)
| DSCAPS_PREMULTIPLIED);
}
- if (!(d_ptr->flipFlags & DSFLIP_BLIT)) {
- description.caps = DFBSurfaceCapabilities(description.caps
- | DSCAPS_DOUBLE
- | DSCAPS_TRIPLE);
- }
-
-
// We don't track the primary surface as it's released in disconnect
d_ptr->dfbSurface = createDFBSurface(&description, DontTrackSurface);
if (!d_ptr->dfbSurface) {