AC_MSG_CHECKING([whether enlightenment function trace is enabled])
AC_MSG_RESULT([${function_trace}])
+hwc_multi_plane=no
+AC_ARG_ENABLE([hwc-multi],
+ AS_HELP_STRING([--enable-hwc-multi],[]),
+ [
+ hwc_multi_plane=yes
+ AC_DEFINE_UNQUOTED([ENABLE_HWC_MULTI], [1], [enable hwc multi])
+ ],
+ [hwc_multi_plane=no])
+AC_MSG_CHECKING([whether enlightenment hwc using multi plane is enabled])
+AC_MSG_RESULT([${hwc_multi_plane}])
+
e_requires="\
evas >= $efl_version \
ecore >= $efl_version \
#define CRI(f, x ...)
#endif
-#ifdef MULTI_PLANE_HWC
+#ifdef ENABLE_HWC_MULTI
static void
_e_comp_hooks_clean(void)
{
if ((_e_comp_hooks_walking == 0) && (_e_comp_hooks_delete > 0))
_e_comp_hooks_clean();
}
-#endif
+#endif // end of ENABLE_HWC_MULTI
static E_Client *
_e_comp_fullscreen_check(void)
ecore_event_add(E_EVENT_COMPOSITOR_ENABLE, NULL, NULL, NULL);
}
-#ifndef MULTI_PLANE_HWC
+#ifndef ENABLE_HWC_MULTI
static Eina_Bool
_e_comp_cb_nocomp_begin_timeout(void *data EINA_UNUSED)
{
}
return EINA_FALSE;
}
-#endif
+#endif // end of ENABLE_HWC_MULTI
E_API void
e_comp_nocomp_end(const char *location)
{
INF("HWC : NOCOMP_END at %s\n", location);
_e_comp_cb_nocomp_end();
}
-#ifdef MULTI_PLANE_HWC
+#ifdef ENABLE_HWC_MULTI
static Eina_Bool
_hwc_set(E_Output * eout)
{
e_comp_render_queue();
}
-#endif
+#endif // end of ENABLE_HWC_MULTI
static void
_e_comp_client_update(E_Client *ec)
{
goto end;
}
-#ifdef MULTI_PLANE_HWC
+#ifdef ENABLE_HWC_MULTI
if(_e_comp_hwc_usable())
{
if (_e_comp_hwc_is_on())
if (e_comp->nocomp && e_comp->nocomp_ec)
e_comp_nocomp_end("_e_comp_cb_update : ec is not fullscreen");
}
-#endif
+#endif // end of ENABLE_HWC_MULTI
end: