← Back to context

Comment by randomfool

13 years ago

For touch interfaces the lag between input and render is critical, and double-buffering if done wrong can kill you.

Software rendering an opaque rect may be fine, but add in some big semi-transparent overlays and performance drops.

Only to the extent that it's not fast enough, which it clearly is given that iOS doesn't hardware-accelerate CoreGraphics. Anything done wrong can be bad, but flicker is really really bad. Pretty much only Apple gets it right in that regard (maybe Jellybean, I haven't used it much).

  • Apple gets it right because they cache prerendered textures so aggressively on the GPU. In this regard software rendering versus hardware rendering doesn't really matter much, since actual rendering happens so infrequently.