[PATCH 3/3] gears: add a warning about refresh rate limitation

Kristian Høgsberg hoegsberg at gmail.com
Thu Jul 26 19:03:55 PDT 2012


On Thu, Jul 26, 2012 at 06:55:53PM +0200, Olivier Blin wrote:

Applied this and the fps patch.

Kristian

> ---
>  clients/gears.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/clients/gears.c b/clients/gears.c
> index 19165e7..aee0357 100644
> --- a/clients/gears.c
> +++ b/clients/gears.c
> @@ -435,6 +435,7 @@ gears_create(struct display *display)
>  
>  	gettimeofday(&tv, NULL);
>  	gears->last_fps = tv.tv_sec * 1000 + tv.tv_usec / 1000;
> +	printf("Warning: FPS count is limited by the wayland compositor or monitor refresh rate\n");
>  
>  	glEnable(GL_NORMALIZE);
>  
> -- 
> 1.7.11.3
> 
> This message and any attachments herein are confidential, intended solely for the addressees and are SoftAtHome's ownership. Any unauthorized use or dissemination is prohibited. If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list