platform/upstream/efl.git
9 years agoector: reorder compilation to first do Ector then Evas.
Cedric BAIL [Fri, 3 Apr 2015 14:22:24 +0000 (16:22 +0200)]
ector: reorder compilation to first do Ector then Evas.

9 years agoevas: add file manipulation API to Evas_Object_VG.
Cedric BAIL [Fri, 3 Apr 2015 14:22:22 +0000 (16:22 +0200)]
evas: add file manipulation API to Evas_Object_VG.

9 years agoecore_evas: add a SVG vector dislay/converter tool.
Cedric BAIL [Fri, 3 Apr 2015 14:22:20 +0000 (16:22 +0200)]
ecore_evas: add a SVG vector dislay/converter tool.

9 years agoevas: first implementation of an ector drawer inside Evas software engine.
Cedric BAIL [Fri, 3 Apr 2015 14:22:18 +0000 (16:22 +0200)]
evas: first implementation of an ector drawer inside Evas software engine.

Note: this won't work with the OpenGL backend.

9 years agoector: handle color multiplier in the function declaration.
Cedric BAIL [Fri, 3 Apr 2015 14:22:16 +0000 (16:22 +0200)]
ector: handle color multiplier in the function declaration.

9 years agoector: reorder macro for easier reuse.
Cedric BAIL [Fri, 3 Apr 2015 14:22:15 +0000 (16:22 +0200)]
ector: reorder macro for easier reuse.

9 years agoector: prepare doesn't need surface, as it should always be the parent.
Cedric BAIL [Fri, 3 Apr 2015 14:22:14 +0000 (16:22 +0200)]
ector: prepare doesn't need surface, as it should always be the parent.

9 years agoefl: fix some whitespace.
Cedric BAIL [Fri, 3 Apr 2015 14:22:12 +0000 (16:22 +0200)]
efl: fix some whitespace.

9 years agoector: first implementation of an Cairo shape renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:22:11 +0000 (16:22 +0200)]
ector: first implementation of an Cairo shape renderer.

Note: still a lot on the todo, but it should display something that follow
the correct path at least. Thanks librsvg for helping a lot.

9 years agoector: remove surface from draw command as it should be drawn on the parent, always !
Cedric BAIL [Fri, 3 Apr 2015 14:22:10 +0000 (16:22 +0200)]
ector: remove surface from draw command as it should be drawn on the parent, always !

9 years agoector: start implementing radial gradient in cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:22:08 +0000 (16:22 +0200)]
ector: start implementing radial gradient in cairo backend.

9 years agoector: fix cairo linear gradient implementation.
Cedric BAIL [Fri, 3 Apr 2015 14:22:07 +0000 (16:22 +0200)]
ector: fix cairo linear gradient implementation.

9 years agoeo_cxx: fix after change in internal function naming of Eo.
Cedric BAIL [Fri, 3 Apr 2015 14:22:06 +0000 (16:22 +0200)]
eo_cxx: fix after change in internal function naming of Eo.

9 years agoector: now import header of all cairo renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:22:04 +0000 (16:22 +0200)]
ector: now import header of all cairo renderer.

9 years agoector: cairo need a specialized fill function.
Cedric BAIL [Fri, 3 Apr 2015 14:22:03 +0000 (16:22 +0200)]
ector: cairo need a specialized fill function.

9 years agoector: first try at implementing linear gradient renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:22:02 +0000 (16:22 +0200)]
ector: first try at implementing linear gradient renderer.

9 years agoector: first implementation of a Cairo surface.
Cedric BAIL [Fri, 3 Apr 2015 14:22:01 +0000 (16:22 +0200)]
ector: first implementation of a Cairo surface.

9 years agoector: add a base interface for all cairo renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:22:00 +0000 (16:22 +0200)]
ector: add a base interface for all cairo renderer.

9 years agoector: fix building of the generic backend.
Cedric BAIL [Fri, 3 Apr 2015 14:21:59 +0000 (16:21 +0200)]
ector: fix building of the generic backend.

9 years agoector: fix building of cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:21:58 +0000 (16:21 +0200)]
ector: fix building of cairo backend.

9 years agoector: move dependency around. Evas now depend on Ector.
Cedric BAIL [Fri, 3 Apr 2015 14:21:57 +0000 (16:21 +0200)]
ector: move dependency around. Evas now depend on Ector.

9 years agoector: and here come the beginning of a Cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:21:56 +0000 (16:21 +0200)]
ector: and here come the beginning of a Cairo backend.

