qte-2.3.10: add improved version of w100 accelleration patch courtesy Manuel Teira
authorMichael Lauer <mickey@vanille-media.de>
Fri, 1 Jul 2005 09:47:20 +0000 (09:47 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 1 Jul 2005 09:47:20 +0000 (09:47 +0000)
packages/qte/qte-2.3.10/c7x0-w100-accel.patch
packages/qte/qte_2.3.10.bb

index f2e07bd..f1d5206 100644 (file)
@@ -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() ) {
index 3e87b83..ebcef63 100644 (file)
@@ -7,7 +7,7 @@ DEPENDS = "zlib libpng jpeg tslib uicmoc-native"
 DEPENDS_mnci = "zlib libpng jpeg uicmoc-native"
 DEPENDS_append_c7x0 = " sharp-aticore-oss"
 PROVIDES = "virtual/qte virtual/libqte2"
-PR = "r20"
+PR = "r21"
 
 SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz;md5=1f7ad30113afc500cab7f5b2f4dec0d7 \
           file://qpe.patch;patch=1 \