[Webkit-unassigned] [Bug 53953] ImageDecoderSkia doesn't notify Skia's bitmap when the pixels have changed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 8 11:12:26 PST 2011


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





--- Comment #6 from George Wright <gwright at kde.org>  2011-02-08 11:12:26 PST ---
(In reply to comment #5)
> How often do you need to notify the backend?  setStatus() is called rarely.  You'll get a setStatus() call before any pixels are decoded and another one after all the pixels are decoded, but not any time in between.  If you need to be called whenever pixels changed, you'd need to either piggyback on ImageFrame::setRGBA() or write a new function that the decoders can call more frequently.

Well, the main one is to be called after the entire image has loaded to make sure that we don't get stuck in a half-loaded state where Skia just keeps a half-downloaded image on the screen and never updates it. Anything in between is a bonus. This seemed like the least invasive place to put it, although I'm open to suggestions on better places to put it :)

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