[visionegg] Re: OpenGL latency
- From: John Christie <jc@xxxxxxxxxxxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Mon, 29 Jan 2007 17:47:09 -0400
On Jan 29, 2007, at 2:47 PM, Sol Simpson wrote:
If your program calls buffer_swap() less than once per retrace,
then the
buffer_swap() is not blocked and returns right away and not
necessarily at
the start of a retrace. In this case you do not see a constant 1
retrace
interval delay, but will instead see a variable delay between 0 and
retrace
rate msec depending on when buffer_swap() was called.
I find this confusing. To me that sounds like correct behaviour for
a syncrhonous call. Sometimes it will return right away and sometimes
it will be delayed up to one retrace in time. It depends on when, in
the retrace you called. If you ask for one while one is pending then
you have to wait the first interval plus another.
(note, I'm not suggesting its correct that it then takes another
refresh for the swap to actually occur).
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- Follow-Ups:
- [visionegg] Re: OpenGL latency
- From: Sol Simpson
- References:
- [visionegg] Re: OpenGL latency
- From: Sol Simpson
Other related posts:
rate msec depending on when buffer_swap() was called.
- [visionegg] Re: OpenGL latency
- From: Sol Simpson
- [visionegg] Re: OpenGL latency
- From: Sol Simpson