The idea is that Evas engine will actually inherit from it to instanciate their
own Cairo backend (Software and GL) from there.

9 years agoector: add beginning of a cairo implementation.
Cedric BAIL [Fri, 3 Apr 2015 14:21:54 +0000 (16:21 +0200)]
ector: add beginning of a cairo implementation.

9 years agoector: all those function needs to be static.
Cedric BAIL [Fri, 3 Apr 2015 14:21:53 +0000 (16:21 +0200)]
ector: all those function needs to be static.

9 years agoector: share base type structure to the rest of ecore_private.h.
Cedric BAIL [Fri, 3 Apr 2015 14:21:52 +0000 (16:21 +0200)]
ector: share base type structure to the rest of ecore_private.h.

9 years agoector: duplicate PATH could be useful.
Cedric BAIL [Fri, 3 Apr 2015 14:21:50 +0000 (16:21 +0200)]
ector: duplicate PATH could be useful.

9 years agoector: add stop implementation.
Cedric BAIL [Fri, 3 Apr 2015 14:21:49 +0000 (16:21 +0200)]
ector: add stop implementation.

9 years agoefl: move PATH manipulation from Evas into Efl interfaces.
Cedric BAIL [Fri, 3 Apr 2015 14:21:48 +0000 (16:21 +0200)]
efl: move PATH manipulation from Evas into Efl interfaces.

9 years agoector: start the implementation of a Cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:19:11 +0000 (16:19 +0200)]
ector: start the implementation of a Cairo backend.

9 years agoector: start the implementation of the Generic surface.
Cedric BAIL [Fri, 3 Apr 2015 14:18:30 +0000 (16:18 +0200)]
ector: start the implementation of the Generic surface.

9 years agoector: make the drawing function virtual as it rely on the backend implementation.
Cedric BAIL [Fri, 3 Apr 2015 14:15:43 +0000 (16:15 +0200)]
ector: make the drawing function virtual as it rely on the backend implementation.

9 years agoector: move all interface to be in the Generic namespace.
Cedric BAIL [Fri, 3 Apr 2015 14:15:41 +0000 (16:15 +0200)]
ector: move all interface to be in the Generic namespace.

This will enable the possibility to have many implementation for the
backend. Will come first Cairo, followed by Software and GL one day.

9 years agoevas: make the interface part of the Generic name space.
Cedric BAIL [Fri, 3 Apr 2015 14:15:40 +0000 (16:15 +0200)]
evas: make the interface part of the Generic name space.

This should enable having multiple backend that will use another namespace instead
of Generic.

9 years agoector: add linear and radial gradial renderer to Ector.
Cedric BAIL [Fri, 3 Apr 2015 14:15:39 +0000 (16:15 +0200)]
ector: add linear and radial gradial renderer to Ector.

9 years agoefl: introduce an Efl Gradient Radial interface.
Cedric BAIL [Fri, 3 Apr 2015 14:15:37 +0000 (16:15 +0200)]
efl: introduce an Efl Gradient Radial interface.

9 years agoefl: add a linear gradient interface.
Cedric BAIL [Fri, 3 Apr 2015 14:15:36 +0000 (16:15 +0200)]
efl: add a linear gradient interface.

9 years agoector: add top gradient renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:15:04 +0000 (16:15 +0200)]
ector: add top gradient renderer.

9 years agoefl: add a gradient interface.
Cedric BAIL [Fri, 3 Apr 2015 14:15:03 +0000 (16:15 +0200)]
efl: add a gradient interface.

9 years agoefl: rename geometry to graphics to be more general.
Cedric BAIL [Fri, 3 Apr 2015 14:15:02 +0000 (16:15 +0200)]
efl: rename geometry to graphics to be more general.

9 years agoector: add initial interface for a shape object.
Cedric BAIL [Fri, 3 Apr 2015 14:15:00 +0000 (16:15 +0200)]
ector: add initial interface for a shape object.

9 years agoautotools: add ector in the list of Eolian file provider.
Cedric BAIL [Fri, 3 Apr 2015 14:14:59 +0000 (16:14 +0200)]
autotools: add ector in the list of Eolian file provider.

9 years agoector: add initial interface for Surface and Renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:14:58 +0000 (16:14 +0200)]
ector: add initial interface for Surface and Renderer.

9 years agoector: initial introduction.
Cedric BAIL [Fri, 3 Apr 2015 14:14:56 +0000 (16:14 +0200)]
ector: initial introduction.

