开发者

How hard is it to display a colored rectangle in OpenGL ES?

For example I want to display a rectangle like a UIView and assign it a background color. Then I want to update the color and size of the rectangle. Is this hard to do开发者_JAVA百科? How?

Note: I need dozens of these rectangles and have to update them as often per second as possible. The performance of Quartz / UIKit / CA isn't good enough for my case.


OpenGL would be overkill for such a trivial task. Quartz and CoreGraphics is more than cable of doing this. Check out the Drawing and Printing Guide for iOS

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