platform/upstream/efl.git
9 years agoevas: handle mul_col for ector drawing in gl backend.
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:21 +0000 (16:34 +0200)]
evas: handle mul_col for ector drawing in gl backend.

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: update batman example with transformation and opengl.
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:17 +0000 (16:34 +0200)]
evas: update batman example with transformation and opengl.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: add cairo_save() and cairo_restore() to fix the transformation issue.
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:16 +0000 (16:34 +0200)]
ector: add cairo_save() and cairo_restore() to fix the transformation issue.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix EVAS_RENDERER_DEBUG_TIMING implementation for async rendering
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:15 +0000 (16:34 +0200)]
evas: fix EVAS_RENDERER_DEBUG_TIMING implementation for async rendering

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoefl: simplify append_circle() api implementation.
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:14 +0000 (16:34 +0200)]
efl: simplify append_circle() api implementation.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: don't track generated content.
Cedric BAIL [Fri, 3 Apr 2015 14:34:12 +0000 (16:34 +0200)]
evas: don't track generated content.

9 years agoevas: flush cpu pipeline before ector drawing.
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:11 +0000 (16:34 +0200)]
evas: flush cpu pipeline before ector drawing.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: add mul_col feature in Cairo backend and fixed color handling issue.
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:10 +0000 (16:34 +0200)]
ector: add mul_col feature in Cairo backend and fixed color handling issue.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: force cpu end opt when switching to Cairo rendering.
Cedric BAIL [Fri, 3 Apr 2015 14:34:09 +0000 (16:34 +0200)]
evas: force cpu end opt when switching to Cairo rendering.

9 years agoector: add clipping support for Cairo backend.
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:07 +0000 (16:34 +0200)]
ector: add clipping support for Cairo backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: gradient now uses spread while filling a shape for Cairo backend.
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:06 +0000 (16:34 +0200)]
ector: gradient now uses spread while filling a shape for Cairo backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: use line width, join and cap style while stoking the path for Cairo backend.
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:05 +0000 (16:34 +0200)]
ector: use line width, join and cap style while stoking the path for Cairo backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: don't draw the gradient if its used as fill object in Cairo backend.
Subhransu Mohanty [Fri, 3 Apr 2015 14:34:03 +0000 (16:34 +0200)]
ector: don't draw the gradient if its used as fill object in Cairo backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas : add documentation to legacy vector api's.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:34:02 +0000 (16:34 +0200)]
evas : add documentation to legacy vector api's.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: use legacy API for VG example.
Cedric BAIL [Fri, 3 Apr 2015 14:34:01 +0000 (16:34 +0200)]
evas: use legacy API for VG example.

9 years agoevas: add legacy api for creating vg_shape and vg_container object.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:34:00 +0000 (16:34 +0200)]
evas: add legacy api for creating vg_shape and vg_container object.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoefl: fix efl_gfx_append_rect to clamp radius to always fit inside of the rectangle.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:33:59 +0000 (16:33 +0200)]
efl: fix efl_gfx_append_rect to clamp radius to always fit inside of the rectangle.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoefl: force close of rect shape to prevent to avoid join showing with non rounded...
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:33:58 +0000 (16:33 +0200)]
efl: force close of rect shape to prevent to avoid join showing with non rounded rectangle.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: expose more useful immediate rendering functions to the outside world.
Cedric BAIL [Fri, 3 Apr 2015 14:33:57 +0000 (16:33 +0200)]
ector: expose more useful immediate rendering functions to the outside world.

9 years agoector: actually depend on math library.
Cedric BAIL [Fri, 3 Apr 2015 14:33:56 +0000 (16:33 +0200)]
ector: actually depend on math library.

9 years agoefl: actually depend on math library.
ChunEon Park [Fri, 3 Apr 2015 14:33:54 +0000 (16:33 +0200)]
efl: actually depend on math library.

9 years agoevas: fix make distcheck.
Cedric BAIL [Fri, 3 Apr 2015 14:33:53 +0000 (16:33 +0200)]
evas: fix make distcheck.

9 years agoector: fix make distcheck.
Cedric BAIL [Fri, 3 Apr 2015 14:33:52 +0000 (16:33 +0200)]
ector: fix make distcheck.

9 years agoevas: add helper surface for cairo vector rendering.
Cedric BAIL [Fri, 3 Apr 2015 14:33:52 +0000 (16:33 +0200)]
evas: add helper surface for cairo vector rendering.

9 years agoefl: interpolate stroke also.
Cedric BAIL [Fri, 3 Apr 2015 14:33:51 +0000 (16:33 +0200)]
efl: interpolate stroke also.

9 years agoector: fix coding style of freetype backend.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:33:50 +0000 (16:33 +0200)]
ector: fix coding style of freetype backend.

9 years agoector: fix ector_color_multiply() function
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:33:49 +0000 (16:33 +0200)]
ector: fix ector_color_multiply() function

9 years agoector: add warning if library is not found.
Cedric BAIL [Fri, 3 Apr 2015 14:33:48 +0000 (16:33 +0200)]
ector: add warning if library is not found.

We use the system configuration to find it. So if it doesn't find it, adjust
your system.

9 years agoevas: remove duplicated shape data and modified animation time in evas-vg-batman.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:33:46 +0000 (16:33 +0200)]
evas: remove duplicated shape data and modified animation time in evas-vg-batman.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
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.