Re: Large layers in Core Animation
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