drawing polylines in bulk
I'm using drawArrays(), with mode LINE_STRIP to draw a polyline. So far, so good - everything works.
I actually have a number of polylines that I want to render in batch.
However, it's not clear to me what data I should be binding for the drawElements call.
I assume that, at least, I need to have a bound buffer containing the concatenated coordinates of all the polylines I'm drawing.
However, what should the element array buffer contain? Subsequent pairs of start/end indices? Is bulk/batched polyline drawing even supported at all?