raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=140b8af0435fb7455d62ea2185602d52510c91a2

commit 140b8af0435fb7455d62ea2185602d52510c91a2
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Feb 1 13:09:36 2021 +0000

    e - set vsync frame delay to 0.5 to be offset against other clients
---
 src/bin/e_comp_x.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index bada0f92a..7fe794c72 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -5910,6 +5910,9 @@ e_comp_x_init(void)
         return EINA_FALSE;
      }
 
+   // delay the x vsync animator hook by 0.5 frames
+   ecore_x_vsync_animator_tick_delay_set(0.5);
+
    if (e_comp->comp_type == E_PIXMAP_TYPE_X)
      ecore_x_io_error_handler_set(_e_main_cb_x_fatal, NULL);
 

-- 


Reply via email to