Flicker problem with glRasterpos

Hello, it’s me again ;D
I have a little (big) problem. Since I’ve enabled opengl pipeline, only problems with my program. I have a GLJPanel in a BorderLayout (centered), the shift is corrected, but everytime I try to gldrawpixels, it doesn’t start to draw from the origin of the glViewPort but from origin of the window. So I tried to position the drawing with glrasterpos, but now the first drawing with drawpixels cause a short flashing of the whole panel. I know, that this isn’t the best description…new rendering: all okay, glrasterpos and drawing, flash, glrasterpos and drawing, okay, new rendering, okay, glrasterpos and drawing, flash…what could that be? Because for smooth working everytime a flashing is really disgusting.

Greetings FatFire

Do you have a small test case showing the problem?

Have you tried surrounding your rendering code with a glPushAttrib(GL_CURRENT_BIT) / glPopAttrib()? I don’t think a change to the raster position should be able to affect surrounding rendering but it’s worth a try.

[quote]Do you have a small test case showing the problem?
[/quote]
Unfortunately not. I tried (several times) to program a small test case which shows the problem, but they all behave normal. It seems like only in my big program it flashes. I solved this problem now by moving the cursor per glBitmap(0,0,0,0,x,y,null)…but I am not really happy with that solution. I’ll try again to program a bulletin-board-friendly-version of my problem.

P.S.: glPushAttrib/glPopAttrib didn’t change the behaviour of my program. I don’t really think it’s a bug or something like that, maybe I’m just too dumb :-[