platform/upstream/efl.git
9 years agoector: add handling of EFL_GFX_PATH_CHANGED signal to Freetype backend.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:33:44 +0000 (16:33 +0200)]
ector: add handling of EFL_GFX_PATH_CHANGED signal to Freetype backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: call batman to the rescue !
Cedric BAIL [Fri, 3 Apr 2015 14:33:43 +0000 (16:33 +0200)]
evas: call batman to the rescue !

The animation is not pretty yet, but definitively a nice demo of a
changing shape with current Evas_VG API.

9 years agoevas: correctly handle redraw of changed tree of Evas_VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:33:42 +0000 (16:33 +0200)]
evas: correctly handle redraw of changed tree of Evas_VG_Node.

9 years agoector: use the new infrastructure to detect changed path for Cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:33:40 +0000 (16:33 +0200)]
ector: use the new infrastructure to detect changed path for Cairo backend.

9 years agoefl: notify when the path change.
Cedric BAIL [Fri, 3 Apr 2015 14:33:38 +0000 (16:33 +0200)]
efl: notify when the path change.

This is an easier and safer way than forcing all object inheriting this class
to override all function that modify the path.

9 years agoector: correctly handle case with NULL being set for efl_gfx_shape_stroke_dash_set.
Cedric BAIL [Fri, 3 Apr 2015 14:33:37 +0000 (16:33 +0200)]
ector: correctly handle case with NULL being set for efl_gfx_shape_stroke_dash_set.

9 years agoefl: fix parsing of SVG path data.
Cedric BAIL [Fri, 3 Apr 2015 14:33:35 +0000 (16:33 +0200)]
efl: fix parsing of SVG path data.

9 years agoefl: make efl_gfx_shape_interpolate more resistant to bogus request.
Cedric BAIL [Fri, 3 Apr 2015 14:33:33 +0000 (16:33 +0200)]
efl: make efl_gfx_shape_interpolate more resistant to bogus request.

9 years agoevas: correct evas_vg_simple header description.
Cedric BAIL [Fri, 3 Apr 2015 14:33:32 +0000 (16:33 +0200)]
evas: correct evas_vg_simple header description.

9 years agoefl: actually update command and points length.
Cedric BAIL [Fri, 3 Apr 2015 14:33:31 +0000 (16:33 +0200)]
efl: actually update command and points length.

9 years agoector: fix pre multiplied color issue with FreeType backend.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:33:29 +0000 (16:33 +0200)]
ector: fix pre multiplied color issue with FreeType backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoefl: fix rectangle shape to finish at the right position.
Cedric BAIL [Fri, 3 Apr 2015 14:33:28 +0000 (16:33 +0200)]
efl: fix rectangle shape to finish at the right position.

9 years agoector: fix forgotten return value.
Cedric BAIL [Fri, 3 Apr 2015 14:33:26 +0000 (16:33 +0200)]
ector: fix forgotten return value.

9 years agoefl: use enesim/moonlight path normalizer.
Jorge Luis Zapata Muga [Fri, 3 Apr 2015 14:33:22 +0000 (16:33 +0200)]
efl: use enesim/moonlight path normalizer.

This fix issue with rounded rectangle.

9 years agoector: add reference point to define (0, 0) and don't repeat the same value everywhere.
Cedric BAIL [Fri, 3 Apr 2015 14:33:19 +0000 (16:33 +0200)]
ector: add reference point to define (0, 0) and don't repeat the same value everywhere.

9 years agogitignore: don't track generated examples.
Cedric BAIL [Fri, 3 Apr 2015 14:33:11 +0000 (16:33 +0200)]
gitignore: don't track generated examples.

9 years agoevas: fix example with new namespace.
Cedric BAIL [Fri, 3 Apr 2015 14:33:09 +0000 (16:33 +0200)]
evas: fix example with new namespace.

9 years agoector: remember last position and translate to Ector_Renderer origin position.
Cedric BAIL [Fri, 3 Apr 2015 14:33:07 +0000 (16:33 +0200)]
ector: remember last position and translate to Ector_Renderer origin position.

9 years agoevas: fix Evas_3D examples with new Efl interface API.
Cedric BAIL [Fri, 3 Apr 2015 14:33:06 +0000 (16:33 +0200)]
evas: fix Evas_3D examples with new Efl interface API.

9 years agoector : add path cliping feature in FreeType software backend.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:33:05 +0000 (16:33 +0200)]
ector : add path cliping feature in FreeType software backend.

9 years agoector: set the transformation matrix before any translation !
Cedric BAIL [Fri, 3 Apr 2015 14:33:04 +0000 (16:33 +0200)]
ector: set the transformation matrix before any translation !

9 years agoevas: use the correct method to multiply color.
Cedric BAIL [Fri, 3 Apr 2015 14:33:03 +0000 (16:33 +0200)]
evas: use the correct method to multiply color.

9 years agoector: correct implementation for color multiplication.
Jose Gonzalez [Fri, 3 Apr 2015 14:33:01 +0000 (16:33 +0200)]
ector: correct implementation for color multiplication.

9 years agoector: cairo require an identity matrix to be set instead of NULL.
Cedric BAIL [Fri, 3 Apr 2015 14:33:00 +0000 (16:33 +0200)]
ector: cairo require an identity matrix to be set instead of NULL.

NULL mean crash :-D

9 years agoevas: correctly define stride for Ector Cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:32:59 +0000 (16:32 +0200)]
evas: correctly define stride for Ector Cairo backend.

9 years agoevas: check rect and circle rendering with SVG specification in Evas_VG example.
Cedric BAIL [Fri, 3 Apr 2015 14:32:56 +0000 (16:32 +0200)]
evas: check rect and circle rendering with SVG specification in Evas_VG example.

9 years agoefl: correct Efl.Gfx.Shape.append_circle to follow SVG specification.
Cedric BAIL [Fri, 3 Apr 2015 14:31:54 +0000 (16:31 +0200)]
efl: correct Efl.Gfx.Shape.append_circle to follow SVG specification.

9 years agoefl: add Efl.Gfx.Shape.append_rect following SVG specification.
Cedric BAIL [Fri, 3 Apr 2015 14:31:53 +0000 (16:31 +0200)]
efl: add Efl.Gfx.Shape.append_rect following SVG specification.

SVG rectangle can have rounded corner.

9 years agoefl: handle path forced reset to NULL.
Cedric BAIL [Fri, 3 Apr 2015 14:31:52 +0000 (16:31 +0200)]
efl: handle path forced reset to NULL.

9 years agoevas: multiply the parent color with the object color.
Cedric BAIL [Fri, 3 Apr 2015 14:31:51 +0000 (16:31 +0200)]
evas: multiply the parent color with the object color.

It is necessary to actually propagate the Evas_Object_VG own color to all its
Evas_VG_Base object.

9 years agoector: use shift instead of divide when possible.
Cedric BAIL [Fri, 3 Apr 2015 14:31:50 +0000 (16:31 +0200)]
ector: use shift instead of divide when possible.

9 years agoevas: and now fix Evas GL backend to display Evas_Object_VG correctly.
Cedric BAIL [Fri, 3 Apr 2015 14:31:49 +0000 (16:31 +0200)]
evas: and now fix Evas GL backend to display Evas_Object_VG correctly.

9 years agoevas: add support for alternate Ector rasterizer based on FreeType.
Cedric BAIL [Fri, 3 Apr 2015 14:31:48 +0000 (16:31 +0200)]
evas: add support for alternate Ector rasterizer based on FreeType.

9 years agoector: build FreeType software backend.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:31:47 +0000 (16:31 +0200)]
ector: build FreeType software backend.

