Hello
I paint a lot lines (for example in a 5000x5000 area) and display a part with ortho2D (for example 400x400).
I scroll during the world-coordinates (set other values for Ortho2D), but nothing is updated until i (clear and) redraw all lines.
Because no data change i think, it must exist a solution to force a redraw (on screen) without put all lines again into the pipeline...
I have litte performance troubles (call paint require around one second) and so i want ask, if i can improve my program.
swapbuffer, glFlush, glFinish does not update my screen to the new ortho window.
Similar problem, if i change the color of one line... (why) must i draw all lines again ??
General question:
How much objects can i draw without a visible delay ?
I have test and aprox 120000 lines in one second - is this a possible value for a good card ?
Filter not visible lines in my programm will not solve my performance problem,
because the first filter (glScissor) in the pipline remove those lines ... is this correct ?
Thanks for any suggestions
martin