CATiledLayer too slow to update
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