9 years agoector: add software backend using FreeType rasterizer.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:31:45 +0000 (16:31 +0200)]
ector: add software backend using FreeType rasterizer.

9 years agoector: implementation of some common code in Ector.Renderer.Cairo.Base.
Cedric BAIL [Fri, 3 Apr 2015 14:31:44 +0000 (16:31 +0200)]
ector: implementation of some common code in Ector.Renderer.Cairo.Base.

This require to make some class mixin instead of interface or abstract. So a lot
of class renaming is also necessary here.

9 years agoector: implement a simple virtual to prepare the mask in Ector.Renderer.Generic.Base.
Cedric BAIL [Fri, 3 Apr 2015 14:31:43 +0000 (16:31 +0200)]
ector: implement a simple virtual to prepare the mask in Ector.Renderer.Generic.Base.

9 years agoevas: fix missing initialisation of engine function call.
Cedric BAIL [Fri, 3 Apr 2015 14:31:41 +0000 (16:31 +0200)]
evas: fix missing initialisation of engine function call.

9 years agoector: remove useless constructor.
Cedric BAIL [Fri, 3 Apr 2015 14:31:40 +0000 (16:31 +0200)]
ector: remove useless constructor.

9 years agoevas: all color in evas are premultiplied, enforce with warning when not.
Cedric BAIL [Fri, 3 Apr 2015 14:31:39 +0000 (16:31 +0200)]
evas: all color in evas are premultiplied, enforce with warning when not.

9 years agoector: remove unecessary check for cairo context.
Cedric BAIL [Fri, 3 Apr 2015 14:31:37 +0000 (16:31 +0200)]
ector: remove unecessary check for cairo context.

We now maintain an always available context.

9 years agoector: do not forget to get cairo symbol in Ector.Renderer.Cairo.Gradient_Linear.
Cedric BAIL [Fri, 3 Apr 2015 14:31:36 +0000 (16:31 +0200)]
ector: do not forget to get cairo symbol in Ector.Renderer.Cairo.Gradient_Linear.

9 years agoector: call eo_do_super on the right gradient class in Ector.Renderer.Cairo.Gradient_...
Cedric BAIL [Fri, 3 Apr 2015 14:31:35 +0000 (16:31 +0200)]
ector: call eo_do_super on the right gradient class in Ector.Renderer.Cairo.Gradient_Radial.

9 years agoector: slightly better implementation for gradient radial draw.
Cedric BAIL [Fri, 3 Apr 2015 14:31:33 +0000 (16:31 +0200)]
ector: slightly better implementation for gradient radial draw.

9 years agoector: on shutdown our ability to find cairo symbol may no be there anymore.
Cedric BAIL [Fri, 3 Apr 2015 14:31:32 +0000 (16:31 +0200)]
ector: on shutdown our ability to find cairo symbol may no be there anymore.

9 years agoector: remove useless printf !
Cedric BAIL [Fri, 3 Apr 2015 14:31:31 +0000 (16:31 +0200)]
ector: remove useless printf !

9 years agoevas: update and propagate Evas_VG_Base transformation.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:31:29 +0000 (16:31 +0200)]
evas: update and propagate Evas_VG_Base transformation.

9 years agoevas: migrate Efl.VG example to legacy API.
Cedric BAIL [Fri, 3 Apr 2015 14:31:27 +0000 (16:31 +0200)]
evas: migrate Efl.VG example to legacy API.

9 years agoevas: fix Evas_VG examples to match new API.
Cedric BAIL [Fri, 3 Apr 2015 14:31:23 +0000 (16:31 +0200)]
evas: fix Evas_VG examples to match new API.

9 years agoevas: add evas_vg_simple example.
ChunEon Park [Fri, 3 Apr 2015 14:31:20 +0000 (16:31 +0200)]
evas: add evas_vg_simple example.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: fix inheritance in cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:31:18 +0000 (16:31 +0200)]
ector: fix inheritance in cairo backend.

