• 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
CATiledLayer too slow to update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CATiledLayer too slow to update


  • Subject: CATiledLayer too slow to update
  • From: Colin Cornaby <email@hidden>
  • Date: Tue, 4 Mar 2008 20:57:29 -0800

I'm using a CATiledLayer to render a large background in my CoreAnimation composition. A CATiledLayer seems to be best suited for the job due to the size of the composition. However, one problem I am running into is when the tiles become very small, the layer can be very slow to update. This doesn't seem like an overhead issue to me as I am supplying layer content from a CGLayerRef, which should be very fast at drawing an image of the same size. Rather, it seems to me like the CAScollLayer is distributing the drawing over a period of time.

It would be far more advantageous to me, in addition to the poor user who has to sit through the tiny tiles being drawn one by one, to draw all layers as soon as they need to be displayed.

Does anyone have any workarounds for this, or workarounds for drawing backgrounds in general? It would be nice to draw the background by hand without the aid of a tile layer, but I've found no way to keep a background synchronized with a parent CAScrollLayer properly.

Thanks,
Colin
_______________________________________________

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: CATiledLayer too slow to update
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: regexkit [Using NSPredicate to parse strings]
  • Next by Date: NSOutlineView slow update w Core Data
  • Previous by thread: Re: Undo and Core Data issue
  • Next by thread: Re: CATiledLayer too slow to update
  • Index(es):
    • Date
    • Thread