Re: UIGraphicsBeginImageContext thread safety
Re: UIGraphicsBeginImageContext thread safety
- Subject: Re: UIGraphicsBeginImageContext thread safety
- From: Andrew <email@hidden>
- Date: Fri, 2 Oct 2009 17:29:02 +1300
Hi glenn,
what is it doing that renders it not thread safe, does anyone know?
At the very least, it needs to call UIGraphicsPushContext to set the
current "ui graphics context", which is documented as needing to be
done on the main thread (which implies that there is a single,
global "ui graphics context" variable use by all of UIKit to
indicate where all UIKit based drawing should go).
right, that makes sense. that is probably a speed optimisation for
the gui drawing.
ah well, its a shame, its a lovely simple api.
thanks.
- Andrew
_______________________________________________
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