Re: [Leopard] CIContext thread safety [was: CGContextDrawShading crash a known problem?]
Re: [Leopard] CIContext thread safety [was: CGContextDrawShading crash a known problem?]
- Subject: Re: [Leopard] CIContext thread safety [was: CGContextDrawShading crash a known problem?]
- From: David Duncan <email@hidden>
- Date: Thu, 6 Dec 2007 10:30:27 -0800
On Dec 6, 2007, at 9:48 AM, Pierre Bernard wrote:
It appears that the crash I am seeing is related to multithreading.
If I use Core Images concurrently on different threads, I seem to be
begging for trouble. This worked just fine on Tiger.
On Dec 5, 2007, at 2:09 PM, Pierre Bernard wrote:
I am seeing occasional crashes in CGContextDrawShading on Leopard.
The very same code worked fin on Tiger.
This somewhat begs the question of why your using Core Image to render
a gradient via the software renderer in the first place? If you simply
need to construct a gradient, then you can do so directly via the
Quartz API (look up the Quartz 2D Shadings sample code for an example)
instead of using Core Image which, in this case, just turns around and
calls the same functions.
--
David Duncan
Apple DTS Animation and Printing
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden