[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:01:29 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=108892
--- Comment #26 from Hin-Chung Lam <hclam at google.com> 2013-02-14 11:03:44 PST ---
(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.
--
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