[Webkit-unassigned] [Bug 106842] adding support for DiscardablePixelRef for caching lazily decoded images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 28 19:37:40 PST 2013


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





--- Comment #98 from Min Qin <qinmin at chromium.org>  2013-01-28 19:39:37 PST ---
(In reply to comment #96)
> I submitted an unreviewed build fix: http://trac.webkit.org/changeset/141033
> 
> The use SkMutex is not necessary in this code so remove it would make Mac build happy. The reason for undefined reference is because of component build and SK_API.

We definitely need the SkMutex here. If we don't provide our own mutex, skia will fall back to use a static skmutex arrray. And the skmutex array has 30 mutex in it used in a ring fashion. 
The problem is that 2 DiscardablePixelRef can later on use the same mutex and lead to deadlocks.

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