summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_generic/evas_engine.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-09-11 13:12:08 +0900
committerHermet Park <hermetpark@gmail.com>2019-09-11 13:14:56 +0900
commitdc0056ca936fc014aaf7949ef9fa3cf41c2d6964 (patch)
tree0c94ad95e2a263b3e58653882aa9b1d051dae6a0 /src/modules/evas/engines/software_generic/evas_engine.c
parent3d50083f41c2e5dc087ff98ea3af104c70002546 (diff)
ector: removed cairo backend.
For reducing maintainability burden, We drop supporting cairo backend. The default backend is to software implementation from now. It's well maintained so far and works good.x
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/software_generic/evas_engine.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c
index 59391c4f6e..c85de3e4d3 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -5,7 +5,6 @@
5#include "region.h" 5#include "region.h"
6 6
7#include <software/Ector_Software.h> 7#include <software/Ector_Software.h>
8#include "cairo/Ector_Cairo.h"
9#include "evas_ector_software.h" 8#include "evas_ector_software.h"
10#include "draw.h" 9#include "draw.h"
11#include "evas_filter_private.h" 10#include "evas_filter_private.h"
@@ -4193,26 +4192,13 @@ eng_output_idle_flush(void *engine EINA_UNUSED, void *data)
4193 4192
4194// Ector functions 4193// Ector functions
4195 4194
4196static Eina_Bool use_cairo;
4197
4198static Ector_Surface * 4195static Ector_Surface *
4199eng_ector_create(void *engine EINA_UNUSED) 4196eng_ector_create(void *engine EINA_UNUSED)
4200{ 4197{
4201 Ector_Surface *ector; 4198 Ector_Surface *ector;
4202 const char *ector_backend;
4203 4199
4204 ector_backend = getenv("ECTOR_BACKEND");
4205 efl_domain_current_push(EFL_ID_DOMAIN_SHARED); 4200 efl_domain_current_push(EFL_ID_DOMAIN_SHARED);
4206 if (ector_backend && !strcasecmp(ector_backend, "default")) 4201 ector = efl_add_ref(ECTOR_SOFTWARE_SURFACE_CLASS, NULL);
4207 {
4208 ector = efl_add_ref(ECTOR_SOFTWARE_SURFACE_CLASS, NULL);
4209 use_cairo = EINA_FALSE;
4210 }
4211 else
4212 {
4213 ector = efl_add_ref(ECTOR_CAIRO_SOFTWARE_SURFACE_CLASS, NULL);
4214 use_cairo = EINA_TRUE;
4215 }
4216 efl_domain_current_pop(); 4202 efl_domain_current_pop();
4217 return ector; 4203 return ector;
4218} 4204}