vtkOpenGLContextDevice2D::DrawPointSprites issues with buffer

TestLinePlotMarkerBuffer.cxx (2.0 KB)

@jaswantp I think this small example highlights the problem.

The plot starts using the #1 column in the table as y axis and gets rendered. Then the pot changes to using the #2 column. The data is correctly displayed, but now as line only; the markers seem to use their buffer. That’s not exactly the same behaviour as I am getting in my application (there the markers are gone), but is probably a good starting point for debugging it.

Note in my application I also see buffered behaviour when the data in the table has changed, but maybe fix this one step at a time.

If you create a branch please let me have access to it, would like to test this out as good as possible.