News for hackers. Stuff that matters.
Re:Vector based UI design tool that generates ObjC by coob on Thursday March 15, 2012 @07:32AM (#3707898)
I'm not talking about Webkit or streaming over HTTP. I'm talking within the context of true native apps.

Blitting a cached PNG will always be faster than CPU based drawing code and I think the app size tradeoff is worth it.

Re:Vector based UI design tool that generates ObjC by tezza on Thursday March 15, 2012 @07:43AM (#3707922)
But you just draw the image first from vector and blit that. Vector gets all the normal bitmap speedup tricks that way.

Reading your PNG from the disk in the first place will be slower than reading a compact vector, rendering it and caching.

Re-rendering from CPU can often be faster than GPU bus access times on PCs.

Anyways, it depends on what you're optimising for. I was just illustrating how vector can be much better than bitmap in many situations.

Re:Vector based UI design tool that generates ObjC by ori_b on Thursday March 15, 2012 @01:46PM (#3709587)
Reading your PNG from the disk in the first place will be slower than reading a compact vector, rendering it and caching.

Got benchmarks for that?