[Webkit-unassigned] [Bug 66650] New: Flash in a QGraphicsWebView using OpenGL is slow
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 22 00:14:21 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=66650
Summary: Flash in a QGraphicsWebView using OpenGL is slow
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Plug-ins
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tiftof at gmail.com
When showing a flash using a QGraphicsWebView in a QGraphicsScene that is rendered by a QGraphicsView using a QGLWidget, is slower than when not using a QGlWidget as viewport for the QGraphicsView.
The problem is in WebCore/plugins/qt/PluginViewQt.cpp. The plugin is being drawn on a X11Pixmap when the paint() method is called. In my case the supplied painter uses the OpenGL drawing engine. Calling the drawpixmap() method of this painting engine while using the X11Pixmap as the source pixmap will cause the X11Pixmap to be converted to an image by calling the QPixmap::toImage() method for every update of the plugin.
Letting the plugin draw on a normal QPixmap instead of a X11Pixmap when the painter is using the OpenGL engine will avoid this costly conversion for every update.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list