[Webkit-unassigned] [Bug 53281] New: clean up CG allocations made while determining image size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 27 19:50:57 PST 2011


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

           Summary: clean up CG allocations made while determining image
                    size
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ianh at apple.com


After receiving new image data, BitmapImage must ask CG whether the image encoded by the data has a well-defined size (and, if it is well-defined, what that size is).  To answer this question, CG decodes some part of the image.  The decoded data remains associated with the CGImageSource, but it is not accounted for in the associated CachedImage's decoded size.

If WebCore never paints the image, there's no need to keep the decoded data around.  We should clear the image source once we know what size the image is.

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