[Webkit-unassigned] [Bug 90375] Parallel image decoders

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 4 01:01:19 PDT 2012


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





--- Comment #73 from Huang Dongsung <luxtella at company100.net>  2012-08-04 01:01:15 PST ---
(In reply to comment #71)
> To do this I think we need to detach frameIsCompleteAtIndex() from general image frames and relate it only to animated GIF. My thought is createFrameAtIndex() (or in the future requestFrameAtIndex()) would include the state of the frame, i.e. isComplete, etc. This way we can push the logic of GIF animation into GIF image decoder (or another class).

As you mentioned, only GIF animation uses frameIsCompleteAtIndex() and frameDurationAtIndex(), and both methods are not public, so both methods are implementation detail.
I wish other developers don't misuse both methods after we complete async image decoding implementations. So, I renamed both methods in order to prevent from making mistakes.
frameDurationAtIndexDecodingIfNecessary()
frameIsCompleteAtIndexDecodingIfNecessary()

You can see this in the next patch that I will post.

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