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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 14 10:59:38 PST 2013


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





--- Comment #25 from Min Qin <qinmin at chromium.org>  2013-02-14 11:01:54 PST ---
(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.

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