Changeset 66719 in webkit


Ignore:
Timestamp:
Sep 3, 2010 2:50:27 AM (14 years ago)
Author:
Girish Ramakrishnan
Message:

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):

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r66717 r66719  
     12010-09-03  Girish Ramakrishnan  <girish@forwardbias.in>
     2
     3        Reviewed-by Simon Hausmann.
     4
     5        Passing a 32-bit depth X pixmap to NPAPI windowless plugins is too inefficient.
     6        Instead, pass a X Pixmap that has same depth as the screen depth since graphics
     7        operations are optimized for this depth.
     8
     9        https://bugs.webkit.org/show_bug.cgi?id=45167
     10
     11        * plugins/PluginPackage.cpp:
     12        (WebCore::PluginPackage::determineQuirks):
     13
    1142010-09-02  Kwang Yul Seo  <skyul@company100.net>
    215
  • trunk/WebCore/plugins/PluginPackage.cpp

    r66297 r66719  
    216216        m_quirks.add(PluginQuirkFlashURLNotifyBug);
    217217    }
     218
     219#if defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
     220    // Passing a 32-bit depth pixmap to NPAPI plugins is too inefficient. Instead, pass a X Pixmap
     221    // that has same depth as the screen depth since graphics operations are optimized
     222    // for this depth.
     223    m_quirks.add(PluginQuirkRequiresDefaultScreenDepth);
     224#endif
    218225}
    219226#endif
Note: See TracChangeset for help on using the changeset viewer.