• 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: Large layers in Core Animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Large layers in Core Animation


  • Subject: Re: Large layers in Core Animation
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 18 Feb 2009 19:19:59 -0500
  • Organization: Rogue Research Inc.

On 2/18/09 11:40 AM, email@hidden said:

>I'm writing an application that requires a large scrollable view
>(about 500 x 8000) to display an appointments diary with lots of
>entries. I had a satisfactory version working using traditional cocoa
>objects but performance was a bit sluggish so I'd like to get it
>working using Core Animation.
>
>My plan was to have a single root layer (CATiledLayer) and small
>sublayers (about 200 x 50) for each appointment. However, when I tried
>it out, I found that whenever the size of the root layer exceeded 2000
>or so in height (ie GPU limit), the sublayers became squashed rather
>than tiled.

See:

<http://developer.apple.com/releasenotes/Cocoa/AppKit.html>

"Layer Size Limits and Tiled Layers" -> "On most current graphics
hardware the effective limit is 2046x2046 pixels"

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: Large layers in Core Animation
      • From: David Duncan <email@hidden>
References: 
 >Large layers in Core Animation (From: email@hidden)

  • Prev by Date: Memory Leak, Part I
  • Next by Date: Re: Drop Down Toolbar Button
  • Previous by thread: Large layers in Core Animation
  • Next by thread: Re: Large layers in Core Animation
  • Index(es):
    • Date
    • Thread