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 ...
-
Newbie
Array
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:
http://stuff.zydeco.ath.cx/iphone/SurfaceTest.zip
And here is the source code, all 4 files pasted together:
http://iphone.pastebin.com/m1ad08654
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
-
Similar Threads
-
By koexistens in forum Free Toolchain Software
Replies: 2
Last Post: 11-23-2007, 09:38 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks