[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

girish at forwardbias.in girish at forwardbias.in
Wed Dec 22 12:58:30 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 7dd59d5e76d9fa1401f402b8d7403de96934e2d0
Author: girish at forwardbias.in <girish at forwardbias.in@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Sep 3 09:50:27 2010 +0000

    Passing a 32-bit depth X pixmap to NPAPI windowless plugins is too inefficient.
    Instead, pass a X Pixmap that has same depth as the screen depth since graphics
    operations are optimized for this depth.
    
    https://bugs.webkit.org/show_bug.cgi?id=45167
    
    Reviewed by Simon Hausmann.
    
    * plugins/PluginPackage.cpp:
    (WebCore::PluginPackage::determineQuirks):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66719 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 9c232ba..9b5b54f 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2010-09-03  Girish Ramakrishnan  <girish at forwardbias.in>
+
+        Reviewed-by Simon Hausmann.
+
+        Passing a 32-bit depth X pixmap to NPAPI windowless plugins is too inefficient. 
+        Instead, pass a X Pixmap that has same depth as the screen depth since graphics 
+        operations are optimized for this depth.
+
+        https://bugs.webkit.org/show_bug.cgi?id=45167
+
+        * plugins/PluginPackage.cpp:
+        (WebCore::PluginPackage::determineQuirks):
+
 2010-09-02  Kwang Yul Seo  <skyul at company100.net>
 
         Reviewed by Kent Tamura.
diff --git a/WebCore/plugins/PluginPackage.cpp b/WebCore/plugins/PluginPackage.cpp
index 5f358b1..99445e7 100644
--- a/WebCore/plugins/PluginPackage.cpp
+++ b/WebCore/plugins/PluginPackage.cpp
@@ -215,6 +215,13 @@ void PluginPackage::determineQuirks(const String& mimeType)
         m_quirks.add(PluginQuirkThrottleWMUserPlusOneMessages);
         m_quirks.add(PluginQuirkFlashURLNotifyBug);
     }
+
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
+    // Passing a 32-bit depth pixmap to NPAPI plugins is too inefficient. Instead, pass a X Pixmap
+    // that has same depth as the screen depth since graphics operations are optimized
+    // for this depth.
+    m_quirks.add(PluginQuirkRequiresDefaultScreenDepth);
+#endif
 }
 #endif
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list