• 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: CALayer renderInContext: performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CALayer renderInContext: performance


  • Subject: Re: CALayer renderInContext: performance
  • From: Gideon King <email@hidden>
  • Date: Thu, 4 Nov 2010 14:54:05 +1000

I haven't done any testing on performance, but are you using the "opaque" property of CALayer? Does that speed it up at all?

On 04/11/2010, at 2:36 PM, Seth Willits wrote:

>
> renderInContext: can be reeeeally slow (2 seconds to draw a tree into a context). It seems that every CALayer is rendered using a Quartz transparency layer, and I know they're slow from past experience. I'm basically just firing off this email to ask if there's a method to make it a lot faster, or something else I could be doing. Everything that's being drawn (about 80 layers), was previously drawn using Quartz very quickly, so I'm hoping there's some way to force renderInContext: to ditch transparency layers or something.
>

_______________________________________________

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

References: 
 >CALayer renderInContext: performance (From: Seth Willits <email@hidden>)

  • Prev by Date: CALayer renderInContext: performance
  • Next by Date: Setting (not saving) NSPersistentDocument Metadata changes file Modification Date
  • Previous by thread: CALayer renderInContext: performance
  • Next by thread: Setting (not saving) NSPersistentDocument Metadata changes file Modification Date
  • Index(es):
    • Date
    • Thread