summaryrefslogtreecommitdiff
path: root/src/lib/ector (follow)
AgeCommit message (Collapse)Author
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
2017-09-17ector: move gradient color computation to a pool of thread.Cedric Bail
This has been a long standing plan for improving performance in rendering vector object. If your test involve updating gradient, you will get another speedup of around 15%. Combined with previous shape, we get a 65% improvement with doing the CPU intensive computation in there own thread before the rendering kickoff. This was motly theorical until now, but well, it works great !
2017-09-17ector: move RLE shape/stroke computation to a pool of thread.Cedric Bail
This has been a long standing plan for improving performance in rendering vector object. Depending on the test, you will get an improvement between 10 to 35% when rendering vector based object. We are still maintaining the Cairo backend as the default one at the moment due to a lack of result comparison tests between the two engine. Hopefully we should get that covered and we can all enjoy a backend that is 4 times faster by default.
2017-09-17ector: avoid calling function pointer when it is unecessary.Cedric Bail
2017-09-17ector: add ability to run task in another thread during preparation stage.Cedric Bail
2017-09-12ector: Copyedit Ector doxygenBryce Harrington
Summary: - Fix various spelling and grammar errors. - Add a slight bit more explanation of what Ector is. - Condense compilation directions similar to Evas. Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5176
2017-08-29ector: cleanup grammar in commentsBryce Harrington
Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5132 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-08-15ector: fix EAPI on WindowsVincent Torri
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-08-02ector - fix coveirty fix - vmin is -vmax not -vminCarsten Haitzler (Rasterman)
2017-07-29ector software - fix min/max int range for fixedpoint mathCarsten Haitzler (Rasterman)
min value bitshifts are negative and thus not portable. just tax max (as its 1 more than min it if we do -max) as the limit as its within range. this should fix it @fix found by PVS studio
2017-06-14ector: document ector_glsym_setBryce Harrington
Reviewers: cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4964 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-06-07docs: Fix typos and some wrong expressions in Ecore, Ecore_Audio, ↵Myoungwoon Roy, Kim
Ecore_Cocoa, Ecore_Con, and Ector API reference doxygen. Summary: I had fixed some typos and wrong expressions, such as capital letters, $simbols in .eo and singulars in Ecore, Ecore_Audio, Ecore_Cocoa, Ecore_Con, and Ector API reference doxygen. Test Plan: Doxygen Revision Reviewers: Jaehyun_Cho, stefan, jpeg, cedric, raster Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D4943
2017-04-18efl: Remove manual definitions of event "changed"Jean-Philippe Andre
Honestly I can't see why gfx & gfx.path "changed" need a manual definition, instead of relying on EO. If the API needs to be internal only, then EO needs to handle internal APIs. In this case, the event was exposed as a C API but not a EO... why?
2017-04-14evas filters: Refactor ector and gfx filters A LOTJean-Philippe Andre
Alright, so this is a massive patch that is the result of trying to get rid of unused or poorly implemented classes in ector. Originally ector was meant to support VG but extend to things like filters as well. At the moment, ector's design makes it quite hard to plug in the filters. For now I think it's easier to implement the GL support for the filters directly in the engine, where I hope to interfere as little as possible. This massive patch keeps only the required minimum to support a versatile gl buffer that can be mapped, drawn or rendered to (FBO). It's extremely inefficient as it relies on glReadPixels and lots of texture uploads, as well as conversions between ARGB and Alpha. Another type of GL buffer is a wrap around an existing GL image, but that one is read-only (map or draw: no write map, no FBO). No, all the filters run fine, and the high-level implementation (evas_filters.c) does not need to know whether the underlying engine is SW or GL. One problem though appears with the blending or blurring of some Alpha buffers, the colors are wrong. This patch removes more lines than it adds so it must be good ;)
2017-01-27cmake: fix make-clean as add_custom_command() deletes output files.Gustavo Sverzut Barbieri
there is no way to mark output file as "precious", then cmake's suggestion is to use add_custom_target() instead. However that will always execute, so our generator script needs to be smarter and only touch stuff when actually needed.
2017-01-27cmake: add EFL_SUPPORT_LIB() and simplify/speedup its usage.Gustavo Sverzut Barbieri
generate a static library for src/static_libs and use that as LIBRARIES for the actual library, for those such as rg_etc that are used multiple times will even speed up the final build by compiling only once. Although not used, they can be made into shared libraries that would go inside /usr/lib/efl/support/v-1.19/libname.so
2017-01-27cmake: add ector.Gustavo Sverzut Barbieri
2017-01-13eolian: change eo file syntax @virtual_pure -> @pure_virtualDaniel Kolesa
2017-01-06eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ.Cedric BAIL
2016-12-27ector: use new property impl syntaxDaniel Kolesa
2016-12-27efl: move some eo files to new property impl syntaxDaniel Kolesa
2016-12-20headers: update copyrightDerek Foreman
2016-12-20ector: remove float comparison warningsChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-19ector_gl: Add some EGL typedefs to internal headerDerek Foreman
This lets us include EGL/egl.h in gl_common.
2016-11-23efl interface: introduce efl_gfx_path mixin.Hermet Park
As we discussed, redesigned efl_gfx_shape mixin. Split path properties/methods from the shape so that other classes benefit from the path.
2016-11-15evas/vg: fix handling of stroke width in cairo and native backendSubhransu Mohanty
T3351 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-11-15docs: ector: fill gaps in ector eo file documentationStefan Schmidt
2016-11-15docs: ector_software: fill gaps in ector software backend eo file documentationStefan Schmidt
2016-11-15docs: ector_gl: fill gaps in ector gl backend eo file documentationStefan Schmidt
2016-11-15docs: ector_cairo: fill gaps in ector cairo backend eo file documentationStefan Schmidt
2016-11-07ector: update the render api eo signetureSubhransu Mohanty
2016-11-03ector_renderer_gl: remove pointerDaniel Kolesa
2016-11-03ector_cairo_surface: remove pointerDaniel Kolesa
2016-11-03ector_gl_surface: remove pointersDaniel Kolesa
2016-11-03ector_renderer: remove pointersDaniel Kolesa
2016-11-03ector_buffer: remove pointersDaniel Kolesa
2016-11-03docs: document all missing type defines in our eo filesStefan Schmidt
With this commit we reach 100% alias doc coverage for our eo files.
2016-10-25docs: harmonise use of enum sentinel description in eo filesStefan Schmidt
2016-09-05Rename efl_self to efl_addedTom Hacohen
It has been discussed on the ML (thread: "[RFC] rename efl_self") and IRC, and has been decided we should rename it to this in order to avoid confusion with the already established meaning of self which is very similar to what we were using it for, but didn't have complete overlap. Kudos to Marcel Hollerbach for initiating the discussion and fighting for it until he convinced a significant mass. :) This commit breaks API, and depending on compiler potentially ABI. @feature
2016-08-30efl callbacks: update some events calls to no longer trigger legacy callbacksdevs/vitorsousa/update_event_callsVitor Sousa
2016-08-30Efl object: Rename Eo_Event -> Efl_Event.Tom Hacohen
This is the last step of the Eo renaming efforts.
2016-08-26Efl Object: remove legacy callback calls from event_callback_callVitor Sousa
Efl.Object.event_callback_call no longer calls legacy smart callbacks; calling only event callbacks registered with the given event description pointer. Create the method Efl.Object.event_callback_legacy_call to inherit the old behavior from Efl.Object.event_callback_call, calling both Efl.Object events and legacy smart callbacks. Update all other files accordingly in order to still supply legacy callbacks while they are necessary.
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-08-05efl: Cleanup some code (return values)Jean-Philippe Andre
This removes some useless code in various places, where the switch from eo_do() to standard function call was not properly refactored. This changes: type ret = 0; ret = my_eo_function(); return ret; To: return my_eo_function();
2016-08-01autotools: since it has been broken for some times and nobody noticed, let's ↵Cedric BAIL
remove per directory support.
2016-07-18Evas GL: Use [u]int64_t directly in all APIsJean-Philippe Andre
This removes the need for khronos_[u]int64_t as well as the special typdef EvasGL[u]int64. Hopefully this should work on all platforms (note: [u]int64_t is used in Eina APIs, so it is already required for EFL apps). Fixes T3200
2016-07-08ecotr gl - fix leak found by coverityCarsten Haitzler (Rasterman)
fix CID 1347412
2016-06-30ector: add basic description to renderer mixinsStefan Schmidt
2016-06-30ector: further document gl buffer base classStefan Schmidt