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>
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.
Cedric BAIL [Fri, 3 Apr 2015 14:33:42 +0000 (16:33 +0200)]
evas: correctly handle redraw of changed tree of Evas_VG_Node.
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.
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.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:33:35 +0000 (16:33 +0200)]
efl: fix parsing of SVG path data.
Cedric BAIL [Fri, 3 Apr 2015 14:33:33 +0000 (16:33 +0200)]
efl: make efl_gfx_shape_interpolate more resistant to bogus request.
Cedric BAIL [Fri, 3 Apr 2015 14:33:32 +0000 (16:33 +0200)]
evas: correct evas_vg_simple header description.
Cedric BAIL [Fri, 3 Apr 2015 14:33:31 +0000 (16:33 +0200)]
efl: actually update command and points length.
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>
Cedric BAIL [Fri, 3 Apr 2015 14:33:28 +0000 (16:33 +0200)]
efl: fix rectangle shape to finish at the right position.
Cedric BAIL [Fri, 3 Apr 2015 14:33:26 +0000 (16:33 +0200)]
ector: fix forgotten return value.
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.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:33:11 +0000 (16:33 +0200)]
gitignore: don't track generated examples.
Cedric BAIL [Fri, 3 Apr 2015 14:33:09 +0000 (16:33 +0200)]
evas: fix example with new namespace.
Cedric BAIL [Fri, 3 Apr 2015 14:33:07 +0000 (16:33 +0200)]
ector: remember last position and translate to Ector_Renderer origin position.
Cedric BAIL [Fri, 3 Apr 2015 14:33:06 +0000 (16:33 +0200)]
evas: fix Evas_3D examples with new Efl interface API.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:33:05 +0000 (16:33 +0200)]
ector : add path cliping feature in FreeType software backend.
Cedric BAIL [Fri, 3 Apr 2015 14:33:04 +0000 (16:33 +0200)]
ector: set the transformation matrix before any translation !
Cedric BAIL [Fri, 3 Apr 2015 14:33:03 +0000 (16:33 +0200)]
evas: use the correct method to multiply color.
Jose Gonzalez [Fri, 3 Apr 2015 14:33:01 +0000 (16:33 +0200)]
ector: correct implementation for color multiplication.
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
Cedric BAIL [Fri, 3 Apr 2015 14:32:59 +0000 (16:32 +0200)]
evas: correctly define stride for Ector Cairo backend.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:31:54 +0000 (16:31 +0200)]
efl: correct Efl.Gfx.Shape.append_circle to follow 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.
Cedric BAIL [Fri, 3 Apr 2015 14:31:52 +0000 (16:31 +0200)]
efl: handle path forced reset to NULL.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:31:50 +0000 (16:31 +0200)]
ector: use shift instead of divide when possible.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:31:48 +0000 (16:31 +0200)]
evas: add support for alternate Ector rasterizer based on FreeType.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:31:47 +0000 (16:31 +0200)]
ector: build FreeType software backend.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:31:45 +0000 (16:31 +0200)]
ector: add software backend using FreeType rasterizer.
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.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:31:41 +0000 (16:31 +0200)]
evas: fix missing initialisation of engine function call.
Cedric BAIL [Fri, 3 Apr 2015 14:31:40 +0000 (16:31 +0200)]
ector: remove useless constructor.
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.
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.
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.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:31:33 +0000 (16:31 +0200)]
ector: slightly better implementation for gradient radial draw.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:31:31 +0000 (16:31 +0200)]
ector: remove useless printf !
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:31:29 +0000 (16:31 +0200)]
evas: update and propagate Evas_VG_Base transformation.
Cedric BAIL [Fri, 3 Apr 2015 14:31:27 +0000 (16:31 +0200)]
evas: migrate Efl.VG example to legacy API.
Cedric BAIL [Fri, 3 Apr 2015 14:31:23 +0000 (16:31 +0200)]
evas: fix Evas_VG examples to match new API.
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>
Cedric BAIL [Fri, 3 Apr 2015 14:31:18 +0000 (16:31 +0200)]
ector: fix inheritance in cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:31:17 +0000 (16:31 +0200)]
ector: fix setting context to always have one available.
Cedric BAIL [Fri, 3 Apr 2015 14:31:15 +0000 (16:31 +0200)]
ector: fix inheritance of Ector.Generic.Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:31:13 +0000 (16:31 +0200)]
ector: fix Eina_Log domain to be usable outside of main.
Cedric BAIL [Fri, 3 Apr 2015 14:31:12 +0000 (16:31 +0200)]
evas: fix creation of cairo context with GL backend.
Cedric BAIL [Fri, 3 Apr 2015 14:31:11 +0000 (16:31 +0200)]
evas: fix initialisation of cairo context in software backend.
Cedric BAIL [Fri, 3 Apr 2015 14:31:09 +0000 (16:31 +0200)]
evas: do not track change on root node.
Cedric BAIL [Fri, 3 Apr 2015 14:31:08 +0000 (16:31 +0200)]
evas: fix coding style.
Cedric BAIL [Fri, 3 Apr 2015 14:31:07 +0000 (16:31 +0200)]
evas: fix switch from MMX to FPU.
Cedric BAIL [Fri, 3 Apr 2015 14:31:00 +0000 (16:31 +0200)]
evas: set alpha to zero for Efl.VG.Shape.stroke_color.
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.
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.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:30:53 +0000 (16:30 +0200)]
evas: Evas_VG_Root_Node parent will be NULL during destructor.
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.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:30:51 +0000 (16:30 +0200)]
efl: Efl.Gfx.Shape should actually be a mixin.
Cedric BAIL [Fri, 3 Apr 2015 14:30:50 +0000 (16:30 +0200)]
evas: eina array macro don't work well on NULL array.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:30:48 +0000 (16:30 +0200)]
ector: fix constructor/destructor of Ector_Cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:30:48 +0000 (16:30 +0200)]
eolian_cxx: fix change visibility to visible.
Cedric BAIL [Fri, 3 Apr 2015 14:30:47 +0000 (16:30 +0200)]
evas: fix example to follow new Efl.Gfx interface.
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
Cedric BAIL [Fri, 3 Apr 2015 14:30:45 +0000 (16:30 +0200)]
efl: all those interface are clearly BETA_API.
Cedric BAIL [Fri, 3 Apr 2015 14:30:44 +0000 (16:30 +0200)]
evas: add theoric GL backend support.
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 !
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.
Cedric BAIL [Fri, 3 Apr 2015 14:30:40 +0000 (16:30 +0200)]
efl: trigger EFL_GFX_CHANGED on path change.
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.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:38 +0000 (16:30 +0200)]
evas: add documentation for Evas_Object_Vg class.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:37 +0000 (16:30 +0200)]
efl: add documentation for shape and gradient interface.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:36 +0000 (16:30 +0200)]
evas: add documentation for Evas_Object_VG
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:35 +0000 (16:30 +0200)]
efl: add documentation for Efl.Gfx enums.
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.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:30:33 +0000 (16:30 +0200)]
evas: use Efl.Gfx.Base.color_part in Evas.VG_Node.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:23:28 +0000 (16:23 +0200)]
efl: add path operation to Efl.Gfx.Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:23:27 +0000 (16:23 +0200)]
evas: move Evas.VG to use Efl.Gfx.View.
Cedric BAIL [Fri, 3 Apr 2015 14:23:26 +0000 (16:23 +0200)]
efl: add Efl.Gfx.View and use it in Evas.Image.
Cedric BAIL [Fri, 3 Apr 2015 14:23:25 +0000 (16:23 +0200)]
evas: move Evas.VG to use Efl.Gfx.Fill.
Cedric BAIL [Fri, 3 Apr 2015 14:23:24 +0000 (16:23 +0200)]
efl: add Efl.Gfx.Fill and migrate Evas.Image to it.
Cedric BAIL [Fri, 3 Apr 2015 14:23:23 +0000 (16:23 +0200)]
evas: make Evas.VG_Node inherit from Efl.Gfx.Stack.
Cedric BAIL [Fri, 3 Apr 2015 14:23:22 +0000 (16:23 +0200)]
efl: add Efl.Gfx.Stack interface and update Evas_Object accordingly.
Cedric BAIL [Fri, 3 Apr 2015 14:23:21 +0000 (16:23 +0200)]
efl: generate headers for the new VG interface in C++ to.
Cedric BAIL [Fri, 3 Apr 2015 14:23:20 +0000 (16:23 +0200)]
evas: implement Efl.Gfx.Base in Evas.VG_Node.
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
Cedric BAIL [Fri, 3 Apr 2015 14:23:18 +0000 (16:23 +0200)]
ecore_evas: fix with new naming.
Cedric BAIL [Fri, 3 Apr 2015 14:23:17 +0000 (16:23 +0200)]
efl: add Efl.Gfx.Base and fix inheritance for Evas_Object.
Cedric BAIL [Fri, 3 Apr 2015 14:23:16 +0000 (16:23 +0200)]
efl: rename namespace Graphics to Gfx.