Idea for this library is to become a retained mode drawing library that use
Eo/Eolian for its API and take a lot of the good design from Enesim by
Jorge Zapata and Jose Gonzalez (http://enesim.org/).

9 years agoefl: use Efl_Geometry_Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:14:55 +0000 (16:14 +0200)]
efl: use Efl_Geometry_Shape.

9 years agoefl: add an interface for Efl_Geometry_Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:14:54 +0000 (16:14 +0200)]
efl: add an interface for Efl_Geometry_Shape.

9 years agoevas: fix Evas_VG eo files.
Cedric BAIL [Fri, 3 Apr 2015 14:14:52 +0000 (16:14 +0200)]
evas: fix Evas_VG eo files.

9 years agoevas: implement all Evas_VG_Shape property.
Cedric BAIL [Fri, 3 Apr 2015 14:14:51 +0000 (16:14 +0200)]
evas: implement all Evas_VG_Shape property.

9 years agoevas: actually compile Evas_VG_Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:14:50 +0000 (16:14 +0200)]
evas: actually compile Evas_VG_Shape.

9 years agoevas: move Evas_VG_Node structure declaration into a shared header to use it directly...
Cedric BAIL [Fri, 3 Apr 2015 14:14:48 +0000 (16:14 +0200)]
evas: move Evas_VG_Node structure declaration into a shared header to use it directly from Evas_VG.

9 years agoevas: fix prototype and correctly call the function.
Cedric BAIL [Fri, 3 Apr 2015 14:14:47 +0000 (16:14 +0200)]
evas: fix prototype and correctly call the function.

9 years agoevas: declare internal evas_vg helper.
Cedric BAIL [Fri, 3 Apr 2015 14:14:46 +0000 (16:14 +0200)]
evas: declare internal evas_vg helper.

9 years agoeo: internal variable should not have that much chance to conflict prefix them with...
Cedric BAIL [Fri, 3 Apr 2015 14:14:19 +0000 (16:14 +0200)]
eo: internal variable should not have that much chance to conflict prefix them with ___.

9 years agoevas: handle path set on shape object.
Cedric BAIL [Fri, 3 Apr 2015 14:13:13 +0000 (16:13 +0200)]
evas: handle path set on shape object.

9 years agoevas: implement stupid bound get at container level.
Cedric BAIL [Fri, 3 Apr 2015 14:13:12 +0000 (16:13 +0200)]
evas: implement stupid bound get at container level.

9 years agoevas: add Efl.File interface to Evas_Object_VG.
Cedric BAIL [Fri, 3 Apr 2015 14:13:11 +0000 (16:13 +0200)]
evas: add Efl.File interface to Evas_Object_VG.

9 years agoevas: add Evas_VG_Image.
Cedric BAIL [Fri, 3 Apr 2015 14:13:07 +0000 (16:13 +0200)]
evas: add Evas_VG_Image.

9 years agoevas: implement Evas_VG_Node stacking functions.
Cedric BAIL [Fri, 3 Apr 2015 14:13:06 +0000 (16:13 +0200)]
evas: implement Evas_VG_Node stacking functions.

9 years agoevas: Evas_VG_Root_Node should only be attached to an Evas_Object_VG.
Cedric BAIL [Fri, 3 Apr 2015 14:13:05 +0000 (16:13 +0200)]
evas: Evas_VG_Root_Node should only be attached to an Evas_Object_VG.

9 years agoevas: remove unecessary duplicated code.
Cedric BAIL [Fri, 3 Apr 2015 14:13:03 +0000 (16:13 +0200)]
evas: remove unecessary duplicated code.

9 years agoevas: add evas_vg note.
Cedric BAIL [Fri, 3 Apr 2015 14:13:02 +0000 (16:13 +0200)]
evas: add evas_vg note.

9 years agoevas: add utility function to build path.
Cedric BAIL [Fri, 3 Apr 2015 14:13:00 +0000 (16:13 +0200)]
evas: add utility function to build path.

9 years agoevas: add initial Evas_Object_VG.
Cedric BAIL [Fri, 3 Apr 2015 14:12:59 +0000 (16:12 +0200)]
evas: add initial Evas_Object_VG.

Evas_Object_VG is meant to become an object that can hold a SVG
scenegraph inside of it.

9 years agoeina: add eina_matrix.
Cedric BAIL [Fri, 3 Apr 2015 14:12:48 +0000 (16:12 +0200)]
eina: add eina_matrix.

