Re: [Mesa-dev] [PATCH] glx: make the interval of LIBGL_SHOW_FPS adjustable

2013-08-28 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Wed, Aug 28, 2013 at 6:14 AM, Chia-I Wu wrote: > 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. > --- > src/glx/dri2_glx.c | 12 > 1 file

[Mesa-dev] [PATCH] glx: make the interval of LIBGL_SHOW_FPS adjustable

2013-08-27 Thread Chia-I Wu
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. --- src/glx/dri2_glx.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c i