Den 13:21 30. mars 2012 skrev Per Bull Holmen <pbhol...@gmail.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com