With a single large polygon, GL_LINE_LOOP would be the obvious choice. But if we want to draw many polygons what is the fastest way to do it? For example, with 5 million points, and polygon length of about 100?
The way we are currently using is GL_LINES with indices 0,1 1,2 2,3, etc.
This is very wasteful and inefficient, but it allows a single call to OpenGL to draw multiple polygons, and it seems that anything else we have found would be more inefficient.
A second question is whether there is any way to draw filled polygons followed by line polygons in a single call? The answer would appear to be no, just checking whether there is some trick