[Webkit-unassigned] [Bug 90375] Parallel image decoders
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 10 16:10:00 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=90375
--- Comment #80 from Hin-Chung Lam <hclam at google.com> 2012-08-10 16:10:25 PST ---
> I want to listen opinions from all folks whether this behavior is acceptable or not.
The same issue of flashing is raised by James on #webkit-dev. My suggestion would be to experiment with starting image decoding during layout time.
Here's an experiment:
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.
--
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