[Webkit-unassigned] [Bug 108892] Passing alpha to DeferredImageDecoder once decoding completes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 14 11:08:24 PST 2013


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





--- Comment #27 from Min Qin <qinmin at chromium.org>  2013-02-14 11:10:40 PST ---
(In reply to comment #26)
> (In reply to comment #25)
> > (In reply to comment #24)
> > > If there's some chance the mutex isn't necessary, I wish we hadn't landed this.
> > 
> > 
> > I am wondering whether there will be a case that:
> > if (decoder->frameHasAlphaAtIndex(0)) {
> >   read_pixelref();  
> > }
> > However, on another thread where alpha value just got set, the skbitmap still haven't been fully decoded yet. So we need a memory barrier there and Mutex should do that.
> 
> That will not be the case. alpha value is known only after an image is fully decoded.

Would multi processor cache hurt?

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