[Webkit-unassigned] [Bug 32461] [Qt] Adding QPixmap/QImage support for the Qt hybrid layer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 30 13:06:48 PST 2009


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


Noam Rosenthal <noam.rosenthal at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #44745|0                           |1
        is obsolete|                            |
  Attachment #45678|                            |review?
               Flag|                            |




--- Comment #19 from Noam Rosenthal <noam.rosenthal at nokia.com>  2009-12-30 13:06:46 PST ---
Created an attachment (id=45678)
 --> (https://bugs.webkit.org/attachment.cgi?id=45678)
Refactor of hybrid pixmap transferring, with an intermediate object

Refactored the solution to use an intermediate object (in qt_pixmapruntime.cpp)
- The object has width & height properties, and toHTMLImageElement() and
toDataUrl() functions.
- The Qt bridge still accepts HTMLImageElement directly when sending a pixmap
to Qt, as there's no way to construct this intermediate object, and in this
case there's no implicit creation of DOM elements.
- The intermediate object converts to a QImage/QPixmap when the actual data is
requested: QImage when dataUrl is requested, QPixmap when HTMLImageElement is
requested.

Note that the test still fails the webkit style checker, I already posted a
relevant bug about the style-checker tool.

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