|
|
SwapBuffers()
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!
|
|
0
|
|
|
|
Reply
|
winapi
|
3/16/2010 4:58:17 PM |
|
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.
|
|
0
|
|
|
|
Reply
|
Cathy
|
3/16/2010 10:15:15 PM
|
|
|
1 Replies
365 Views
(page loaded in 0.02 seconds)
Similiar Articles: SwapBuffers() - comp.os.ms-windows.programmer.win32Hello, 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 ... Intercepting data read in by Notepad in a minifilter - comp.os.ms ...In my minifilter (based on swapBuffers sample), I want obtain the data that is being read in by notepad.exe. I'm NOT using FLTFL_OPERATION_REGISTRATION_SKIP_CACHED_IO ... is it usefull to multithread an opengl game - comp.graphics.api ...I am doing this because I am asuming all the gl calls, and esspecialy the swapbuffers call are hardware dependend and make for idle time. So while the render thread is ... Dev-C++ and openGL - linker problem and simple how to - comp ...... lopengl32 3-Hit compile and get the following errors: [Linker error] undefined reference to `GetStockObject@4' [Linker error] undefined reference to `SwapBuffers@4 ... GLUT on Windows XP - comp.graphics.api.opengl... guess it is problem of message handling and idle function invocation. > > Did anybody meet a similar problem whit GLUT library and Window XP? > I guess SwapBuffers ... multiple viewport problem with bitmap - comp.graphics.api.opengl ...SwapBuffers() - comp.os.ms-windows.programmer.win32 multiple viewport problem with bitmap - comp.graphics.api.opengl ..... glViewport(m_xPos, m_yPos, m_width,m_height ... Help! I have possible precision errors in a simple OpenGL scene ...SwapBuffers() - comp.os.ms-windows.programmer.win32 Help! I have possible precision errors in a simple OpenGL scene ..... 0, -10000 ); glEnd(); // draw a green ball ... Displaying 10-bit image data using OpenGL - comp.graphics.api ...... pData,2,1068000,fp); glClear(GL_COLOR_BUFFER_BIT); glDrawPixels(1000,1016,GL_COLOR_INDEX,GL_UNSIGNED_SHORT,pData); free(pData); fclose(fp); SwapBuffers(hdc ... backbuffer drawing - comp.graphics.api.openglSwapBuffers() - comp.os.ms-windows.programmer.win32 You should use double buffering, draw to the back buffer and swapbuffers() at the ... it seems that what actually ... stereo/quad buffering confusion - comp.graphics.api.opengl ...There is just one SwapBuffers() though, so you don't have to worry about one eye being more than one frame time off from the other. -- Andy V SwapBuffers functionThe SwapBuffers function exchanges the front and back buffers if the current pixel format for the window referenced by the specified device context ... swapBuffers Minifilter Sample - Microsoft Corporation: Software ...Description. The swapBuffers minifilter demonstrates how to switch buffers between reads and writes of data. This technique is particularly useful for ... 7/23/2012 8:56:33 AM
|
|
|
|
|
|
|
|
|