platform/upstream/efl.git
9 years agoefl: fix typos that emitted the wrong PATH type.
Cedric BAIL [Fri, 3 Apr 2015 14:23:05 +0000 (16:23 +0200)]
efl: fix typos that emitted the wrong PATH type.

9 years agoevas: actually we want the Ector_Renderer, not the Evas_VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:23:04 +0000 (16:23 +0200)]
evas: actually we want the Ector_Renderer, not the Evas_VG_Node.

9 years agoevas: properly propagate Eina_Matrix from the VG scene graph to the Ector_Renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:23:03 +0000 (16:23 +0200)]
evas: properly propagate Eina_Matrix from the VG scene graph to the Ector_Renderer.

9 years agoefl: add efl_graphics_path_interpolate and efl_graphics_path_equal_commands.
Cedric BAIL [Fri, 3 Apr 2015 14:23:01 +0000 (16:23 +0200)]
efl: add efl_graphics_path_interpolate and efl_graphics_path_equal_commands.

This function will be handy to implement path interpolation in Edje later on. This
would be usable by Edje if we do push an Evas_Object_Shape. Not really difficult to
add at this stage.

9 years agoevas: start correctly implementing the render callback.
Cedric BAIL [Fri, 3 Apr 2015 14:23:00 +0000 (16:23 +0200)]
evas: start correctly implementing the render callback.

9 years agoecore_evas_svg: actually make the Evas_Object_VG visible.
Cedric BAIL [Fri, 3 Apr 2015 14:22:59 +0000 (16:22 +0200)]
ecore_evas_svg: actually make the Evas_Object_VG visible.

9 years agoevas: start properly implementing render_pre for Evas_VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:22:58 +0000 (16:22 +0200)]
evas: start properly implementing render_pre for Evas_VG_Node.

9 years agoevas: those function should have been static.
Cedric BAIL [Fri, 3 Apr 2015 14:22:57 +0000 (16:22 +0200)]
evas: those function should have been static.

9 years agoevas: remove printf.
Cedric BAIL [Fri, 3 Apr 2015 14:22:56 +0000 (16:22 +0200)]
evas: remove printf.

9 years agoevas: cleanup parent handling of Evas_VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:22:54 +0000 (16:22 +0200)]
evas: cleanup parent handling of Evas_VG_Node.

9 years agoevas: NULL is always needed as during destruction parent is set to NULL.
Cedric BAIL [Fri, 3 Apr 2015 14:22:53 +0000 (16:22 +0200)]
evas: NULL is always needed as during destruction parent is set to NULL.

9 years agoevas: add fill and size definition for a VG scene graph.
Cedric BAIL [Fri, 3 Apr 2015 14:22:51 +0000 (16:22 +0200)]
evas: add fill and size definition for a VG scene graph.

9 years agoevas: fix copy and paste mistake.
Cedric BAIL [Fri, 3 Apr 2015 14:22:50 +0000 (16:22 +0200)]
evas: fix copy and paste mistake.

9 years agoevas: fix typos in Evas_VG_Root_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:22:38 +0000 (16:22 +0200)]
evas: fix typos in Evas_VG_Root_Node.

9 years agoevas: Evas_Object_VG should always create a root node.
Cedric BAIL [Fri, 3 Apr 2015 14:22:37 +0000 (16:22 +0200)]
evas: Evas_Object_VG should always create a root node.

9 years agoeina: add eina_simple_xml_attribute_w3c_parse to parse attribute value.
Cedric BAIL [Fri, 3 Apr 2015 14:22:29 +0000 (16:22 +0200)]
eina: add eina_simple_xml_attribute_w3c_parse to parse attribute value.

9 years agoevas: fix examples dependencies as they don't use the rest of the infra to discover it.
Cedric BAIL [Fri, 3 Apr 2015 14:22:27 +0000 (16:22 +0200)]
evas: fix examples dependencies as they don't use the rest of the infra to discover it.

9 years agoevas: also allow Evas_VG and NULL as parent.
Cedric BAIL [Fri, 3 Apr 2015 14:22:26 +0000 (16:22 +0200)]
evas: also allow Evas_VG and NULL as parent.

I have yet to be sure of the Evas_VG one.

9 years agoecore_evas: fix little typo.
Cedric BAIL [Fri, 3 Apr 2015 14:22:25 +0000 (16:22 +0200)]
ecore_evas: fix little typo.

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)