evas: we always do use the common backend, so always init.
This commit is contained in:
parent
245a04cc44
commit
4406d7098c
|
@ -88,6 +88,8 @@ evas_init(void)
|
|||
if (!evas_thread_init())
|
||||
goto shutdown_filter;
|
||||
|
||||
evas_common_init();
|
||||
|
||||
eina_log_timing(_evas_log_dom_global,
|
||||
EINA_LOG_STATE_STOP,
|
||||
EINA_LOG_STATE_INIT);
|
||||
|
@ -138,6 +140,8 @@ evas_shutdown(void)
|
|||
EINA_LOG_STATE_START,
|
||||
EINA_LOG_STATE_SHUTDOWN);
|
||||
|
||||
evas_common_shutdown();
|
||||
|
||||
#ifdef EVAS_CSERVE2
|
||||
if (evas_cserve2_use_get())
|
||||
evas_cserve2_shutdown();
|
||||
|
@ -405,12 +409,6 @@ next_zombie:
|
|||
EINA_LIST_FREE(e->outputs, evo) efl_canvas_output_del(evo);
|
||||
e->engine.func->engine_free(e->backend);
|
||||
|
||||
if (e->common_init)
|
||||
{
|
||||
e->common_init = 0;
|
||||
evas_common_shutdown();
|
||||
}
|
||||
|
||||
for (i = 0; i < e->modifiers.mod.count; i++)
|
||||
free(e->modifiers.mod.list[i]);
|
||||
if (e->modifiers.mod.list) free(e->modifiers.mod.list);
|
||||
|
|
|
@ -152,12 +152,6 @@ efl_canvas_output_engine_info_set(Efl_Canvas_Output *output,
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!e->common_init)
|
||||
{
|
||||
e->common_init = 1;
|
||||
evas_common_init();
|
||||
}
|
||||
|
||||
setup:
|
||||
output->output = e->engine.func->output_setup(_evas_engine_context(e), info,
|
||||
output->geometry.w, output->geometry.h);
|
||||
|
|
|
@ -976,7 +976,6 @@ struct _Evas_Public_Data
|
|||
Eina_Bool is_frozen : 1;
|
||||
Eina_Bool rendering : 1;
|
||||
Eina_Bool render2 : 1;
|
||||
Eina_Bool common_init : 1;
|
||||
Eina_Bool inside_post_render : 1;
|
||||
Eina_Bool devices_modified : 1;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue