I am looking for a 2D rendering library as an alternative to CoreGraphics on the iPhone. Everything in my application is quite dynamic, which greatly complicates the process of layering and animation.
I am very familiar with OpenGL , and that is how rendering is implemented right now. Everything would be much easier to expand, and development would be much faster if I didn't have to worry about low-level materials in OpenGL (although my code would look so neat: D).
I prefer C ++ over Objective-C, so if you know any C ++ libraries for rendering, that would be great. I can work with C. too. A rendering path, like in CoreGraphics or the JavaScript API, would be helpful. Will Cairo work on the iPhone?
I really worked on my own 2D renderer, which will probably be released even if I don't use it in my application because I like to work on it. Does iPhone support a stencil buffer? I can use polygon triangulation or use the GLU tessellation library, but the stencil buffer is safe to load work in the end.
Edit: Also, I already implemented rendering in this application with CoreGraphics, and it is not as good as I would like. I did some research, and people suggested not using CoreGraphics for things that constantly redraw the screen. Some said that CoreGraphics did not use a GPU, others said that it was some kind of caching mechanism. Since then I have avoided this.
source
share