[Webkit-unassigned] [Bug 249113] Progressive Images (e.g., JPEG) should render while loading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 29 02:20:26 PDT 2023


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

--- Comment #4 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Ahmad Saleem from comment #3)
> I think adding #if PLATFORM(COCOA) etc. around this will fix it for
> WinCairo, WPE and GTK platforms, which does not use 'Core Animation' and
> make progressive JPEG loading for those platforms better.

I think adding:


#if !PLATFORM(WPE) && !PLATFORM(GTK) && !PLATFORM(WIN)
// We have to wait until the image is fully loaded before setting it on the layer.
if (!cachedImage->isLoaded())
    return;
#endif

would make it at least work for other platform and they will get better performance. I am happy to do patch but it wouldn't have test case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230629/c2a29d19/attachment.htm>


More information about the webkit-unassigned mailing list