Chris Michael
3eed18d231
evas-3d: Fix Resource leak from CID1271635
...
Summary: This fixes a reported resource leak (by coverity).
_pack_meshes_vertex_data allocates memory stored in 'vertices' however
vertices is never free'd unless count > 0
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-12 21:13:18 -04:00
Jaehwan Kim
0822485465
evas_object_box: add MAGIC_CHECK when it is added.
...
@fix
2015-04-10 19:37:59 +09:00
Jean-Philippe Andre
0a19a87c0e
Evas image: Return proper path even with mmap
...
Since we're using a union (u.{f,file} we can't just
return u.file when the file was set as an mmap source.
@fix
2015-04-10 16:47:12 +09:00
Bogdan Devichev
f8f118f058
evas-3d: T2226 (Evas Eet saver does out of range access) fixed.
...
Summary:
texcoord now is 2D vector
@fix
Reviewers: cedric, Hermet, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2233
2015-04-06 14:13:30 +09:00
Oleksandr Shcherbina
bc8dfbb1ef
[evas/evas_3D] Billboard mechanism
...
Summary:
Add pointer to target billboard node in Evas_3D_Node
Skip set flags change orientation for billboard node
Add method node_billboard_update to use it for change orientation during traverse
by nodes
Split API evas_3d_node_look_at_set to have possibility change orientation of node
without set flags
Reviewers: cedric, Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2245
2015-04-06 14:10:28 +09:00
Vincent Torri
c8a9769665
Evas: remove warning while factorizing code
2015-04-05 11:30:56 +03:00
Subhransu Mohanty
f4d325ee78
evas: fix memory leak in Efl.Vg.Base class.
2015-04-03 16:38:17 +02:00
Subhransu Mohanty
5c31036249
evas/canvas : bail out in case of empty or null dash.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:14 +02:00
Cedric BAIL
41a75f0b07
efl: follow Efl.VG naming by using bounds_get as an API name.
2015-04-03 16:38:08 +02:00
Cedric BAIL
990c088f6b
evas: align naming with ector, use bounds.
2015-04-03 16:38:07 +02:00
Cedric BAIL
600e69d226
evas: implements efl_vg_bound_get in all Efl.VG object.
2015-04-03 16:38:04 +02:00
Cedric BAIL
c1836b97ed
evas: remove Efl.VG.Image for now as it was not implemented.
2015-04-03 16:38:00 +02:00
Cedric BAIL
2613d17844
evas: remove unused function, no need for untested code.
2015-04-03 16:37:59 +02:00
Cedric BAIL
0eeb19d688
evas: implement stack below and above get for Efl.VG object.
2015-04-03 16:37:58 +02:00
Cedric BAIL
1821aef0c6
evas: add forgotten static in some Efl_VG object.
2015-04-03 16:37:57 +02:00
Cedric BAIL
9e3cfef8d7
evas: add missing boung_get and above/below get.
2015-04-03 16:37:56 +02:00
Cedric BAIL
8288e0a880
evas: remove SVG loader code.
2015-04-03 16:34:27 +02:00
Cedric BAIL
013b18ea6a
evas: removing the ability to load file in Evas_Object_VG for now.
...
Without events and animation it is not really useful and that can only be
done with a library on top of Ecore.
2015-04-03 16:34:26 +02:00
Subhransu Mohanty
1c093f3660
evas: fix EVAS_RENDERER_DEBUG_TIMING implementation for async rendering
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:15 +02:00
Subhransu Sekhar Mohanty
e80a759139
evas: add legacy api for creating vg_shape and vg_container object.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:00 +02:00
Cedric BAIL
29aefe04ad
evas: correctly handle redraw of changed tree of Evas_VG_Node.
2015-04-03 16:33:42 +02:00
Cedric BAIL
de08a3bc04
ector: add reference point to define (0, 0) and don't repeat the same value everywhere.
2015-04-03 16:33:19 +02:00
Cedric BAIL
9f8c35002b
efl: add Efl.Gfx.Shape.append_rect following SVG specification.
...
SVG rectangle can have rounded corner.
2015-04-03 16:31:53 +02:00
Cedric BAIL
e99774946c
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.
2015-04-03 16:31:44 +02:00
Cedric BAIL
cd1f09d359
evas: all color in evas are premultiplied, enforce with warning when not.
2015-04-03 16:31:39 +02:00
Subhransu Sekhar Mohanty
3dea7dbfaf
evas: update and propagate Evas_VG_Base transformation.
2015-04-03 16:31:29 +02:00
Cedric BAIL
986704dfb4
evas: do not track change on root node.
2015-04-03 16:31:09 +02:00
Cedric BAIL
ebfcfed59b
evas: fix coding style.
2015-04-03 16:31:08 +02:00
Cedric BAIL
ab1f6f7984
evas: set alpha to zero for Efl.VG.Shape.stroke_color.
2015-04-03 16:31:00 +02:00
Cedric BAIL
eb2bd9a8d8
evas: move Evas.VG_* to Efl.VG.*
...
This also introduce legacy API for all of them.
2015-04-03 16:30:59 +02:00
Cedric BAIL
dd1cae7329
evas: initial implementation of a dumb SVG parser.
...
This commit is experimental and may be rebased until usable.
2015-04-03 16:30:56 +02:00
Cedric BAIL
0a27241f61
evas: eo_data_scope_get will return random value in memory, need to always use eo_isa.
2015-04-03 16:30:54 +02:00
Cedric BAIL
6a90d24aab
evas: Evas_VG_Root_Node parent will be NULL during destructor.
2015-04-03 16:30:53 +02:00
Cedric BAIL
457e550616
evas: implement render_pre due to our hack over Evas_VG_Container.
2015-04-03 16:30:53 +02:00
Cedric BAIL
d6feb49c0c
evas: don't duplicate entry in parent children list
...
eo_parent_set is always called, even in the constructor.
2015-04-03 16:30:52 +02:00
ChunEon Park
4e0b919a62
evas: ref/unref root node while it's being used by vg object.
...
This also remove dead code.
2015-04-03 16:30:49 +02:00
Cedric BAIL
f2380b0920
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 !
2015-04-03 16:30:44 +02:00
Cedric BAIL
0f6328b04f
efl: introduce EFL_GFX_CHANGED event and properly propagate up to Evas.
2015-04-03 16:30:42 +02:00
Subhransu Sekhar Mohanty
7ee3f8d952
evas: add documentation for Evas_Object_Vg class.
2015-04-03 16:30:38 +02:00
Cedric BAIL
32de8d9e5f
efl: move Efl.Gfx.Gradient_* to Efl.Gfx.Gradient.* much nicer for bindings.
2015-04-03 16:30:35 +02:00
Cedric BAIL
1e18631554
evas: make Evas.VG_Shape use Efl.Gfx.Base.color_part for stroke.
2015-04-03 16:30:34 +02:00
Cedric BAIL
d7f434986e
evas: use Efl.Gfx.Base.color_part in Evas.VG_Node.
2015-04-03 16:30:33 +02:00
Cedric BAIL
cd3f8db506
efl: provide Efl.Gfx.Base.color_part and implement it in top Evas_Object.
2015-04-03 16:30:32 +02:00
Cedric BAIL
ac8d923090
efl: add path operation to Efl.Gfx.Shape.
2015-04-03 16:23:28 +02:00
Cedric BAIL
1fb52dbe71
evas: move Evas.VG to use Efl.Gfx.View.
2015-04-03 16:23:27 +02:00
Cedric BAIL
a395f5ded5
efl: add Efl.Gfx.View and use it in Evas.Image.
2015-04-03 16:23:26 +02:00
Cedric BAIL
5f2527f791
evas: move Evas.VG to use Efl.Gfx.Fill.
2015-04-03 16:23:25 +02:00
Cedric BAIL
7ba7ed4a1c
efl: add Efl.Gfx.Fill and migrate Evas.Image to it.
2015-04-03 16:23:24 +02:00
Cedric BAIL
a38c037953
evas: make Evas.VG_Node inherit from Efl.Gfx.Stack.
2015-04-03 16:23:23 +02:00
Cedric BAIL
500fe6ef1b
efl: add Efl.Gfx.Stack interface and update Evas_Object accordingly.
2015-04-03 16:23:22 +02:00