summaryrefslogtreecommitdiff
path: root/packages/qte/qte-2.3.10
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-01 09:47:20 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-01 09:47:20 +0000
commitec740a9aa0ac7452006405b34748c59396b36d88 (patch)
tree6c1b46fb9985f40f82e098c3c5f492d247daf59f /packages/qte/qte-2.3.10
parent34b90225ae1d1a2e820ad2da5327c86e063603dc (diff)
qte-2.3.10: add improved version of w100 accelleration patch courtesy Manuel Teira
Diffstat (limited to 'packages/qte/qte-2.3.10')
-rw-r--r--packages/qte/qte-2.3.10/c7x0-w100-accel.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/qte/qte-2.3.10/c7x0-w100-accel.patch b/packages/qte/qte-2.3.10/c7x0-w100-accel.patch
index f2e07bdd3d..f1d52066a8 100644
--- a/packages/qte/qte-2.3.10/c7x0-w100-accel.patch
+++ b/packages/qte/qte-2.3.10/c7x0-w100-accel.patch
@@ -2932,3 +2932,32 @@ Manuel Teira <manuel.teira@telefonica.net>
+{
+ return( new QW100Screen( display_id ) );
+}
+--- qt-2.3.10/src/kernel/qapplication_qws.cpp~w100
++++ qt-2.3.10/src/kernel/qapplication_qws.cpp
+@@ -1450,16 +1450,25 @@
+ extern void qws_clearLoadedFonts();
+ #endif
+
++#ifndef QT_NO_QWS_W100
++extern void qws_w100Transformation( int t );
++#endif
++
+ void QWSDisplay::setTransformation( int t )
+ {
+-#ifndef QT_NO_QWS_TRANSFORMED
++#if !defined(QT_NO_QWS_TRANSFORMED) || !defined(QT_NO_QWS_W100)
+ QRect mwr = qt_screen->mapToDevice(qt_maxWindowRect,
+ QSize(qt_screen->width(), qt_screen->height()) );
+
+ QPixmapCache::clear();
+ qws_clearLoadedFonts();
+ qws_mapPixmaps( TRUE );
++#ifndef QT_NO_QWS_TRANSFORMED
+ qws_setScreenTransformation( t );
++#endif
++#ifndef QT_NO_QWS_W100
++ qws_w100Transformation( t );
++#endif
+ qws_mapPixmaps( FALSE );
+
+ if ( qt_fbdpy->d->directServerConnection() ) {