From f620fe2f1328001d73435910978309f4a0a3b145 Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Fri, 7 Oct 2016 16:58:11 +0900 Subject: [PATCH] Revert "evas/engine: changed the default ector engine to native engine. To change the engine to cairo use ECTOR_BACKEND=cairo" This reverts commit 30669b268bd460ec338485f2f87e5e741c4abac7. Change-Id: I7724b4164114a90807bea2ec57e7dd36266d607c --- src/modules/evas/engines/gl_generic/evas_engine.c | 11 +++++------ src/modules/evas/engines/software_generic/evas_engine.c | 10 +++++----- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c index e77623b..4fed14d 100644 --- a/src/modules/evas/engines/gl_generic/evas_engine.c +++ b/src/modules/evas/engines/gl_generic/evas_engine.c @@ -2410,17 +2410,16 @@ eng_ector_create(void *data EINA_UNUSED) { Ector_Surface *ector; const char *ector_backend; - ector_backend = getenv("ECTOR_BACKEND"); - if (ector_backend && !strcasecmp(ector_backend, "cairo")) + if (ector_backend && !strcasecmp(ector_backend, "default")) { - ector = eo_add(ECTOR_CAIRO_SOFTWARE_SURFACE_CLASS, NULL); - use_cairo = EINA_TRUE; + ector = eo_add(ECTOR_SOFTWARE_SURFACE_CLASS, NULL); + use_cairo = EINA_FALSE; } else { - ector = eo_add(ECTOR_SOFTWARE_SURFACE_CLASS, NULL); - use_cairo = EINA_FALSE; + ector = eo_add(ECTOR_CAIRO_SOFTWARE_SURFACE_CLASS, NULL); + use_cairo = EINA_TRUE; } return ector; } diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c index a716cac..f95e9f2 100644 --- a/src/modules/evas/engines/software_generic/evas_engine.c +++ b/src/modules/evas/engines/software_generic/evas_engine.c @@ -3707,15 +3707,15 @@ eng_ector_create(void *data EINA_UNUSED) Ector_Surface *ector; const char *ector_backend; ector_backend = getenv("ECTOR_BACKEND"); - if (ector_backend && !strcasecmp(ector_backend, "cairo")) + if (ector_backend && !strcasecmp(ector_backend, "default")) { - ector = eo_add(ECTOR_CAIRO_SOFTWARE_SURFACE_CLASS, NULL); - use_cairo = EINA_TRUE; + ector = eo_add(ECTOR_SOFTWARE_SURFACE_CLASS, NULL); + use_cairo = EINA_FALSE; } else { - ector = eo_add(ECTOR_SOFTWARE_SURFACE_CLASS, NULL); - use_cairo = EINA_FALSE; + ector = eo_add(ECTOR_CAIRO_SOFTWARE_SURFACE_CLASS, NULL); + use_cairo = EINA_TRUE; } return ector; } -- 2.7.4