Results 1 to 5 of 5

Thread: Wait for VerticalBlank and triple-buffer

  1. #1
    Member Newbie
    Join Date
    Dec 2001
    Posts
    48

    Wait for VerticalBlank and triple-buffer

    Hi!

    I would like to sync my application with the vertical-blank: I know it is possible to enable it by driver-settings, but I wanto to know how can I enable it via-software.

    And then, If I want to switch to triple buffer, how can I do it??

    Thanx!

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: Wait for VerticalBlank and triple-buffer

    Search for "Vertical retrace" in the archive.

    As far as I know OpenGL only supports doublebuffering.

    Mikael

  3. #3
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,450

    Re: Wait for VerticalBlank and triple-buffer

    Driver must be set to allow SW control wait for vertical blank behaviour. Then look here http://oss.sgi.com/projects/ogl-samp...ap_control.txt

    Triple buffering is not an OpenGL feature. I know of no implementation doing this, and if, this wouldn't be a user controllable feature, but done through SwapBuffers.
    If you need additional color and or depth buffers to draw stuff on, look for p-buffers on the above site.

  4. #4
    Senior Member Regular Contributor
    Join Date
    Mar 2004
    Posts
    143

    Re: Wait for VerticalBlank and triple-buffer

    The OpenGL API only supports double buffering. However any OpenGL implementation is free to use tripple buffering internaly when it sees fit.

    For instance you can force OpenGL tripplebuffering in certain Radeon drivers.

  5. #5
    Senior Member OpenGL Pro
    Join Date
    Feb 2002
    Location
    Bonn, Germany
    Posts
    1,633

    Re: Wait for VerticalBlank and triple-buffer

    Older Radeon drivers (before the user control option) gave you triple buffering for fullscreen apps, up to a certain maximum resolution I believe, and double buffering for windowed apps.

    I've asked for a WGL_ARB_pixel_format extension a while ago that would have fully exposed triple buffering.

Similar Threads

  1. Using Shader Buffer Objects with Double or Triple Buffering
    By saski in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 07-08-2017, 01:31 PM
  2. Triple Buffer
    By mishuk in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 01-07-2003, 07:48 PM
  3. Triple Buffer
    By PlayBoy in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 12-13-2002, 12:14 AM
  4. Triple Buffer
    By Hazem_vb in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 10-02-2002, 09:48 AM
  5. Triple-buffer in OpenGL?
    By Scorpion in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 05-18-2001, 11:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean