I am trying to make a grid with OpenGL ES 2.0 for Android. What I am trying to understand is whether extra vertices use more memory even if they're not drawn on the screen. For example, I am drawing a line which is three times longer than visible area. I am using this Line class - https://stackoverflow.com/a/16223456/1621987.
mLine = new Line();
mLine.setVertices(0f, -10f, 0f, 0f, 10f, 0f);
...
GLES20.glDrawArrays(GLES20.GL_LINES, 0, vertexCount);
Is it efficient to do it performance and memory wise?