[Qt] Implement Maemo5 local rendering NPAPI extension. See
authorGirish Ramakrishnan <girish@forwardbias.in>
Wed, 18 Aug 2010 16:52:32 +0000 (16:52 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Wed, 25 Aug 2010 13:44:13 +0000 (10:44 -0300)
commit2f4975cb871858c834a0b1d14f5ded437f0d7758
tree12847653a84c300582d463031bde519f11b0f804
parent62187e66f76f3fd914a124b0a83392a087e6b9e5
[Qt] Implement Maemo5 local rendering NPAPI extension. See
https://wiki.mozilla.org/Plugins:NokiaMaemoImageSurface for details.

With the local rendering extension, Flash will paint into a 16-bit surface.
For wmode=transparent, Flash expects the surface to contain the contents
beneath it. As it is tricky to implement the content propagation across all
graphics systems, transparent Flash is not supported. We just fill the surface
with white and wmode=transparent behaves the same as wmode=opaque with a white
background.

Reviewed by Kenneth Rohde Christiansen.

https://bugs.webkit.org/show_bug.cgi?id=44043

* WebCore.pro:
* plugins/PluginView.cpp:
(WebCore::PluginView::setValue):
(WebCore::PluginView::PluginView):
* plugins/PluginView.h:
* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::updatePluginWidget):
(WebCore::PluginView::paintUsingImageSurfaceExtension):
(WebCore::PluginView::paint):
(WebCore::PluginView::platformGetValueStatic):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.pro
WebCore/plugins/PluginView.cpp
WebCore/plugins/PluginView.h
WebCore/plugins/qt/PluginViewQt.cpp