#27 Triple buffering

open
nobody
None
5
2012-10-09
2009-03-06
No

In the display section, the display flags do not contain an option for triple buffering (version 4.9.8). Only double buffering and page flipping is provided.

By referring to triple buffering, I am referring to the classic method of avoiding the shearing effect by using 3 buffers instead of two.

Discussion

  • Elias Pschernig

    Elias Pschernig - 2009-03-06

    I think the best way to implement this would be like:

    al_set_new_display_option(ALLEGRO_SWAP_METHOD, ALLEGRO_TRIPLE_BUFFER, ALLEGRO_SUGGEST)

    If that is used, then DirectX would could a triple-buffer chain. All other drivers would simply ignore it (or can you get triple buffering with OpenGL?)

     
  • Stephen A

    Stephen A - 2009-03-06

    OpenGL drivers by ati and nvidia support trible buffering, but I don't know if it's possible to request that through wgl/glx/agl.

    Btw, triple-buffering is not for avoiding the shearing effect per se, but rather it helps reduce the performance impact of VSync.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks