summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/directfb.pro
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-05-05 21:37:53 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-05-05 22:13:28 (GMT)
commit8ee920d09ad139aedb14eaacc3f9c198d43e4351 (patch)
tree6b04d442cb98fbb42247a112b3ae357365fb03c2 /src/plugins/gfxdrivers/directfb/directfb.pro
parentf06d186c3b9b053132d8107f843317067238083f (diff)
downloadQt-8ee920d09ad139aedb14eaacc3f9c198d43e4351.zip
Qt-8ee920d09ad139aedb14eaacc3f9c198d43e4351.tar.gz
Qt-8ee920d09ad139aedb14eaacc3f9c198d43e4351.tar.bz2
Refactored image caching
Make image caching a lot cleaner and more sensible. By default we do not cache images since creating a preallocated surface is quick and we don't really want to waste memory. In the case where the driver does not support preallocated surfaces you can enable image caching to speed up drawImage. Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/directfb.pro')
-rw-r--r--src/plugins/gfxdrivers/directfb/directfb.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/directfb.pro b/src/plugins/gfxdrivers/directfb/directfb.pro
index b128514..5c60b2f 100644
--- a/src/plugins/gfxdrivers/directfb/directfb.pro
+++ b/src/plugins/gfxdrivers/directfb/directfb.pro
@@ -6,6 +6,7 @@ QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/gfxdrivers
# These defines might be necessary if your DirectFB driver doesn't
# support all of the DirectFB API.
#
+#DEFINES += QT_DIRECTFB_IMAGECACHE
#DEFINES += QT_NO_DIRECTFB_WM
#DEFINES += QT_NO_DIRECTFB_LAYER
#DEFINES += QT_NO_DIRECTFB_PALETTE
@@ -41,4 +42,3 @@ SOURCES = qdirectfbscreen.cpp \
QMAKE_CXXFLAGS += $$QT_CFLAGS_DIRECTFB
LIBS += $$QT_LIBS_DIRECTFB
DEFINES += $$QT_DEFINES_DIRECTFB
-