I’m making a benchmark under Ogles 1.0 with 2700G
The scene is a typical map drawing… some areas for a total of 29K triangles and 11K vertex… and some of this area contours.
Initially I make a lot of calls (800) to the drawElement to draw lines using GL_LINE_STRIP… but performance were not good… much worst than triangles… and we thought the problem was the number of calls to the primitive.
To avoid this I created a single array drawn using GL_LINES… in this way I have to repeat a lot of vertexes but I can simulate the pen up and i can call the DrawElement only one time.
The performance gain is significant, but related to triangles speed it seems not enough.
I also made a test to draw line as triangles, but if I do in this way, when the triangle collapse, it disappears… instead the line, if drawn it never disappears…
29K triangles, 11K vertex
6.5K vertex, line width 1.0
How can I draw line quickly ?