Re: Getting the best frame rate for NSView drawing
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