• 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 maybe silly question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CALayer maybe silly question


  • Subject: Re: CALayer maybe silly question
  • From: vincent habchi <email@hidden>
  • Date: Thu, 28 Jan 2010 21:48:01 +0100

Le 28 janv. 2010 à 21:37, David Duncan a écrit :

> On Jan 28, 2010, at 12:29 PM, vincent habchi wrote:
>
>> You're right. Up to that point, I'm quite satisfied with generating the contents directly out of the delegate, but, in a sense, your approach is more unified, since the same layer could then display either vector (drawn out of the database) or raster contents.
>
> The content you are drawing is raster content, it doesn't matter that you are using -drawLayer:inContext: or assigning an image to the contents field, in either case you are getting raster content.

Of course. But then, admitting I do indeed draw offscreen and then load contents in the CALayer, on what object shall I draw? A CGLayer? Something else?

> If you mean to see the drawing as it progresses, you will need to manage that yourself. You would likely want to completely overhaul your rendering process to do it however, as using a small fixed number of tiles would make this very slow as you would end up needing to respecify content you've already specified (basically draw-upload-draw-upload).

The trick would obviously be drawing offscreen and then fire a timer each second or so to upload content until the full drawing is done. Why not?

Have a very nice day, our is over.
Cheers
Vincent_______________________________________________

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: CALayer maybe silly question
      • From: David Duncan <email@hidden>
References: 
 >CALayer maybe silly question (From: vincent habchi <email@hidden>)
 >Re: CALayer maybe silly question (From: David Duncan <email@hidden>)
 >Re: CALayer maybe silly question (From: vincent habchi <email@hidden>)
 >Re: CALayer maybe silly question (From: David Duncan <email@hidden>)
 >Re: CALayer maybe silly question (From: vincent habchi <email@hidden>)
 >Re: CALayer maybe silly question (From: David Duncan <email@hidden>)
 >Re: CALayer maybe silly question (From: vincent habchi <email@hidden>)
 >Re: CALayer maybe silly question (From: David Duncan <email@hidden>)

  • Prev by Date: Re: CALayer maybe silly question
  • Next by Date: IKImageBrowserView drop operation always highlighting a specific row
  • Previous by thread: Re: CALayer maybe silly question
  • Next by thread: Re: CALayer maybe silly question
  • Index(es):
    • Date
    • Thread