[Webkit-unassigned] [Bug 27538] Qt memory consumption on site with many images
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 22 05:01:23 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27538
Holger Freyther <zecke at selfish.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #33252| |review?
Flag| |
--- Comment #1 from Holger Freyther <zecke at selfish.org> 2009-07-22 05:01:22 PDT ---
Created an attachment (id=33252)
--> (https://bugs.webkit.org/attachment.cgi?id=33252)
Change the Qt image decoding to be closer to cairo
Introduce an RGBA32Buffer buffer implementation for Qt. The
actualy buffer is a WTF::Vector (to use fastMalloc) but we
have a image on top of this we are using for manipulation,
width/heigt.
Re-Implement ImageDecoderQt on top of the ImageDecoder using
the RGBA32Buffer to hold the final image and attempt to delay
image decoding until the actual image data is requested. This
is failing for gif were we need to decode the images in frameCount()
due QImageReader limitations. Add a side-channel to RGBA32Buffer
because QImageReader can not decode to the QImage we give it.
Change the ImageSourceQt.cpp to be close cairo and change
ImageQt.cpp to free the native image pointer (QPixmap) now that
the ownership of QPixmap's is the same as in other ports.
This change makes the ownership of RGBA32Buffer and native
images/pixmaps follow other ports and allows to easily use
the WebCore image decoders.
---
8 files changed, 414 insertions(+), 321 deletions(-)
--
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