evas-wayland-shm: Default to triple buffering
authorChris Michael <cp.michael@samsung.com>
Wed, 26 Oct 2016 15:33:07 +0000 (11:33 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 26 Oct 2016 15:33:07 +0000 (11:33 -0400)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/wayland_shm/evas_outbuf.c

index 35f4bc9..6327b90 100644 (file)
@@ -56,8 +56,8 @@ _evas_outbuf_setup(int w, int h, Evas_Engine_Info_Wayland_Shm *info)
    ob->depth = info->info.depth;
    ob->priv.destination_alpha = info->info.destination_alpha;
 
-   /* default to double buffer */
-   ob->num_buff = 2;
+   /* default to triple buffer */
+   ob->num_buff = 3;
 
    /* check for any 'number of buffers' override in the environment */
    if ((num = getenv("EVAS_WAYLAND_SHM_BUFFERS")))