[Webkit-unassigned] [Bug 93467] New: Change ImageSource to be asynchronous.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 8 05:10:55 PDT 2012


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

           Summary: Change ImageSource to be asynchronous.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: luxtella at company100.net


This change makes the API of ImageSource support asynchronous image decoding. This
is a preparation for asynchronous image decoding. After ImageSource
compelets image decoding, ImageSource sends NativeImagePtr to BitmapImage via
ImageSourceObserver::didDecodeFrameAtIndex().

This patch renames createFrameAtIndex to requestFrameAtIndex, to imply
this method can be asynchrous. If ImageSource has ImageSourceObserver, this
method sends the result via didDecodeFrameAtIndex() either synchronously or
asynchronously. Otherwise, this method returns the result synchronously.
e.g. GraphicsContext3D calls requestFrameAtIndex without ImageSourceObserver.

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