[Webkit-unassigned] [Bug 158264] New: SVGImage should honor the existing WebCore::MemoryCache mechanism for throwing away decoded image data on demand

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 1 09:04:43 PDT 2016


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

            Bug ID: 158264
           Summary: SVGImage should honor the existing
                    WebCore::MemoryCache mechanism for throwing away
                    decoded image data on demand
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: zimmermann at kde.org

SVGImage needs to implement the virtual function SVGImage::destroyDecodedData() which should destroy the DOM and the render trees. It should also be able to create them on demand. Currently it creates them only when all data is received in SVGImage::dataChanged().

The DOM and render trees are purgeable data. They can be rebuilt from the SVGImage encoded data. They take too much memory compared to the encoded data especially when the SVG contains paths or polygons. This implementation should save a lot of memory and allow more SVGImages to be cached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160601/f3902124/attachment.html>


More information about the webkit-unassigned mailing list