OpenGL and CGContextRef
One of the functions that gets called on my map overlay view gives a CGContextRef for me to draw with, using core graphics.
However, what I want to draw is going to be a lot of processing of pixels, so im thinking about going the opengl es route.
One would way be to take the opengl framebuffer (i think thats the right word for the resulting pixels) and copy them into the CGContext, but Im curious if that would be slower than just processing the pixels using core graphics.
Essentially, i'd be creating shapes and merging them with existing pixels on a buffer (alpha blending), id just like to hear your thoughts on the speed of different techniques.
|