View Full Version : Fastest way my - pixel buffer to iPad Display

Aug 16, 2010, 03:55 PM
In section 5.2.3. "Writing to the Screen Surface" of the O'Reilly title "iPhone Open Application Development" they briefly show how to use the, now non existing, CoreSurface to move ones own render buffer to the iPhones framebuffer.

The CoreSurface no longer exists in the iPhone SDK, and never existed for any SDK that ran on the iPad. The replacement looks to eventually be IOSurface but the IOSurface framework is currently private and shouldn't be used if product expects to be accepted in the App store so that's out.

What are my current options in order to get my render buffer to the display as quick as possible?

Anyone point me at some "working" example code using something in the currently available SDK for iPad.


Aug 16, 2010, 04:22 PM
LayerKit was renamed to Core Animation just before release.

Aug 16, 2010, 08:39 PM
So it's OpenGL ES dual texture mapped triangles then?

Aug 17, 2010, 02:09 AM
Last I searched around on this issue, the fast public API non-OpenGL path was to create a CGImage from a (double-buffered) CGBitmapContext, then assigning that image to a CALayer that's already part of the UIView.

Aug 17, 2010, 02:22 AM
Any examples thats you're aware of and will this allow for reasonable animation speed?