9 years agoector: fix setting context to always have one available.
Cedric BAIL [Fri, 3 Apr 2015 14:31:17 +0000 (16:31 +0200)]
ector: fix setting context to always have one available.

9 years agoector: fix inheritance of Ector.Generic.Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:31:15 +0000 (16:31 +0200)]
ector: fix inheritance of Ector.Generic.Shape.

9 years agoector: fix Eina_Log domain to be usable outside of main.
Cedric BAIL [Fri, 3 Apr 2015 14:31:13 +0000 (16:31 +0200)]
ector: fix Eina_Log domain to be usable outside of main.

9 years agoevas: fix creation of cairo context with GL backend.
Cedric BAIL [Fri, 3 Apr 2015 14:31:12 +0000 (16:31 +0200)]
evas: fix creation of cairo context with GL backend.

9 years agoevas: fix initialisation of cairo context in software backend.
Cedric BAIL [Fri, 3 Apr 2015 14:31:11 +0000 (16:31 +0200)]
evas: fix initialisation of cairo context in software backend.

9 years agoevas: do not track change on root node.
Cedric BAIL [Fri, 3 Apr 2015 14:31:09 +0000 (16:31 +0200)]
evas: do not track change on root node.

9 years agoevas: fix coding style.
Cedric BAIL [Fri, 3 Apr 2015 14:31:08 +0000 (16:31 +0200)]
evas: fix coding style.

9 years agoevas: fix switch from MMX to FPU.
Cedric BAIL [Fri, 3 Apr 2015 14:31:07 +0000 (16:31 +0200)]
evas: fix switch from MMX to FPU.

9 years agoevas: set alpha to zero for Efl.VG.Shape.stroke_color.
Cedric BAIL [Fri, 3 Apr 2015 14:31:00 +0000 (16:31 +0200)]
evas: set alpha to zero for Efl.VG.Shape.stroke_color.

9 years agoevas: move Evas.VG_* to Efl.VG.*
Cedric BAIL [Fri, 3 Apr 2015 14:30:59 +0000 (16:30 +0200)]
evas: move Evas.VG_* to Efl.VG.*

This also introduce legacy API for all of them.

9 years agoevas: initial implementation of a dumb SVG parser.
Cedric BAIL [Fri, 3 Apr 2015 14:30:56 +0000 (16:30 +0200)]
evas: initial implementation of a dumb SVG parser.

This commit is experimental and may be rebased until usable.

9 years agoevas: eo_data_scope_get will return random value in memory, need to always use eo_isa.
Cedric BAIL [Fri, 3 Apr 2015 14:30:54 +0000 (16:30 +0200)]
evas: eo_data_scope_get will return random value in memory, need to always use eo_isa.

9 years agoevas: Evas_VG_Root_Node parent will be NULL during destructor.
Cedric BAIL [Fri, 3 Apr 2015 14:30:53 +0000 (16:30 +0200)]
evas: Evas_VG_Root_Node parent will be NULL during destructor.

9 years agoevas: implement render_pre due to our hack over Evas_VG_Container.
Cedric BAIL [Fri, 3 Apr 2015 14:30:53 +0000 (16:30 +0200)]
evas: implement render_pre due to our hack over Evas_VG_Container.

9 years agoevas: don't duplicate entry in parent children list
Cedric BAIL [Fri, 3 Apr 2015 14:30:52 +0000 (16:30 +0200)]
evas: don't duplicate entry in parent children list

eo_parent_set is always called, even in the constructor.

9 years agoefl: Efl.Gfx.Shape should actually be a mixin.
Cedric BAIL [Fri, 3 Apr 2015 14:30:51 +0000 (16:30 +0200)]
efl: Efl.Gfx.Shape should actually be a mixin.

9 years agoevas: eina array macro don't work well on NULL array.
Cedric BAIL [Fri, 3 Apr 2015 14:30:50 +0000 (16:30 +0200)]
evas: eina array macro don't work well on NULL array.

