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.
Cedric BAIL [Fri, 3 Apr 2015 14:23:15 +0000 (16:23 +0200)]
efl: add a parser for SVG data path that generate EFL Path.
Cedric BAIL [Fri, 3 Apr 2015 14:23:14 +0000 (16:23 +0200)]
evas: use the new Efl_File mmap function correctly for Evas_VG API.
Cedric BAIL [Fri, 3 Apr 2015 14:23:13 +0000 (16:23 +0200)]
efl: move mmap API to be part of Efl_File class.
Cedric BAIL [Fri, 3 Apr 2015 14:23:12 +0000 (16:23 +0200)]
evas: fix warning due to forgotten return.
Cedric BAIL [Fri, 3 Apr 2015 14:23:10 +0000 (16:23 +0200)]
efl: make path a property actually.
Cedric BAIL [Fri, 3 Apr 2015 14:23:09 +0000 (16:23 +0200)]
evas: handle setting sub VG object to NULL.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:23:08 +0000 (16:23 +0200)]
efl : fix append circle api in efl_graphics_utils
Cedric BAIL [Fri, 3 Apr 2015 14:23:07 +0000 (16:23 +0200)]
efl: simplify the enum to only use Cubic Bezier curve.
So SVG support all kind of primitive, but really they are just sugar
on top of the simpler cubic bezier curve. Let's simplify our backend
by just supporting them and the simple line. We still provide all
the sugar, but via helper function that do convert to the right
number of Bezier curve.
Cedric BAIL [Fri, 3 Apr 2015 14:23:06 +0000 (16:23 +0200)]
evas: actually return the right type and fix warnings.
Cedric BAIL [Fri, 3 Apr 2015 14:23:05 +0000 (16:23 +0200)]
efl: fix typos that emitted the wrong PATH type.
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.
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.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:23:00 +0000 (16:23 +0200)]
evas: start correctly implementing the render callback.
Cedric BAIL [Fri, 3 Apr 2015 14:22:59 +0000 (16:22 +0200)]
ecore_evas_svg: actually make the Evas_Object_VG visible.
Cedric BAIL [Fri, 3 Apr 2015 14:22:58 +0000 (16:22 +0200)]
evas: start properly implementing render_pre for Evas_VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:22:57 +0000 (16:22 +0200)]
evas: those function should have been static.
Cedric BAIL [Fri, 3 Apr 2015 14:22:56 +0000 (16:22 +0200)]
evas: remove printf.
Cedric BAIL [Fri, 3 Apr 2015 14:22:54 +0000 (16:22 +0200)]
evas: cleanup parent handling of Evas_VG_Node.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:22:51 +0000 (16:22 +0200)]
evas: add fill and size definition for a VG scene graph.
Cedric BAIL [Fri, 3 Apr 2015 14:22:50 +0000 (16:22 +0200)]
evas: fix copy and paste mistake.
Cedric BAIL [Fri, 3 Apr 2015 14:22:38 +0000 (16:22 +0200)]
evas: fix typos in Evas_VG_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.
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.
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.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:22:25 +0000 (16:22 +0200)]
ecore_evas: fix little typo.
Cedric BAIL [Fri, 3 Apr 2015 14:22:24 +0000 (16:22 +0200)]
ector: reorder compilation to first do Ector then Evas.
Cedric BAIL [Fri, 3 Apr 2015 14:22:22 +0000 (16:22 +0200)]
evas: add file manipulation API to Evas_Object_VG.
Cedric BAIL [Fri, 3 Apr 2015 14:22:20 +0000 (16:22 +0200)]
ecore_evas: add a SVG vector dislay/converter tool.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:22:16 +0000 (16:22 +0200)]
ector: handle color multiplier in the function declaration.
Cedric BAIL [Fri, 3 Apr 2015 14:22:15 +0000 (16:22 +0200)]
ector: reorder macro for easier reuse.
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.
Cedric BAIL [Fri, 3 Apr 2015 14:22:12 +0000 (16:22 +0200)]
efl: fix some whitespace.
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.
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 !