[Webkit-unassigned] [Bug 103797] New: [chromium] Minimize memcpy for encoded image data in ImageFrameGenerator

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 30 18:16:09 PST 2012


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

           Summary: [chromium] Minimize memcpy for encoded image data in
                    ImageFrameGenerator
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hclam at google.com
                CC: senorblanco at chromium.org, jamesr at chromium.org,
                    vangelis at chromium.org, enne at google.com,
                    nduca at chromium.org, qinmin at chromium.org


The logic in ImageFrameGenerator regarding encoded image data is as follows:

1. When new data is received on the main thread, DeferredImageDecoder sets new data to ImageFrameGenerator.
2. ImageFrameGenerator makes a new copy of the data and keeps the reference.
3. When there is an image decoding request from LazyDecodingPixelRef, ImageFrameGenerator makes another copy of the data and take it for image decoding.

The entire process has too many unnecessary memcpys, it should be cleaned up.

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