• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Leopard] CIContext thread safety [was: CGContextDrawShading crash a known problem?]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [Leopard] CIContext thread safety [was: CGContextDrawShading crash a known problem?]
      • From: Pierre Bernard <email@hidden>
References: 
 >Leopard: CGContextDrawShading crash a known problem? (From: Pierre Bernard <email@hidden>)
 >[Leopard] CIContext thread safety [was: CGContextDrawShading crash a known problem?] (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Assignment problem with doubles: turning into NaN under Leopard
  • Next by Date: Re: [Leopard] CIContext thread safety [was: CGContextDrawShading crash a known problem?]
  • Previous by thread: [Leopard] CIContext thread safety [was: CGContextDrawShading crash a known problem?]
  • Next by thread: Re: [Leopard] CIContext thread safety [was: CGContextDrawShading crash a known problem?]
  • Index(es):
    • Date
    • Thread