This code come from Enesim and was done by Jorge. I did just take care
of changing the namespace and coding style.

9 years agoevas/common Fixed incorrect blend pixel color logic in neon.
ChunEon Park [Fri, 3 Apr 2015 10:38:33 +0000 (19:38 +0900)]
evas/common Fixed incorrect blend pixel color logic in neon.

previously, it had the remaining value issues on blending computation.
The blending color result was in correct.

Signed-Off-By: Vladimir Kuramshin <v.kuramshin@samsung.com>
9 years agoEvas GL common: Fix shaders for GLX
Jean-Philippe ANDRE [Fri, 3 Apr 2015 08:55:12 +0000 (17:55 +0900)]
Evas GL common: Fix shaders for GLX

Oops! There had to be a breakage somewhere. That's it :)
Thanks Oleksander Shcherbina for the report.

Fixes T2266.

9 years agoEvas GL common: Fix GL masking with 12,21,22 sampling
Jean-Philippe Andre [Fri, 3 Apr 2015 06:37:09 +0000 (15:37 +0900)]
Evas GL common: Fix GL masking with 12,21,22 sampling

This is a new feature introduced by the shaders refactoring:
even masking shaders now support smooth sampling of the masked image
using the special 12,21,22 shaders.

Also, refactor the list of texture bindings so that it's
automatically generated by the script, as opposed to being a
manual list...

9 years agoEvas GL common: Fix shader sampling and check nomul
Jean-Philippe Andre [Fri, 3 Apr 2015 02:01:59 +0000 (11:01 +0900)]
Evas GL common: Fix shader sampling and check nomul

Now that the shader select function checks the values of "sam"
and "nomul", we can avoid sending the color to the shader when
it's a "nomul" shader. This will most likely give a performance
boost of roughly 0.00000001%.

9 years agoEvas GL common: Factorize GL shader selection code
Jean-Philippe Andre [Thu, 2 Apr 2015 06:50:33 +0000 (15:50 +0900)]
Evas GL common: Factorize GL shader selection code

Improve the shader selection function to handle all possible
cases. Only images really need special handling as they
support so many parameters.

9 years agoEvas GL common: Factorize shader generation code
Jean-Philippe Andre [Wed, 1 Apr 2015 06:15:51 +0000 (15:15 +0900)]
Evas GL common: Factorize shader generation code

Remove all individual shaders, factorize everything into
one vertex and one fragment shader. All previous functionality
has been kept as is[*]. Some new features have been added
(new shader types).

This is a first step in simplifying and improving the shaders system.
Next: simplify shader selection

[*] Yeah, that's quite a bold statement here. Maybe I broke everything.

9 years agoEvas masking: Remove map_mask shaders
Jean-Philippe Andre [Wed, 1 Apr 2015 07:40:09 +0000 (16:40 +0900)]
Evas masking: Remove map_mask shaders

Those are now duplicates of IMG_MASK

9 years agoedje: move Edje_Color_Class->desc to end of struct
Mike Blumenkrantz [Thu, 2 Apr 2015 19:20:21 +0000 (15:20 -0400)]
edje: move Edje_Color_Class->desc to end of struct

this allows memory layout compatibility with Elm_Color_Class

9 years agoedje: return immediately when setting color class if class is not in use
Mike Blumenkrantz [Thu, 2 Apr 2015 17:05:09 +0000 (13:05 -0400)]
edje: return immediately when setting color class if class is not in use

9 years agoelua: lualian generator code cleanup
Daniel Kolesa [Thu, 2 Apr 2015 15:18:37 +0000 (16:18 +0100)]
elua: lualian generator code cleanup

9 years agoelua: cleanup lualian class generation
Daniel Kolesa [Thu, 2 Apr 2015 14:08:47 +0000 (15:08 +0100)]
elua: cleanup lualian class generation

9 years agoedje_cc: Add options -V/--version to show edje_cc version.
Stefan Schmidt [Thu, 2 Apr 2015 13:48:58 +0000 (15:48 +0200)]
edje_cc: Add options -V/--version to show edje_cc version.

Requested to ease debugging on deployments.

Fixes T2213

9 years agoeet: Add options -V/--version to show eet version.
Stefan Schmidt [Thu, 2 Apr 2015 13:40:05 +0000 (15:40 +0200)]
eet: Add options -V/--version to show eet version.

Requested to ease debugging on deployments.

ref T2213

9 years agoeet: List -h option in help message
Stefan Schmidt [Thu, 2 Apr 2015 13:32:06 +0000 (15:32 +0200)]
eet: List -h option in help message

9 years agoEeze.h: Delete white space.
woochan lee [Thu, 2 Apr 2015 12:47:42 +0000 (14:47 +0200)]
Eeze.h: Delete white space.

Summary: Delete white space in Eeze.h

Reviewers: cedric, Sergeant_Whitespace

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2246

9 years agoecore_evas - eetpack utility for packing files (imgs) into eet files
Carsten Haitzler (Rasterman) [Thu, 2 Apr 2015 02:50:08 +0000 (11:50 +0900)]
ecore_evas - eetpack utility for packing files (imgs) into eet files

this adds a new utility called "eetpack" that uses eet, ecore_evas,
eina and evas to stuff images with various compressions/encodings (as
well as raw data in a simple way) into eet files like edj files or any
eet archive. can be used in combination with the "eet" utility and
edje_cc generated edj files.

@feature

9 years agoelua: only check gettability in __index with no keys
Daniel Kolesa [Wed, 1 Apr 2015 13:22:00 +0000 (14:22 +0100)]
elua: only check gettability in __index with no keys

9 years agoelua: clarify comments in eo.lua (explain how the property system works)
Daniel Kolesa [Wed, 1 Apr 2015 13:19:49 +0000 (14:19 +0100)]
elua: clarify comments in eo.lua (explain how the property system works)

9 years agoefreetd - cache - fix handling a text index file with 0 length lines
Carsten Haitzler (Rasterman) [Wed, 1 Apr 2015 11:43:54 +0000 (20:43 +0900)]
efreetd - cache - fix handling a text index file with 0 length lines

this fixes an efreetd cache crash where files like icon.exts might
have lines with just a newline and no extension/content on the line.

@fix

9 years agoedje_calc: fix SEGFAULT on new parts
Andrii Kroitor [Wed, 1 Apr 2015 11:23:38 +0000 (07:23 -0400)]
edje_calc: fix SEGFAULT on new parts

Summary: new part added with edje_edit_part_add has NULL previous description

Reviewers: cedric, zmike, seoz, Hermet, raster

Subscribers: FurryMyad, cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2272

9 years agoecore: Move documentation for ecore_timer_add at the correct place.
Stefan Schmidt [Wed, 1 Apr 2015 08:23:00 +0000 (10:23 +0200)]
ecore: Move documentation for ecore_timer_add at the correct place.

Many thanks to Vinicius dos Santos Oliveira for spotting this and
pointing it out on the mailing list.

9 years agoedje calc now more correctly forces recalc for child groups on state change
Mike Blumenkrantz [Wed, 1 Apr 2015 03:28:33 +0000 (23:28 -0400)]
edje calc now more correctly forces recalc for child groups on state change

in the event of fixed size -> non-fixed size (eg. previous commit optimization),
this calc would no longer occur, so we need to queue it. also if fixed.w or
fixed.h changes value for a group part, we must recalc the group to ensure correct
sizing occurs

9 years agoedje calc no longer performs calculations for group parts of fixed size > 0
Mike Blumenkrantz [Wed, 1 Apr 2015 03:27:01 +0000 (23:27 -0400)]
edje calc no longer performs calculations for group parts of fixed size > 0

when I said > 0 in the last commit message, I was thinking ahead to this commit
which I knew I would later have to make, but had not yet written because I had not
spent the requisite number of hours debugging the code to know that I needed to
have the check in both the code and the commit message

ref 3a451650d2f875077419e5777c49d04c618211f0

9 years agoEvas masking: Implement polygon masking (GL)
Jean-Philippe Andre [Wed, 1 Apr 2015 02:01:48 +0000 (11:01 +0900)]
Evas masking: Implement polygon masking (GL)

9 years agoEvas masking: Ensure texture is up-to-date before drawing (GL)
Jean-Philippe Andre [Wed, 1 Apr 2015 01:54:45 +0000 (10:54 +0900)]
Evas masking: Ensure texture is up-to-date before drawing (GL)

9 years agoEvas GL common: whitespace fixes
Jean-Philippe Andre [Wed, 1 Apr 2015 01:42:14 +0000 (10:42 +0900)]
Evas GL common: whitespace fixes

9 years agoEvas masking: Implement line masking in GL
Jean-Philippe Andre [Wed, 1 Apr 2015 01:39:36 +0000 (10:39 +0900)]
Evas masking: Implement line masking in GL

This commit also introduces a few whitespace changes...

9 years agoEvas GL generic: Simplify "scaled" images (used for masking)
Jean-Philippe Andre [Wed, 1 Apr 2015 00:58:05 +0000 (09:58 +0900)]
Evas GL generic: Simplify "scaled" images (used for masking)

Invert the meaning of scaled (w,h), so that im->(w,h) corresponds
to the final scaled size, and the original size is stored directly
in the texture itself.

This simplifies code a little bit.

Also, lift the limitation on the maximum texture size, as those
virtual textures are not limited by GPU texture size.

9 years agoEvas masking: Refactor GL code
Jean-Philippe Andre [Tue, 31 Mar 2015 09:58:51 +0000 (18:58 +0900)]
Evas masking: Refactor GL code

Use the same method as for map masking:
- Pass absolute geometry of the mask to the push functions,
- Compute absolute position in the shader (like gl_Position)
  and apply scaling factor + offset to sample the mask.

Masking now uses a single vec4 attribute instead of hi-jacking
other vertices.

This way, all masking shaders share the same code and are way
simpler. On the other hand, the vertex shaders have a little bit
more work to do.

9 years agoecore_file - fix nasty memory issues in ecore_file_app_exe_get()
Carsten Haitzler (Rasterman) [Wed, 1 Apr 2015 00:30:13 +0000 (09:30 +0900)]
ecore_file - fix nasty memory issues in ecore_file_app_exe_get()

valgrind was most unhappy with ecore_file_app_exe_get(). like:

==8331== Invalid write of size 1
==8331==    at 0x68DE90A: ecore_file_app_exe_get (ecore_file.c:994)
==8331==  Address 0x1348e58f is 0 bytes after a block of size 31 alloc'd
==8331==    at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==8331== Invalid write of size 1
==8331==    at 0x68DE948: ecore_file_app_exe_get (ecore_file.c:1000)
==8331==  Address 0x1348e599 is 10 bytes after a block of size 31 alloc'd
==8331==    at 0x4C28C20: malloc (vg_replace_malloc.c:296)

etc. etc. - so i rewrote it cleanly using strbuf to save code and
effort. cleaner now and ACTUALLY works correctly... and no valgrind
complaints.

@fix

9 years agoedje object swallowing no longer forces a full recalc
Mike Blumenkrantz [Tue, 31 Mar 2015 23:15:17 +0000 (19:15 -0400)]
edje object swallowing no longer forces a full recalc

this (and/or related prior commits) seems to have hugely improved
edje performance across the board. particularly noticeable in the
settings pane animations for terminology

 #aprilfools

9 years agoedje object scale factor changes now trigger deferred recalcs
Mike Blumenkrantz [Tue, 31 Mar 2015 23:12:26 +0000 (19:12 -0400)]
edje object scale factor changes now trigger deferred recalcs

as with the previous commit, any user who wants geometry immediately
will be calling calc functions, so this is just going to be redundant
except in cases where calc is not wanted, in which case it is unnecessary
overhead

9 years agoedje group part init no longer forces synchronous hint updating during load
Mike Blumenkrantz [Tue, 31 Mar 2015 23:11:24 +0000 (19:11 -0400)]
edje group part init no longer forces synchronous hint updating during load

hints will be updated later and any user who wants these hints is going to
be calling edje calc functions anyway, causing this to be a redundant calc

9 years agoedje calc no longer forces proxy part source calcs for currently-hidden proxies
Mike Blumenkrantz [Tue, 31 Mar 2015 23:10:02 +0000 (19:10 -0400)]
edje calc no longer forces proxy part source calcs for currently-hidden proxies

this saves a bit of calc time when a proxy part is not currently visible

9 years agoedje calc no longer performs calculations for group parts of fixed size
Mike Blumenkrantz [Tue, 31 Mar 2015 23:07:46 +0000 (19:07 -0400)]
edje calc no longer performs calculations for group parts of fixed size

if the min/max of a part are identical and > 0, the part's min size is guaranteed
to be this size. there is no need to perform expensive recursive calcs here

9 years agoedje: add edje_file_iterator_new().
Cedric BAIL [Tue, 31 Mar 2015 21:23:32 +0000 (23:23 +0200)]
edje: add edje_file_iterator_new().

This list the actually opened Edje file by the current process.

9 years agoedje: fix build break.
Cedric BAIL [Tue, 31 Mar 2015 21:21:12 +0000 (23:21 +0200)]
edje: fix build break.