• 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: Getting the best frame rate for NSView drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the best frame rate for NSView drawing


  • Subject: Re: Getting the best frame rate for NSView drawing
  • From: Per Bull Holmen <email@hidden>
  • Date: Fri, 30 Mar 2012 13:50:15 +0200

Den 13:21 30. mars 2012 skrev Per Bull Holmen <email@hidden> følgende:
> If you need to use higher level APIs, you need to
> use glDrawPixels (which is sloooow) to transfer the data from an
> offscreen NSGraphicsContext/CGContext into the frame buffer object,
> THEN draw onto the screen using glBlitFramebuffer. Using glDrawPixels
> directly to the screen, or making a display list to cache the
> glDrawPixels operation is slow. I have no idea why.

P.S: This is of course only efficient if the image doesn't change often.

Per

_______________________________________________

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


References: 
 >Getting the best frame rate for NSView drawing (From: Kenneth Baxter <email@hidden>)
 >Re: Getting the best frame rate for NSView drawing (From: Graham Cox <email@hidden>)
 >Re: Getting the best frame rate for NSView drawing (From: "email@hidden" <email@hidden>)
 >Re: Getting the best frame rate for NSView drawing (From: lbland <email@hidden>)
 >Re: Getting the best frame rate for NSView drawing (From: Kyle Sluder <email@hidden>)
 >Re: Getting the best frame rate for NSView drawing (From: "email@hidden" <email@hidden>)
 >Re: Getting the best frame rate for NSView drawing (From: Per Bull Holmen <email@hidden>)

  • Prev by Date: Re: Getting the best frame rate for NSView drawing
  • Next by Date: Setting a mounted volumes icon
  • Previous by thread: Re: Getting the best frame rate for NSView drawing
  • Next by thread: Re: Getting the best frame rate for NSView drawing
  • Index(es):
    • Date
    • Thread