Passing a 32-bit depth X pixmap to NPAPI windowless plugins is too inefficient.
authorGirish Ramakrishnan <girish@forwardbias.in>
Fri, 3 Sep 2010 09:50:27 +0000 (09:50 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 3 Sep 2010 20:50:36 +0000 (17:50 -0300)
commit71e3ae59b4df3984c5a60403940540801de9ceec
treea9bd44914ab3eea572d821d5972284ae37c19691
parent5da1b423861c071a2ea012e62d2a37603d96ab68
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
WebCore/ChangeLog
WebCore/plugins/PluginPackage.cpp