brandonborkholder / glg2d

Graphics2D wrapper for JOGL
77 stars 31 forks source link

GLG2DCanvas renders only once #22

Open nicktgn opened 10 years ago

nicktgn commented 10 years ago

Following the example code, I wrapped my custom JComponent, which displays a video stream, into GLG2DCanvas. I call this component's repaint() method every time new video frame comes in. But it actually gets rendered only first time repaint() is called. All subsequent times I call repaint all the draw routines in the paintComponent() got ignored by the rendering pipeline despite being executed. Could you, please, suggest what might cause such behaviour?

ghost commented 10 years ago

Are you sure that the repaint manager doesn't get in your way? Please can you reproduce this behavior on a simple example?