Discuss 2.1 CoreSurface help at the iPhone Developer Exchange - Hackint0sh.org; I'm having trouble implementing a CoreSurface frame buffer. I'm using the latest Xcode template in ...
2.1 CoreSurface help
I'm having trouble implementing a CoreSurface frame buffer. I'm using the latest Xcode template in the sticky thread, and I haven't used CoreSurface before.
The code compiles and apparently works, but the CoreSurface will stay black and it will only refresh when I click the home button.
Here's the project:
And here is the source code, all 4 files pasted together:
I create a SurfaceView and add it to the main view, and then set up a timer that fills the pixels and sends setNeedsDispay to the surfaceView, but it stays black. When I quit the app, it animates away with whatever colour it had.
Help will be appreciated
By koexistens in forum Free Toolchain Software (Cydia App's)
Last Post: 11-23-2007, 09:38 AM
Tags for this Thread