OSDN Git Service

glxgears: Log a message if synched to vblank
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 30 Jan 2009 22:43:03 +0000 (14:43 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 30 Jan 2009 22:45:01 +0000 (14:45 -0800)
commit58b9cd411fd81e257364efb3f2738bd1ac556e34
tree341742bf36fa5372d9f67caa1d918af4adc5443c
parent7c48719a5f22648302bbd0026681770d8cc43914
glxgears: Log a message if synched to vblank

Tries to use either GLX_MESA_swap_control or GLX_SGI_video_sync to
detect whether the display is synchronized to the vertical blank.  If
it detects this, a message will be printed.  HOPEFULLY this will
prevent some of the bug reports such as "glxgears only gets 59.7fps.
What's wrong with my driver?"
progs/xdemos/glxgears.c