Optimal pixel format for drawing on iPhone?

Posted by Felixyz on Stack Overflow See other posts from Stack Overflow or by Felixyz
Published on 2010-03-11T20:35:06Z Indexed on 2010/03/11 20:39 UTC
Read the original article Hit count: 272

Filed under:
|
|

Pretty simple question: when doing some pretty intense drawing with CoreGraphics on the iPhone, how can I specify the pixel format to get optimal performance? Is the format that I get from the context via UIGraphicsGetCurrentContext per definition the best one? I know that RGB565 is supposed to be the fastest to use in OpenGL. Does that go for CoreGraphics as well? General advice?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone