summaryrefslogtreecommitdiff
path: root/src/lib/ector
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-11-28 12:03:58 +0900
committerHermet Park <hermetpark@gmail.com>2018-11-28 12:07:22 +0900
commit700b302517290f9c1622d849ba5eee7aaa4357e7 (patch)
tree4c205075dc8a9b6423af6e0376ebd3e532bb81a2 /src/lib/ector
parent42c92b45ded79ce1fde345c640eefea93040b14b (diff)
ector: remove quality option.
This option is empty, useless. No plan to support it.
Diffstat (limited to 'src/lib/ector')
-rw-r--r--src/lib/ector/ector_private.h1
-rw-r--r--src/lib/ector/ector_renderer.c16
-rw-r--r--src/lib/ector/ector_renderer.eo19
3 files changed, 0 insertions, 36 deletions
diff --git a/src/lib/ector/ector_private.h b/src/lib/ector/ector_private.h
index f1dbd2d1a4..1f483664e8 100644
--- a/src/lib/ector/ector_private.h
+++ b/src/lib/ector/ector_private.h
@@ -65,7 +65,6 @@ struct _Ector_Renderer_Data
65 65
66 Ector_Renderer *mask; 66 Ector_Renderer *mask;
67 67
68 Ector_Quality q;
69 Eina_Bool visibility : 1; 68 Eina_Bool visibility : 1;
70 Eina_Bool finalized : 1; 69 Eina_Bool finalized : 1;
71}; 70};
diff --git a/src/lib/ector/ector_renderer.c b/src/lib/ector/ector_renderer.c
index dd62bf1ea8..90f26382ab 100644
--- a/src/lib/ector/ector_renderer.c
+++ b/src/lib/ector/ector_renderer.c
@@ -143,21 +143,6 @@ _ector_renderer_mask_get(const Eo *obj EINA_UNUSED,
143 return pd->mask; 143 return pd->mask;
144} 144}
145 145
146static void
147_ector_renderer_quality_set(Eo *obj EINA_UNUSED,
148 Ector_Renderer_Data *pd,
149 Ector_Quality q)
150{
151 pd->q = q;
152}
153
154static Ector_Quality
155_ector_renderer_quality_get(const Eo *obj EINA_UNUSED,
156 Ector_Renderer_Data *pd)
157{
158 return pd->q;
159}
160
161static Eina_Bool 146static Eina_Bool
162_ector_renderer_prepare(Eo *obj EINA_UNUSED, 147_ector_renderer_prepare(Eo *obj EINA_UNUSED,
163 Ector_Renderer_Data *pd) 148 Ector_Renderer_Data *pd)
@@ -175,7 +160,6 @@ _ector_renderer_crc_get(const Eo *obj EINA_UNUSED,
175 unsigned int crc; 160 unsigned int crc;
176 161
177 crc = eina_crc((void*) &pd->color, sizeof(pd->color), 0xffffffff, EINA_TRUE); 162 crc = eina_crc((void*) &pd->color, sizeof(pd->color), 0xffffffff, EINA_TRUE);
178 crc = eina_crc((void*) &pd->q, sizeof(pd->q), crc, EINA_FALSE);
179 crc = eina_crc((void*) &pd->origin, sizeof(pd->origin), crc, EINA_FALSE); 163 crc = eina_crc((void*) &pd->origin, sizeof(pd->origin), crc, EINA_FALSE);
180 164
181 if (pd->m) crc = eina_crc((void*) pd->m, sizeof(Eina_Matrix3), crc, EINA_FALSE); 165 if (pd->m) crc = eina_crc((void*) pd->m, sizeof(Eina_Matrix3), crc, EINA_FALSE);
diff --git a/src/lib/ector/ector_renderer.eo b/src/lib/ector/ector_renderer.eo
index d3d959c06a..f47d1403f8 100644
--- a/src/lib/ector/ector_renderer.eo
+++ b/src/lib/ector/ector_renderer.eo
@@ -1,14 +1,5 @@
1import eina_types; 1import eina_types;
2 2
3enum Ector.Quality
4{
5 [[Quality values]]
6 best, [[Best quality]]
7 good, [[Good quality]]
8 fast, [[Lower quality]]
9 last, [[Sentinel value to indicate last enum field during iteration]]
10}
11
12abstract Ector.Renderer (Efl.Object) 3abstract Ector.Renderer (Efl.Object)
13{ 4{
14 [[Ector renderer abstract interface]] 5 [[Ector renderer abstract interface]]
@@ -91,16 +82,6 @@ abstract Ector.Renderer (Efl.Object)
91 r: Ector.Renderer; [[Rendering mask]] 82 r: Ector.Renderer; [[Rendering mask]]
92 } 83 }
93 } 84 }
94 @property quality {
95 [[Quality of the renderer]]
96 set {
97 }
98 get {
99 }
100 values {
101 q: Ector.Quality; [[Quality of the renderer]]
102 }
103 }
104 @property crc { 85 @property crc {
105 [[Cyclic redundancy check]] 86 [[Cyclic redundancy check]]
106 get { 87 get {