9 years agoevas: ref/unref root node while it's being used by vg object.
ChunEon Park [Fri, 3 Apr 2015 14:30:49 +0000 (16:30 +0200)]
evas: ref/unref root node while it's being used by vg object.

This also remove dead code.

9 years agoector: fix constructor/destructor of Ector_Cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:30:48 +0000 (16:30 +0200)]
ector: fix constructor/destructor of Ector_Cairo backend.

9 years agoeolian_cxx: fix change visibility to visible.
Cedric BAIL [Fri, 3 Apr 2015 14:30:48 +0000 (16:30 +0200)]
eolian_cxx: fix change visibility to visible.

9 years agoevas: fix example to follow new Efl.Gfx interface.
Cedric BAIL [Fri, 3 Apr 2015 14:30:47 +0000 (16:30 +0200)]
evas: fix example to follow new Efl.Gfx interface.

9 years agoeolian_cxx: fix build error for some generated C++ wrappers
Vitor Sousa [Fri, 3 Apr 2015 14:30:46 +0000 (16:30 +0200)]
eolian_cxx: fix build error for some generated C++ wrappers

Name generation for some C++ wrapper functions were adding an illegal ":"
in the function name.
Fixed the logical error that was causing this to happens when converting
namespaces to function prefixes.

@fix

9 years agoefl: all those interface are clearly BETA_API.
Cedric BAIL [Fri, 3 Apr 2015 14:30:45 +0000 (16:30 +0200)]
efl: all those interface are clearly BETA_API.

9 years agoevas: add theoric GL backend support.
Cedric BAIL [Fri, 3 Apr 2015 14:30:44 +0000 (16:30 +0200)]
evas: add theoric GL backend support.

9 years agoevas: introduce begin and end operation on an Ector surface.
Cedric BAIL [Fri, 3 Apr 2015 14:30:44 +0000 (16:30 +0200)]
evas: introduce begin and end operation on an Ector surface.

This is necessary for GL has you want to map once and run with it, but it
will also help the software backend to not remap the surface all the time !

9 years agoefl: introduce EFL_GFX_CHANGED event and properly propagate up to Evas.
Cedric BAIL [Fri, 3 Apr 2015 14:30:42 +0000 (16:30 +0200)]
efl: introduce EFL_GFX_CHANGED event and properly propagate up to Evas.

9 years agoefl: trigger EFL_GFX_CHANGED on path change.
Cedric BAIL [Fri, 3 Apr 2015 14:30:40 +0000 (16:30 +0200)]
efl: trigger EFL_GFX_CHANGED on path change.

9 years agoefl: add a changed event triggered when something affect the visual aspect of an...
Cedric BAIL [Fri, 3 Apr 2015 14:30:39 +0000 (16:30 +0200)]
efl: add a changed event triggered when something affect the visual aspect of an object.

9 years agoevas: add documentation for Evas_Object_Vg class.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:38 +0000 (16:30 +0200)]
evas: add documentation for Evas_Object_Vg class.

9 years agoefl: add documentation for shape and gradient interface.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:37 +0000 (16:30 +0200)]
efl: add documentation for shape and gradient interface.

9 years agoevas: add documentation for Evas_Object_VG
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:36 +0000 (16:30 +0200)]
evas: add documentation for Evas_Object_VG

9 years agoefl: add documentation for Efl.Gfx enums.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:35 +0000 (16:30 +0200)]
efl: add documentation for Efl.Gfx enums.

9 years agoefl: move Efl.Gfx.Gradient_* to Efl.Gfx.Gradient.* much nicer for bindings.
Cedric BAIL [Fri, 3 Apr 2015 14:30:35 +0000 (16:30 +0200)]
efl: move Efl.Gfx.Gradient_* to Efl.Gfx.Gradient.* much nicer for bindings.

