On Tuesday, October 28, 2014 11:12:40 AM Keith Packard wrote:
> Kenneth Graunke <kenn...@whitecape.org> writes:
> 
> > The code is cut-and-pasted from dri2_glx.c; we can't quite share it
> > because we have to use different structures.
> 
> It might be fun to use the UST value provided in the
> PRESENT_COMPLETE_NOTIFY event instead of a local gettimeofday call? That
> way you'd get the presentation time, rather than the time of the swap?
> 
> Otherwise, this all seems fine to me
> 
> Reviewed-by: Keith Packard <kei...@keithp.com>

I had been wondering if we could use that somehow.

Is UST expressed in a particular unit?  I thought it was just "monotonically 
increasing" but otherwise meaningless.  At which point, our FPS would be 
"frames per...something?" :)

--Ken

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to