summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_gradient_linear.c (follow)
AgeCommit message (Collapse)Author
2018-11-23evas vg: rename evas_vg prefix to efl_canvas for consistency.Hermet Park
2018-11-14evas vg: optimize gradient sequences.Hermet Park
Summary: 1. Pointed out gradient prepare step triggered duplicatedly, because they are immediate children of container. But gradients is desigend to fill shape, shape could get ready of the gradients which are applied to. So, container doesn't need to prepare gradient children. 2. Ector shape does prepare its gradient renderer in it's prepare time, each gradients objects doesn't need to prepare renderer separately. Here code skip duplication of sequences of gradients preparation step. by cleaning up logic. Reviewers: #committers Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7269
2018-04-24Efl.Canvas.Vg.Object (from Efl.Canvas.Vg)Xavi Artigas
Also, Efl.Canvas.Vg.* (from Efl.Canvas.VG.*) Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-17eolian gen: enable constness generation on property getter implsDaniel Kolesa
This changes a lot of things all across the EFL. Previously, methods tagged @const had both their external prototype and internal impl generated with const on object, while property getters only had const on the external API. This is now changed and it all has const everywhere. Ref T6859.
2018-02-21efl_vg: namespace movesMike Blumenkrantz
efl.vg -> efl.canvas.vg.node efl.vg.* -> efl.canvas.vg.* ref T6714
2018-02-12evas_vg: implement interpolate from Efl.Gfx.PathMike Blumenkrantz
2018-02-12interfaces: merge all bounds_get methods into efl.gfx.pathMike Blumenkrantz
ref 884fc35160152712decdf7fd43082ef3912c0856
2017-12-11interface: rename Efl.Dup to Efl.Duplicate.Amitesh Singh
dup is considered too short and maybe confusing, hence rename it to duplicate instead.
2017-11-30efl: Introduce interface Efl.DupJean-Philippe Andre
A few classes allow their objects to be duplicated, so they should all use the same interface. Also, rename VG's dup to copy_from as it's not conforming to the definition of dup.
2017-11-08evas/vg: changed the efl_vg_dup api signature.subhransu mohanty
Reviewers: jpeg, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5440
2017-09-18efl: Introduce Eina.Rect and switch EO APIs to itJean-Philippe Andre
It's a complex struct but defined in EO as a simple struct. ABI-wise it's equivalent to Eina_Rectangle. Some macros that use Eina_Rectangle also work on Eina_Rect out of the box, most of the code dealing with x,y,w,h will require no modifications either. But Eina_Rect provides direct access to a size or position 2d component, as well as the usual x,y,w,h. The field "rect" is provided as a convenience for code dealing with both Eina_Rectangle and Eina_Rect. We may or may not require it. Note: Size2D could use unsigned values but I have spotted a few places in the code that actually use -1 to indicate invalid size (as opposed to 0x0). @feature
2016-10-25evas: vg/gradient - add missing legacy api for gradient object creation.Subhransu Mohanty
Reviewers: jpeg, Hermet, artem.popov, cedric Reviewed By: artem.popov, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4331 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-09-28ector: make the ector objects as shared object after eo changes.Subhransu Mohanty
As ector objects are acessed by draw thread we need to create it as shared object in order to access it from other thread. Note: there is some performance lag... Summary: make ector object as shared eo object to acess from other thread. Reviewers: cedric, jpeg, raster Reviewed By: jpeg, raster Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4319
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-05-19evas: propagate the change to child when object is a vector graphic containerSubhransu Mohanty
Summary: let me know whats your thought Reviewers: Hermet, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3893 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-05-11Efl vg: Remove the no longer needed .Base hack.Tom Hacohen
2016-05-11Ector generic: Remove .Generic and .Base (hack no longer needed).Tom Hacohen
2016-03-03Automatic migration to Eo4.Tom Hacohen
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
2015-08-21evas: add logic to duplicate recursively an Efl_VG_Node tree.Cedric BAIL
2015-08-21evas: add support for interpolating Efl_VG_Node tree.Cedric BAIL
2015-05-20Eo: Add a return value to eo_constructor().Tom Hacohen
From now on, constructors should return a value, usually the object being worked on, or NULL (if the constructor failed). This can also be used for implementing singletons, by just always returning the same object from the constructor. This is one of the final steps towards stabilizing Eo. @feature
2015-04-03evas: align naming with ector, use bounds.Cedric BAIL
2015-04-03evas: implements efl_vg_bound_get in all Efl.VG object.Cedric BAIL
2015-04-03evas: add missing boung_get and above/below get.Cedric BAIL
2015-04-03ector: implementation of some common code in Ector.Renderer.Cairo.Base.Cedric BAIL
This require to make some class mixin instead of interface or abstract. So a lot of class renaming is also necessary here.
2015-04-03evas: move Evas.VG_* to Efl.VG.*Cedric BAIL
This also introduce legacy API for all of them.
2015-04-03efl: introduce EFL_GFX_CHANGED event and properly propagate up to Evas.Cedric BAIL
2015-04-03efl: rename namespace Graphics to Gfx.Cedric BAIL
2015-04-03evas: properly propagate Eina_Matrix from the VG scene graph to the ↵Cedric BAIL
Ector_Renderer.
2015-04-03evas: start properly implementing render_pre for Evas_VG_Node.Cedric BAIL
2015-04-03evas: those function should have been static.Cedric BAIL
2015-04-03efl: add a linear gradient interface.Cedric BAIL
2015-04-03evas: add initial Evas_Object_VG.Cedric BAIL
Evas_Object_VG is meant to become an object that can hold a SVG scenegraph inside of it.