9 years agoevas: make Evas.VG_Shape use Efl.Gfx.Base.color_part for stroke.
Cedric BAIL [Fri, 3 Apr 2015 14:30:34 +0000 (16:30 +0200)]
evas: make Evas.VG_Shape use Efl.Gfx.Base.color_part for stroke.

9 years agoevas: use Efl.Gfx.Base.color_part in Evas.VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:30:33 +0000 (16:30 +0200)]
evas: use Efl.Gfx.Base.color_part in Evas.VG_Node.

9 years agoefl: provide Efl.Gfx.Base.color_part and implement it in top Evas_Object.
Cedric BAIL [Fri, 3 Apr 2015 14:30:32 +0000 (16:30 +0200)]
efl: provide Efl.Gfx.Base.color_part and implement it in top Evas_Object.

9 years agoefl: add path operation to Efl.Gfx.Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:23:28 +0000 (16:23 +0200)]
efl: add path operation to Efl.Gfx.Shape.

9 years agoevas: move Evas.VG to use Efl.Gfx.View.
Cedric BAIL [Fri, 3 Apr 2015 14:23:27 +0000 (16:23 +0200)]
evas: move Evas.VG to use Efl.Gfx.View.

9 years agoefl: add Efl.Gfx.View and use it in Evas.Image.
Cedric BAIL [Fri, 3 Apr 2015 14:23:26 +0000 (16:23 +0200)]
efl: add Efl.Gfx.View and use it in Evas.Image.

9 years agoevas: move Evas.VG to use Efl.Gfx.Fill.
Cedric BAIL [Fri, 3 Apr 2015 14:23:25 +0000 (16:23 +0200)]
evas: move Evas.VG to use Efl.Gfx.Fill.

9 years agoefl: add Efl.Gfx.Fill and migrate Evas.Image to it.
Cedric BAIL [Fri, 3 Apr 2015 14:23:24 +0000 (16:23 +0200)]
efl: add Efl.Gfx.Fill and migrate Evas.Image to it.

9 years agoevas: make Evas.VG_Node inherit from Efl.Gfx.Stack.
Cedric BAIL [Fri, 3 Apr 2015 14:23:23 +0000 (16:23 +0200)]
evas: make Evas.VG_Node inherit from Efl.Gfx.Stack.

9 years agoefl: add Efl.Gfx.Stack interface and update Evas_Object accordingly.
Cedric BAIL [Fri, 3 Apr 2015 14:23:22 +0000 (16:23 +0200)]
efl: add Efl.Gfx.Stack interface and update Evas_Object accordingly.

9 years agoefl: generate headers for the new VG interface in C++ to.
Cedric BAIL [Fri, 3 Apr 2015 14:23:21 +0000 (16:23 +0200)]
efl: generate headers for the new VG interface in C++ to.

9 years agoevas: implement Efl.Gfx.Base in Evas.VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:23:20 +0000 (16:23 +0200)]
evas: implement Efl.Gfx.Base in Evas.VG_Node.

9 years agoefl: rename visibility to visible.
Cedric BAIL [Fri, 3 Apr 2015 14:23:19 +0000 (16:23 +0200)]
efl: rename visibility to visible.

After discussion bindings and people in general prefer visible.

T2035

9 years agoecore_evas: fix with new naming.
Cedric BAIL [Fri, 3 Apr 2015 14:23:18 +0000 (16:23 +0200)]
ecore_evas: fix with new naming.

9 years agoefl: add Efl.Gfx.Base and fix inheritance for Evas_Object.
Cedric BAIL [Fri, 3 Apr 2015 14:23:17 +0000 (16:23 +0200)]
efl: add Efl.Gfx.Base and fix inheritance for Evas_Object.

9 years agoefl: rename namespace Graphics to Gfx.
Cedric BAIL [Fri, 3 Apr 2015 14:23:16 +0000 (16:23 +0200)]
efl: rename namespace Graphics to Gfx.