glx: make the interval of LIBGL_SHOW_FPS adjustable
authorChia-I Wu <olvaffe@gmail.com>
Wed, 28 Aug 2013 03:40:05 +0000 (11:40 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 2 Sep 2013 03:42:58 +0000 (11:42 +0800)
commitda33347131ff88a3b7979aea2031ce6f34319ed0
treea71c8bc85f469537fb22b9900885b4b81f7b0a92
parentb8211ab3edb1bb9f414e8b4913609f48326e202e
glx: make the interval of LIBGL_SHOW_FPS adjustable

LIBGL_SHOW_FPS=1 makes GLX print FPS every second while other values do
nothing.  Extend it so that LIBGL_SHOW_FPS=N will print the FPS every N
seconds.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/glx/dri2_glx.c