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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 13 03:01:20 PDT 2012


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





--- Comment #81 from Huang Dongsung <luxtella at company100.net>  2012-08-13 03:01:47 PST ---
(In reply to comment #80)
> In RenderImage::layout() after layout rect is computed you can see if this->absoluteContentBox() and view()->viewRect() intersects. If they do you can start image decoding there (given that frameCount() == 1). Then in ParallelImageDecoder, instead of cancel the last asynchronous image decoding it waits until the decode is completed. I suspect this can bring down load time even further for complex sites because decoding starts much earlier.

If we should trigger image decoding before painting, I also think layout time would be the best. However, I'm concerned about the following issues.
1. the hooking is needed by only parallel image decoder, not deferred image decoder.
2. I think the interval between layout time and painting time is short. So, many images will make parallel image decoder stop, which causes synchronization overhead. But we need to test it if we want to discuss more about this.

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