3 ms·
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 b
by coob 15y ago
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.
- tezza 15y agoBut 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.
- ori_b 15y agoReading 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?