Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It is a well known fact that on the simulator, Quartz 2D can be about 5x faster than OpenGLES, because OpenGLES isn't hardware accelerated there (different chipsets, ARM vs i386). </p> <p>I would encourage you strongly to test using OpenGLES on the device and compare that to Quartz 2D, and then you should experience about a 2x performance enhancement for OpenGLES.</p> <p>Another thing to consider when using OpenGL is image manipulation. OpenGL wasn't made for that, and as such has only one image buffer, meaning only one image can actually be in the GPU at once. To compensate, try using a program like <a href="http://www.codeandweb.com/texturepacker">TexturePacker</a> to make a texture atlas (as a PVRTC) to load into OpenGL, and you should have some huge performance increases.</p> <p>With the above taken into consideration, remember that GLPaint isn't actually drawing lines in it's implementation, but trying to draw a semi-transparent PNG over the framebuffer, and then coloring it accordingly. That is very costly, and I would recommend comparing apples to apples (OpenGL line drawing vs Quartz line drawing)</p> <p>Let's face it - OpenGL is old, and as such must be treated as it is - an old dog. You can't teach this old dog new tricks, but it's damn good at the tricks it knows.</p> <p>Quartz on the other hand is a new dog - while it can do lots of tricks, it cannot do one thing particularly well - performing them. It's OK for moderately complex projects, but for anything major, I will always recommend OpenGL, or a thin C++ wrapper over it.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload