Android Performance Comparison: Canvas vs OpenGL ES

5

Is there a benchmark for performance, or some listing with rules / guidelines, to tell me which time to use OpenGL ES on Android instead of the Canvas + Activity pair configured as hardwareAccelerated="true" to make constant drawings , for example, in a game?

Or is it ever more advantageous to use OpenGL ES in this scenario?

    
asked by anonymous 03.05.2014 / 22:30

1 answer

2

Just like Guilherme's comment proposed: OpenGL has lower-level access than Canvas and will be faster.

In case of slowness in some devices can have many reasons ranging from poor programming using OpenGL (several calls unnecessary in render for example) or the rendering treatment by the manufacturer's driver (some put implementations in specific situations that make the faster rendering).

    
16.05.2014 / 21:26