[AD] [ alleg-Feature Requests-2668727 ] Triple buffering |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Feature Requests item #2668727, was opened at 2009-03-06 18:21
Message generated for change (Comment added) made by the_fiddler
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355665&aid=2668727&group_id=5665
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Achilleas Margaritis (axilmar1)
Assigned to: Nobody/Anonymous (nobody)
Summary: Triple buffering
Initial Comment:
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.
----------------------------------------------------------------------
Comment By: Stephen A (the_fiddler)
Date: 2009-03-06 19:20
Message:
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.
----------------------------------------------------------------------
Comment By: Elias Pschernig (elias)
Date: 2009-03-06 18:39
Message:
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?)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355665&aid=2668727&group_id=5665