Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Buffering in OpenGL

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2005
    Posts
    10

    Buffering in OpenGL

    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?

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: Buffering in OpenGL

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •