summaryrefslogtreecommitdiff
path: root/src/modules (follow)
AgeCommit message (Collapse)Author
10 daysevas ector: ++safety.Hermet Park
add return value by ector_begin() for vector safety.
2020-01-03gl native surf - create pixmap failes - make them warnsCarsten Haitzler (Rasterman)
these can be race conditions so really should be warns and not errors. they just are noise we'll never fix as it's racey anyway...
2020-01-02evas: fix compilation with -Dwl=falseBoris Faure
Reviewed-by: Chris Michael <cp.michael@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10994
2019-12-31evas gl: enable GL_LINE_SMOOTH only at gles 1.xHermet Park
As the GLES specification, GL_LINE_SMOOTH is not supported since GLES2.
2019-12-17ecore_evas: add double header include safetyStefan Schmidt
Reported-By: https://lgtm.com/projects/g/Enlightenment/efl Reviewed-by: Chris Michael <cp.michael@samsung.com> Differential Revision: https://phab.enlightenment.org/D10887
2019-12-11eeze: remove tizen module support from eeze sensorStefan Schmidt
This has been disabled since the move to meson and unlikely to have built before with autotools either. Tizen never adopted this so we can ease our maintenance burden here. The Eeze sensor API itself is EAPI sadly and can't be removed. We will keep the udev backend (temperature only) and the fake backend for testing for now. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10805
2019-12-06imf - make xim+scim the defaults not xim+ibus due to ibus being brokenCarsten Haitzler (Rasterman)
at leats ibus seems to just not work for me on arch at least - even with gtk apps, but scim does, so maybe make scim the main thing again? also allows glib to be off by default. :)
2019-12-06evas vg: remove build warningJunsuChoi
Remove parameter already deleted
2019-12-06vg ector: Call a pair of ector begin/end for ector buffer drawing.Hermet Park
While we render vector drawing on ector,it uses ector buffers for subsequent compositions. In this sequence, it switches ector buffer with a composition target, while resuing the global ector context. Previously, it trickly switched ector buffer, it broke the ector begin/end pair. Now, it needs to recover global ector buffer once the composition finished. Thus ector buffer need to return the current pixels information for this.
2019-12-04emotion & evas: remove gstreamer 0.10 supportStefan Schmidt
We have Gstreamer 1.x support for a long time already. We used to keep this around as fallback. By now Linux distributions start to actually no longer ship the Gstreamer 0.10.x packages and upstream has not seen a release in in 5 years. Time to remove it on our side as well. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10779
2019-11-21vector json: checking valid pointer before accessing it.Hermet Park
2019-11-18evas vg: improve caching methods for better precise behaviors.Hermet Park
Previously, json file data won't be shared between instances. Now, objects can share the json data if they use the same file resource.
2019-11-15gl_drm: remove dead return statementStefan Schmidt
Summary: This return can never be reached in this function. CID: 1402607 Depends on D10682 Reviewers: raster, devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10683
2019-11-13wl_egl : Prevent access to NULL pointerJunsuChoi
Summary: The pointer s can be null. Test Plan: N/A Reviewers: Jaehyun_Cho, raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10654
2019-11-12vg_loader: Get markers information form json data.JunsuChoi
Summary: If json data has marker information, it is stored in vg file data. Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10504
2019-11-12evas_filter: remove shader compile errorShinwoo Kim
Summary: When grayscale fillter works there is a compile error: implicit cast from "float" to "vec3" Test Plan: 1. Create filter_example with following . efl_gfx_filter_program_set(image, "grayscale ()", "grayscale"); 2. Run. ELM_ACCEL=gl ./filter_example Reviewers: Hermet, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10595
2019-11-05evas-wayland-common: Move boolean fields to bottom of structureChristopher Michael
2019-11-05evas-wayland-common: Fix variable typeChristopher Michael
The 'resizing' variable here does not need to be an 'int' as it's either true or false, so change to be Eina_Bool.
2019-11-05evas-wayland-common: Add include for ecore_wl2 internal functionsChristopher Michael
2019-11-05ecore-wl2-dmabuf: Add include for internal functionsChristopher Michael
2019-11-05evas filter: Implement inverse color filterShinwoo Kim
Summary: This is the first version of inverse color filter both GL and SW. Test Plan: 1. Create filter_example with following . efl_gfx_filter_program_set(image, "inverse_color ()", "inverse color"); 2. Run. ./filter_example (Use ELM_ACCEL=gl for GL engine) Reviewers: Hermet, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10335
2019-10-30eina: introduce a simple malloc near implementation for Chained Mempool.Cedric BAIL
This actually seems to significantly and reliably improve speed result with expedite in a higher way than I expected (~10%) which is neat, I guess. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10537
2019-10-30eina: introduce an API for requesting memory near already allocated memory ↵Cedric BAIL
from an Eina_Mempool. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10535
2019-10-30eina: change default policy of Chained Mempool to recycle memory right away.Cedric BAIL
Until now, Chained Mempool would first empty its pool and the started to recycle memory. Now it does always try to recycle first. This should limit memory fragmentation to some extend. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10534
2019-10-29meson: redo evas buildingMarcel Hollerbach
Summary: before recent times we had to support static and shared building based on the options of the user, which forced us to complicate our build with the evas_goal hack. the evas_goal hack more or less was the idea of "faking" the evas build in the evas directory, finish all the .eo generation there, then build the modules and make all the static files ready. Then build everything in evas_goal. Now, that we just build everything the same always, we can simply build it in the evas way (removing the evas_goal hack FINALLY), as the same modules are build statically and shared. This also gives us the possibility to build the shared image loaders *again* the the modules directory, which unbreaks peoples build scripts who packaged loader files seperatly. Reviewers: zmike, raster, cedric, stefan_schmidt Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10548
2019-10-29vg_common_svg: Free node tree for memory leak after eet write.JunsuChoi
Summary: The node tree created from vg_common_svg_create_svg_node is not used after eet_data_write(). Therefore, to prevent memory leaks, free the node tree. Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10443
2019-10-22ecore-evas-wayland: Minor formatting fixesChristopher Michael
NB: No functional changes
2019-10-22ecore_evas_wayland: Fix array step sizeChristopher Michael
Fix bug where eina_array step size was being increased by 10 everytime a handler was pushed to the array. There is no need to increase array size by 10 each time we add 1 pointer to handler. @fix
2019-10-22ecore-evas-wayland: Add handler to arrayChristopher Michael
Small patch to fix bug where last event handler was not being added to the event_hdls array @fix
2019-10-22ecore-evas-wayland: Minor formatting fixChristopher Michael
NB: No functional changes
2019-10-22ecore-evas-wayland: Minor formatting fixChristopher Michael
NB: No functional changes
2019-10-18efl/engines: fix null derefsMike Blumenkrantz
Summary: CIDs 1402640, 1402709 Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10448
2019-10-18evas_vg/svg: fix null derefMike Blumenkrantz
Summary: CID 1405672 Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10446
2019-10-18wl egl - use platform get displayCarsten Haitzler (Rasterman)
if possible, use the platform specific egl get display as a wl egl client. this fixes client side init with ... some drivers that can't auto-detect the display type passed in. @fix
2019-10-15vector json: use lottie apis case by case.Hermet Park
We can request loading from data only in case of actual memory map. The lottie-player would take care of the parsing on utf8/16/32 formats more precisely so that we don't need to take care of this converting from the memory.
2019-10-14ecore_evas/wl2 0 fux xdg close cb for window when it's closed remotelyCarsten Haitzler (Rasterman)
this should fix this: https://matrix.org/_matrix/media/r0/download/matrix.org/lhFneENlWAjuXDaJfSYuJjjJ unfortunately this means adding an api and then using it in ecore_evas. @fix
2019-10-14evas filter: Implement grayscale filter in SWShinwoo Kim
Summary: Initial version implementing grayscale filter in SW. Test Plan: 1. Create filter_example with following. efl_gfx_filter_program_set(image, "grayscale ()", "grayscale"); 1. Run. ./filter_example Reviewers: Hermet, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10219
2019-10-14evas_image: fix memory leakShinwoo Kim
Summary: On the sw engine, an im could be changed and removed by evas_cache_image_size_set. In this case, there is no chance to free its resource and ends up in memory leak. Reviewers: Hermet, raster, jsuya, cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10334
2019-10-05build - images loaders and saver modules need to link to evasCarsten Haitzler (Rasterman)
if your platform is picky enough it won't want to leave unresolved symbols (which wshould be resovled at runtime from the host lib) so we need to link these modules to evas. the problem is due to the complicated build of some modules being static and some shared, evas is declared with evas_goal and this has to be declared after static modules are declared but since i was declaring static and shared at the same time from a table this breaks. so i have to move all the static and shared module stuff into evas_goal into 2 phases. one phase for the static and one for the shared after evas is delcared so evas as a target exists to link to.
2019-10-05build - bring back loaders and savers as modules and/or staticCarsten Haitzler (Rasterman)
so the evas modules able to be static or not was a bit pointless as it could inline all evas modules (or none) not just the most common or not, but ecore evas modules were still modules, so it really wasn't being useful. image loaders ans savers omn the other hand were *ALL* being statically built in without exception. this was kind of a regression in the build system in the move to meson. some were static due to micro optimizations and performance inlining the most common to save a little extra loading + linking + page fragmentation for loaders you are likely to need in most cases as well as save the drity pages from linking in their dependencies (libgif, libtiff, libwebp and all their dependencies too etc. etc.). this now brings back the ability to decide which are static and which are shared modules (not exposed to the user as options for meson - fixed in meson.build files which i think is good enough given the purpose of this).
2019-10-04build - remove evas-modules option as its rather pointlessCarsten Haitzler (Rasterman)
evas-modules affects evas engine modules if they are static or shared, but ecore evas modules are still modules... so all in all this doesnt help much as it still requires modules to be separate from the shared libs, thus disallowing for statically linking efl into an app anyway etc. etc. etc. ... so less options to deal with, less complexity. better.
2019-09-30evas - gl_drm - handle modifiers for drm formatsCarsten Haitzler (Rasterman)
this was/is breaking e on rpi4 as modifiers are used to pass tiling info it seems. we had no support thus leaving garbage in buffers. this fixes that.
2019-09-27evas filter: Implement grayscale filter in pure GLShinwoo Kim
Summary: Initial version implementing grayscale filter in pure GL. This patch needs a logt of love as 5bce712 did. Grasyscale formula: https://www.tutorialspoint.com/dip/grayscale_to_rgb_conversion.htm Test Plan: 1. Create filter_example with following . efl_gfx_filter_program_set(image, "grayscale ()", "grayscale"); 2. Run. ELM_ACCEL=gl ./filter_example Reviewers: Hermet, jsuya Subscribers: ali.alzyod, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9858
2019-09-26ecore-evas/x: detect and track wm existence, apply visibility correctlyMike Blumenkrantz
Summary: this attempts to monitor the _NET_SUPPORTING_WM_CHECK atom to verify whether a wm exists, and bypasses waiting for a configure event from a nonexistent wm if the screen is not currently managed fix T7838 Depends on D10014 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: devilhorns, thierry1970, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7838 Differential Revision: https://phab.enlightenment.org/D9900
2019-09-23osx - require full opengl for gl support on osxCarsten Haitzler (Rasterman)
the default still is gl-es as documented. you need to explicitly turn on full opengl to get gl support on osx because thats all the engine does. document this exception for osx (having gl magically being full on osx and gle-es elsewhere is another option but then we need different os specific defaults for this which is kind of bad in other ways).
2019-09-23ector engine: +null checking.Hermet Park
Null pixels is allowed when drawing region is 0, In that case, the pixel buffer can be destroyed earlier by vg. @fix
2019-09-19eina: add eina_mempool_iterator_new to slowly iterate every allocated ↵Cedric Bail
pointer in a mempool. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9941
2019-09-19evas gl: remove unnecessary null check.Hermet Park
If we check reference validation, the rest of other usage should keep the reference check as well. Remove it since gl prorgram must be valid always here to shutdown the static analyzer reporting this suspicous logic.
2019-09-17eina: fix free support in eina OneBig mempool.Cedric Bail
We use an Eina_Trash to store freed pointer, which require the item size to be at least the size of a pointer. There wasn't any test suite enable for OneBig mempool and we never used free on a small item size... Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9939
2019-09-17eina: fix eina_mempool_from to not report pointer that have never been ↵Cedric Bail
allocated as allocated. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9938