summaryrefslogtreecommitdiff
path: root/src/modules (follow)
AgeCommit message (Collapse)Author
2021-03-22Merge branch 'master' into devs/hermet/lottieHermet Park
2021-03-20evas - gl - stop leaking images and never freeing them from cacheCarsten Haitzler (Rasterman)
the subject says it all @fix
2021-03-15Merge branch 'master' into devs/hermet/lottieHermet Park
2021-03-09evas gl - remove freed gl image from context image listCarsten Haitzler (Rasterman)
fix asan memory mis-access @fix
2021-03-03Merge branch 'master' into devs/hermet/lottieHermet Park
2021-03-01ecore-evas-wayland: Remove wayland wobbly windows junkChristopher Michael
Never worked properly, is unsupported by upstream wayland, and is just general clutter so let's remove it.
2021-02-18Merge branch 'master' into devs/hermet/lottieHermet Park
2021-02-13gl: remove memory leak of orient_setShinwoo Kim
Summary: The tex->pt->references is descreased by evas_gl_common_texture_free -> pt_unref if tex->references is 0 And tex->pt->texture is removed by evas_gl_common_texture_free -> pt_unref -> glDeleteTextures if tex->pt->references is 0 The evas_gl_common_texture_free decreases tex->references only if tex->references is bigger than 0. There is no chance to decrease tex->pt->references at this point. So if orient_set increases both references of tex and tex->pt, then the tex->pt->reference is not decreased till tex->references is 0. So do not increase tex->pt->references in eng_orient_set. Reviewers: raster, cedric, Hermet Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12243
2021-02-06Added the heif loaderthierry1970
Summary: that supports images : *.heif, *hiec and *.avif I have disabled *.avif images, there is already a loader. Reviewers: stefan_schmidt, raster Subscribers: raster, vtorri, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12135
2021-02-06evas - gl engine - look for extension in the right extension string setCarsten Haitzler (Rasterman)
this fixes slow operation on what seems to be a minority of instances that dont advertise the extension in both egl and gl strings @fix
2021-02-01evas - tga loader - ignore origin as it leads to valid tga's not loadingCarsten Haitzler (Rasterman)
@fix
2021-01-20Merge branch 'master' into devs/hermet/lottieHermet Park
2021-01-14evas - let's not set dynamic img hints if extns not thereCarsten Haitzler (Rasterman)
2021-01-14gl: remove invalid read and writeShinwoo Kim
Summary: There could be 2 evas_gl_image referencing 1 evas_gl_texture. evas_object_image_orient_set could make this case. In this case, when one evas_gl_image is removed(free), the evas_gl_texture is not removed because its reference count. After this point, if the other evas_gl_image is removed without drawing (see function evas_gl_common_image_draw, line "im->tex->im = im") then evas_gl_texture is reading invalid adress when it is removed. Reviewers: Hermet, jsuya, herb, devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12229
2021-01-10Merge branch 'master' into devs/hermet/lottieHermet Park
2021-01-06evas webp loader - stop complainig its an invalid fileCarsten Haitzler (Rasterman)
when a file has no extension to guess by.. evas goes back to trying every loader until one works. this leads to noise. loaders should not printf/stder or eina log err anything if the file seems to not be valid. @fix
2020-12-21Merge branch 'master' into devs/hermet/lottieHermet Park
2020-12-18evas - avif - fix for 0.8.2 libavif that broke apiCarsten Haitzler (Rasterman)
also require 0.8.2 ... as well - no point trying to support older versions forever and this is still experimental. fixes T8844 @fix
2020-12-14Merge branch 'master' into devs/hermet/lottieHermet Park
2020-12-07png: handle 9-patch ends with stretchShinwoo Kim
Summary: The strech region has paired information; total and strechable. Refer to function _strech_region_load retrieving strech region info. But if 9-patch information line ends with strechable, png did not push the strechable information. And it leads to devide by zero. This patch is adding strechable info to the strech region, if 9-patch information ends with strechable. Test Plan: [Code] {F4219278} {F4219280} [Test] ECORE_EVAS_ENGINE=opengl_x11 ./evas-image-9patch ./end_with_strech.9.png Reviewers: Hermet, jsuya, herb, cedric Reviewed By: Hermet Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12204
2020-12-07Merge branch 'master' into devs/hermet/lottieHermet Park
2020-11-30evas - fix build on bigendianCarsten Haitzler (Rasterman)
macro forgot to () a param ... so it broke on bigendian as it has spaces and a | ... fixes T8860
2020-11-30Merge branch 'master' into devs/hermet/lottieHermet Park
2020-11-27evas gl - experiment with dithered gl renderingCarsten Haitzler (Rasterman)
this adds a dither func (4x4 dither matrix) to experiment with higher quality rendering in gl - this assumes you have a normal 8bit per channel buffer for now (99% of people) and will approximate values in between the 256 steps 8 bits provides by using the dither matrix based on gl_FragCoord position. it's just a flag in the shader flags for now so can be turned on/off in code. this definitely makes blurs look much better... everything else seems basicall the same. let's see how this goes. @feat
2020-11-25ui transit: improve zoom effect smoothness by subpixel rendering.Hermet Park
Summary: evas image might have a better quaility if scaling/transform is not necessary, so we have a condition to check if image is axis-aligned transformed or not. On the other hand sub-pixel(floating point coordinates unit) rendering necessary if image has an effect such a zooming. This would result in a smoother effect than integer coodinate system. We need a more precise condition to confirm this, so we intrduce "anti-alias" option to decide the condition. now, anti-aliased objects will have a sub-pixel rendering always. Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12194
2020-11-24ui transit: improve zoom effect smoothness by subpixel rendering.Hermet Park
Summary: evas image might have a better quaility if scaling/transform is not necessary, so we have a condition to check if image is axis-aligned transformed or not. On the other hand sub-pixel(floating point coordinates unit) rendering necessary if image has an effect such a zooming. This would result in a smoother effect than integer coodinate system. We need a more precise condition to confirm this, so we intrduce "anti-alias" option to decide the condition. now, anti-aliased objects will have a sub-pixel rendering always. Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12194
2020-11-23Merge branch 'devs/hermet/lottie' of ↵Hermet Park
git+ssh://git.enlightenment.org/core/efl into devs/hermet/lottie
2020-11-20evas gl: make 9 patch workShinwoo Kim
Summary: The 9 patch is using image_stretch_region_get, but GL did not override it. So the 9 patch did not work for GL engine at all. Test Plan: Evas_Object*img = evas_object_image_filled_add(evas); evas_object_image_file_set(img, "test.9.png", 0); evas_object_show(img); Reviewers: Hermet, jsuya, herb, cedric Reviewed By: Hermet Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12192
2020-11-16Merge branch 'master' into devs/hermet/lottieHermet Park
2020-11-10ecore evas - wayland clients - dont set invalid min/max widthCarsten Haitzler (Rasterman)
max width < 0 is wrong.. dont set it. min width < 1 for efl is stupid/invalid and dont set it either, so clamp these and now things work right in corner cases. @fix
2020-11-09Merge branch 'master' into devs/hermet/lottieHermet Park
2020-11-02vg_load_svg: Prevent memory overflow for tag_nameJunsuChoi
Summary: When copying tag_name, if length of referenced string is longer than general case, it is not used as tag_name. Test Plan: N/A Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: kimcinoo, herb, cedric, #committers, #reviewers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12185
2020-10-19Merge branch 'master' into devs/hermet/lottieHermet Park
2020-10-14vg_load_svg: Implement ClipPath featureJunsuChoi
Summary: Supports case of using style attribute for defined <clipPath> and node. In SVG, <clipPath> can be used as a "clipPath" attribute or a style "clip-path". If there is a clip-path node, save it as a composition node and use composition method(matte_alpha) to compose it. Below node types support clip-path. <circle> <ellipse> <g> <path> <polygon> <polyline> <rect> Test Plan: Please see attached svg files {F4026162} Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: #reviewers, #committers, cedric, herb, kimcinoo Tags: #efl Differential Revision: https://phab.enlightenment.org/D12179
2020-10-14vg_load_svg: Implement ClipPath featureJunsuChoi
Summary: Supports case of using style attribute for defined <clipPath> and node. In SVG, <clipPath> can be used as a "clipPath" attribute or a style "clip-path". If there is a clip-path node, save it as a composition node and use composition method(matte_alpha) to compose it. Below node types support clip-path. <circle> <ellipse> <g> <path> <polygon> <polyline> <rect> Test Plan: Please see attached svg files {F4026162} Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: #reviewers, #committers, cedric, herb, kimcinoo Tags: #efl Differential Revision: https://phab.enlightenment.org/D12179
2020-10-13Ecore_Win32: add the API ecore_win32_window_maximized_set()Vincent Torri
Summary: ecore_evas win32 engine is updated to support it. This fixes the "maximized/unmaximized" elm "windows states" test. Test Plan: elm_test Reviewers: raster, jptiz, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12177
2020-10-13Ecore_Evas win32: fix activate() functionVincent Torri
Summary: activating the function needs un-iconified first Test Plan: elm windows status tests Reviewers: raster, jptiz, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12176
2020-10-12evas svg: Fix build errorJunsuChoi
Fix build error from 9e14a57020
2020-10-12evas svg: avoid unnecessary memory clear.Hermet Park
2020-10-12vg_load_svg: Add points copy of missing polygon/polylineJunsuChoi
Summary: When using <use> node, do atrribute copy. At that time, when target(url) is polygon or polyline, points array is not copied, causing a problem in output. So, add missing array copy. Test Plan: - Test SVG code <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve"> <g opacity="0.5"> <defs> <polygon id="test" opacity="0.5" points="41.8,14.5 22.2,14.5 22.2,22.8 41.8,40.7"/> </defs> <use xlink:href="#test" overflow="visible"/> </g> </svg> Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: #reviewers, #committers, kimcinoo, herb, cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D12174
2020-10-12vg_load_svg: Add points copy of missing polygon/polylineJunsuChoi
Summary: When using <use> node, do atrribute copy. At that time, when target(url) is polygon or polyline, points array is not copied, causing a problem in output. So, add missing array copy. Test Plan: - Test SVG code <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve"> <g opacity="0.5"> <defs> <polygon id="test" opacity="0.5" points="41.8,14.5 22.2,14.5 22.2,22.8 41.8,40.7"/> </defs> <use xlink:href="#test" overflow="visible"/> </g> </svg> Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: #reviewers, #committers, kimcinoo, herb, cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D12174
2020-10-12Merge branch 'master' into devs/hermet/lottieHermet Park
2020-10-10Ecore_Evas win32 module: do not set evas viewport size to 0Vincent Torri
Summary: When a window is iconified, its size is 0x0 and is passed to evas viewport. Set the size to 1x1 in that case Test Plan: Elementary "windows states" test Reviewers: raster, jpcordovae, felipealmeida, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12171
2020-10-08Evil : move mkstemp(s) and mkdtemp in eina_file directlyVincent Torri
Summary: Also replace all mkstemp(s) and mkdtemp with the eina_file functions in the source Test Plan: run eina_file test Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12170
2020-10-05Merge branch 'master' into devs/hermet/lottieHermet Park
2020-09-30Windows: fix copy'n pasteVincent Torri
Summary: fix seat id and clean cnp data when needed Test Plan: Ctrl-c and Ctrl-V (elm-->app, app--> elm elm-->elm) Reviewers: jptiz, walac, cochisecesar, bu5hm4n, felipealmeida, raster Reviewed By: felipealmeida, raster Subscribers: netstar, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12166
2020-09-25build: addition to abf0e9dffe35da8fa6e20055f53786b2adbec271Marcel Hollerbach
the fix is also needed in ecore_imf modules. Thank you Ross!
2020-09-24build: fix dependencies of software engineMarcel Hollerbach
before the efl-one refactoring ecore_x_deps contained all the dependencies for x11. After that not anymore, however, we should link software_x11 to x11 libs directly, which is again happening after this here.
2020-09-21Merge branch 'master' into devs/hermet/lottieHermet Park
2020-09-19emotion - check return of eet data writeCarsten Haitzler (Rasterman)
fix CID 1401040