[AD] [ alleg-Bugs-2802696 ] Remove al_wait_for_vsync()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #2802696, was opened at 2009-06-07 21:39
Message generated for change (Comment added) made by siegelord
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2802696&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: Core Library
Group: 4.9
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: SiegeLord (siegelord)
Assigned to: Nobody/Anonymous (nobody)
Summary: Remove al_wait_for_vsync()

Initial Comment:
al_wait_for_vsync() for some drivers waits for the vsync in addition to the the flip command waiting for vsync, resulting in FPS = 1/2 refresh rate of the screen. I can see this happen in ex_prim which uses al_wait_for_vsync(), where FPS is exactly 30. It becomes 60 if I remove al_wait_for_vsync() . This problem was predicted in this thread http://www.allegro.cc/forums/thread/598066 , where the decision was made to remove it and make it a display creation hint. Submitting a bug report so this is not forgotten.

----------------------------------------------------------------------

>Comment By: SiegeLord (siegelord)
Date: 2010-04-13 23:36

Message:
This was fixed at some point via the ALLEGRO_VSYNC hint + documentation in
al_wait_for_vsync.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2802696&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/