What's the fastest way to get a framebuffer and render to in software on the iPhone?
Basically getting into a mode 13h style thing going so I can make some effects? :)
You need to create a CGImageContext
, in a bitmap format that you can directly manipulate. Then, you can draw that image on the screen, use it as a GL texture, or whatever.
Pretty simple stuff - check the Core Graphics documentation. I don't think there's a good way to get actual raw frameBuffer
access, but that's probably not what you really want, anyway.