[Webkit-unassigned] [Bug 8425] opacity on a group containing a blur filtered rect crashes
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sat Jul 22 15:34:57 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=8425
dmaclach at mac.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmaclach at mac.com
------- Comment #5 from dmaclach at mac.com 2006-07-22 15:34 PDT -------
I'm not sure if it helps, but you can avoid the crash by not releasing the
m_filterCIContext from the Filter in kCanvasFilterQuartz::applyFilter
(approximately line 154 in kCanvasFilterQuarts.mm). Interestingly when you
create the filter, the CGContext you pass in gets it's retain count
incremented, but when you release the filter, the CGContext it wraps doesn't
appear to get it's retain count decremented.
CGLayerRelease(m_filterCGLayer);
m_filterCGLayer = 0;
->HardRelease(m_filterCIContext); //Remove this line and things seem fine...
m_filterCIContext = 0;
Also if you skip over the CGBegin/EndTransparencyGroup calls everything appears
alright as well. Bugs with doing filters in transparency groups perhaps?
calling and restoring the context in a transparencygroup doesn't seem to be the
problem, I wrote up quite a bit of sample test code and couldn't repro.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list