summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index c60293cb40..2a79e6b7f1 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -46,6 +46,8 @@
46# endif 46# endif
47#endif /* ! _WIN32 */ 47#endif /* ! _WIN32 */
48 48
49#define VSYNC_ANIMATOR 1
50
49typedef struct _Ecore_Evas_Engine_Drm_Data 51typedef struct _Ecore_Evas_Engine_Drm_Data
50{ 52{
51 int cw, ch; 53 int cw, ch;
@@ -911,8 +913,13 @@ static Ecore_Evas_Engine_Func _ecore_evas_drm_engine_func =
911 913
912 NULL, // aux_hints_set 914 NULL, // aux_hints_set
913 915
916#ifndef VSYNC_ANIMATOR
917 NULL,
918 NULL,
919#else
914 _drm_animator_register, // animator_register 920 _drm_animator_register, // animator_register
915 _drm_animator_unregister, // animator_unregister 921 _drm_animator_unregister, // animator_unregister
922#endif
916 923
917 _drm_evas_changed, // evas_changed 924 _drm_evas_changed, // evas_changed
918 NULL, //fn_focus_device_set 925 NULL, //fn_focus_device_set