PDA

View Full Version : Buffering in OpenGL



vivekd
11-15-2005, 06:31 AM
Does buffering help in improving the performance of an OpenGL application? I am drawing some objects like Cone and Cylinders using GLU commands. But running the application on other's machine (with same configuration as mine) renders the objects after a while. Has it to do with buffering? How do I avoid this?

ZbuffeR
11-15-2005, 07:30 AM
It is not very clear if you use double-buffering or not. Is that win32/linux/mac ?

You can do a glFlush(); to force command flushing to happen.

Most of the time it is not used because swapping buffers already flushes the pipeline.

If this does not help, please provide more details.