From: winapi on
Hello,

I have an application that runs OpenGL in a custom splitter window. I had
eliminated all window flicker,
when I decided to run my OpenGL render in a seperate thread for each of the
render viewports.

Upon window splitter resizing, I am now getting window flicker. Also, some
strange OpenGL resizing in the viewports. I am passing the size values of
the window into the OpenGL thread, as to make sure the gluPerspective is
updated. I was wondering if anyone might know? why my "flicker free" window,
without using threads, now has "flicker" upon using threads for my "render
window"?

If I don't set dwFlags "PDF_DOUBLEBUFFER", then the flicker stops. But
obviously this is needed? So my guess is it has something to do with
SwapBuffers()?

Thanks!


From: Cathy L. on
winapi a �crit :
> Hello,
>
> I have an application that runs OpenGL in a custom splitter window. I had
> eliminated all window flicker,
> when I decided to run my OpenGL render in a seperate thread for each of the
> render viewports.
>
> Upon window splitter resizing, I am now getting window flicker. Also, some
> strange OpenGL resizing in the viewports. I am passing the size values of
> the window into the OpenGL thread, as to make sure the gluPerspective is
> updated. I was wondering if anyone might know? why my "flicker free" window,
> without using threads, now has "flicker" upon using threads for my "render
> window"?
>
> If I don't set dwFlags "PDF_DOUBLEBUFFER", then the flicker stops. But
> obviously this is needed? So my guess is it has something to do with
> SwapBuffers()?
>
> Thanks!
>
>

Hello
try it on comp.graphics.api.opengl.
Cathy L.