summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_renderer_software_shape.eo
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-12-28 12:20:15 +0900
committerHermet Park <hermetpark@gmail.com>2018-12-28 12:20:15 +0900
commitd2ec3ce17039dcb16966532a41ccf7bf6cb906e0 (patch)
tree560f8ec62a09181070e944ef3955608ec39ab14d /src/lib/ector/software/ector_renderer_software_shape.eo
parentb03c818b1c29ed57953175d4585d930ce05f94f5 (diff)
efl gfx_path: remove EFL_GFX_PATH_EVENT_CHANGED
Summary: Here is an additional optmization patch for removing unnecessary updation of path, For instance, let's assume this scenario: If one vg object has 20 path nodes(shapes), and every single nodes would have 50 path changes. (like, append_cubic, append_rect, append_xxx ...); There would 1000 events triggering. Furthermore, if there are 20 vector objects in one view, hese events would be triggered 20000 in one frame. It's insane, actually I could figured out that happens. and it took a lot of cpu consumption in some vector usages. efl_gfx_path_commit() is my idea to avoid this. When path is ready, the path need to get this api call in the last to make object changed properly. @feature Reviewers: #committers, cedric Reviewed By: #committers, cedric Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7494
Diffstat (limited to 'src/lib/ector/software/ector_renderer_software_shape.eo')
-rw-r--r--src/lib/ector/software/ector_renderer_software_shape.eo2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ector/software/ector_renderer_software_shape.eo b/src/lib/ector/software/ector_renderer_software_shape.eo
index abe8344f3f..04f19ba7e3 100644
--- a/src/lib/ector/software/ector_renderer_software_shape.eo
+++ b/src/lib/ector/software/ector_renderer_software_shape.eo
@@ -8,7 +8,7 @@ class Ector.Renderer.Software.Shape (Ector.Renderer.Software, Ector.Renderer.Sha
8 Ector.Renderer.Software.op_fill; 8 Ector.Renderer.Software.op_fill;
9 Ector.Renderer.mask { set; } 9 Ector.Renderer.mask { set; }
10 Ector.Renderer.crc { get; } 10 Ector.Renderer.crc { get; }
11 Efl.Gfx.Path.path { set; } 11 Efl.Gfx.Path.commit;
12 Efl.Object.constructor; 12 Efl.Object.constructor;
13 Efl.Object.destructor; 13 Efl.Object.destructor;
14 } 14 }