Add some evas_common init functions if we have not previously

initialized this engine before.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83237
This commit is contained in:
Christopher Michael 2013-01-24 09:16:06 +00:00 committed by Christopher Michael
parent 7cd113ea47
commit 5296f0c2cd
1 changed files with 13 additions and 1 deletions

View File

@ -100,7 +100,19 @@ eng_setup(Evas *eo_evas, void *einfo)
/* test for valid engine output */
if (!(re = epd->engine.data.output))
{
/* NB: If we have no valid output then assume we have not been
* initialized yet and call any needed common init routines */
evas_common_cpu_init();
evas_common_blend_init();
evas_common_image_init();
evas_common_convert_init();
evas_common_scale_init();
evas_common_rectangle_init();
evas_common_polygon_init();
evas_common_line_init();
evas_common_font_init();
evas_common_draw_init();
evas_common_tilebuf_init();
}
return 0;