• 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: Best way to draw text in CAOpenGLLayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to draw text in CAOpenGLLayer


  • Subject: Re: Best way to draw text in CAOpenGLLayer
  • From: David Duncan <email@hidden>
  • Date: Fri, 22 May 2009 10:46:03 -0700

On May 21, 2009, at 11:25 PM, Anshul jain wrote:

Hi
thanks for suggestion. Since i want to scroll the text so i have to update it regularly so i have taken a CAOPenGLLayer and set is asynchronous and i am using


Is this the right approach to do it.


In Core Animation if you want to scroll something, then you move its layer. There is no need to continuously update the content of the layer, which is what you are proposing with the CAOpenGLLayer solution. Additionally, your basically just using a GL layer to draw a bitmap that is continuously updating without any other reason to use GL, its a waste of resources.

I would highly recommend that you read the Core Animation Programming Guide before you continue much further, as it may give you some bigger insights into what is available and how you might use it. You can find it here: <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html >
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________

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: Best way to draw text in CAOpenGLLayer
      • From: Anshul jain <email@hidden>
References: 
 >Best way to draw text in CAOpenGLLayer (From: Anshul jain <email@hidden>)
 >Re: Best way to draw text in CAOpenGLLayer (From: David Duncan <email@hidden>)
 >Re: Best way to draw text in CAOpenGLLayer (From: David Duncan <email@hidden>)
 >Re: Best way to draw text in CAOpenGLLayer (From: Anshul jain <email@hidden>)

  • Prev by Date: [announce] A Core Data tutorial
  • Next by Date: Re: Localizing absolute file name in Cocoa
  • Previous by thread: Re: Best way to draw text in CAOpenGLLayer
  • Next by thread: Re: Best way to draw text in CAOpenGLLayer
  • Index(es):
    • Date
    • Thread