summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-23Evas masking: Fix rendering optionsdevs/eunue/evas_maskingJaeun Choi
2014-12-22Evas masking: Fix another set of rendering artifactsJean-Philippe Andre
2014-12-22Evas masking: Fix mask blend functions (SW engine)Jean-Philippe Andre
The selected op func was not performing the correct operation, thus producing rendering artifacts. These functions should not be used anywhere except in case of masking... which was not an available option earlier. It was doing (wrong): dst = interp(mask, src, dst) Instead of (correct): dst = dst + (1 - mask) * src NOTE: This commit also disables MMX, SSE3 & NEON implementations of pixel_mask blend operations, since they are also broken.
2014-12-22Evas masking: Add rectangle masking for GLJean-Philippe Andre
2014-12-22Evas masking: Simplify and fix vertex logic in GLJean-Philippe Andre
There was some geometry problem, and this commit also simplifies a lot of code by factorizing it a lot.
2014-12-22Evas masking: Use new texm sampler instead of texaJean-Philippe Andre
texa should be used only for RGB+A whereas texm should be used for masking. This should fix RGB+A masking, too.
2014-12-22Evas masking: Add support for YUV, YUY2, NV12 masking in GLJean-Philippe Andre
RGB+A masking needs to be implemented, because there's a clash (only one texture name "texa" is available).
2014-12-22Evas masking: Add support for BGRA/ARGB maskingJean-Philippe Andre
Also, refactor font & image GL masking.
2014-12-22Evas masking: Font masking for GLJean-Philippe Andre
2014-12-22Evas masking: Implement image masking for GL enginesJean-Philippe Andre
2014-12-22Evas masking: Implement support for map draw (SW)Jaeun Choi
2014-12-22Evas masking: Implement support for polygon draw (SW)Jaeun Choi
2014-12-22Evas masking: Implement support for line draw (SW)Jaeun Choi
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2014-12-22Evas masking: Add edje supportJaeun Choi
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2014-12-22Evas masking: Implement event masking supportJaeun Choi
In case the clipper is a mask object, we should use precise event masking. By default precise_is_inside is not enabled because it is expensive, but it should probably be set by the application when they use masks as clippers. Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2014-12-22Evas masking: Implement mask support in evas_renderJean-Philippe Andre
This implements supports for masking inside evas_render, which means: - Render the mask itself into a surface (ALPHA if possible) - Pass this mask surface to the draw context - Apply mask recursively in case a masked object is contained by another masked object. @feature
2014-12-22Evas masking: Allow setting an image object as clipperJean-Philippe Andre
The render function is not yet implemented, but this prepares the infra used to set an object other than Rectangle as a clipper. @feature
2014-12-22Evas masking: Add clip_image_[un]set functions to draw contextJean-Philippe Andre
This allows passing a mask image to the render functions. @feature
2014-12-22Evas masking: Use alpha mask in SW engine draw functionsJaeun Choi
Work done by Jaeun Choi, rebased & squashed by jpeg. This commit introduces changes to the low-level draw functions of the SW engine considering the existence of an alpha mask image. Features: - Font masking (TEXT, TEXTBLOCK), - Rectangle masking, - Image masking (all image scaling functions should be handled). The mask image itself is not yet set in the draw context (see following commits). @feature Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2014-12-22Evas GL: Try harder to find a matching config for GLESv1Jean-Philippe Andre
If MSAA was requested, it is very likely that no config was found (depending on the driver), so we'll try again without MSAA. Yeah, this might not look very smooth but it should be better that failing at eglMakeCurrent.
2014-12-22evas: fix memory leak in evas_swapper.kabeer khan
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> @fix Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1800 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-22eet: fix memory leak in eet_cipherkabeer khan
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> @fix Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1799 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-22edje: for now disable near and far as they are keyword on Windows.Cedric BAIL
2014-12-19elua: autocorrect in getoptDaniel Kolesa
2014-12-19elua: handle getopt callback failuresDaniel Kolesa
2014-12-19evas/map: fix aa regression bug.ChunEon Park
2014-12-19Evas GL: Fix list of GLES 1.1 extensionsJean-Philippe Andre
We should use GLESv1 functions in a GLESv1 context to scan for GLESv1 extensions. Makes sense yeah? This should expose the proper list... especially enabling FBO extension when it's supported by the driver.
2014-12-19Evas GL: Add a warning in gl_x11 about MSAA & RGBA for GLES1Jean-Philippe Andre
We've discovered some bugs on some drivers related to MSAA and RGBA blending. Dunno yet if the same problem can affect GLES2 as well.
2014-12-18elua: getopt updatesDaniel Kolesa
2014-12-18edje: fix memory leak in eppThiep Ha
Summary: Variable include_defaults can be allocated and go out of scope without freeing it. Reviewers: cedric, seoz, woohyun, Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D1784
2014-12-18edje/cpplib: fix formattingChunEon Park
2014-12-18edje: free allocated memory in eppThiep Ha
Summary: fname variable's memory is allocated but not freed. Reviewers: cedric, seoz, woohyun, Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D1785
2014-12-17eldbus: Fix crash when removing the last reference of the message container ↵José Roberto de Souza
inside of the message callback If user try to remove the last reference of proxy, object, connection or eldbus(lib) inside of message callback it was causing the eldbus_pending_dispatch() being called 2 times, one because of the eldbus_cancel() that is triggered when the last reference of the message parent is removed and another after the return of the user callback. ==6545== Invalid read of size 8 ==6545== at 0x52F784E: eldbus_cbs_free_dispatch (eldbus_core.c:266) ==6545== by 0x53064AA: eldbus_pending_dispatch (eldbus_pending.c:227) ==6545== by 0x5305961: cb_pending (eldbus_pending.c:74) ==6545== by 0x6B29DB1: ??? (in /usr/lib/libdbus-1.so.3.8.9) ==6545== by 0x6B2D280: dbus_connection_dispatch (in /usr/lib/libdbus-1.so.3.8.9) ==6545== by 0x52F93B4: eldbus_idler (eldbus_core.c:773) ==6545== by 0x4E4B300: _ecore_call_task_cb (ecore_private.h:305) ==6545== by 0x4E4B78F: _ecore_idler_all_call (ecore_idler.c:143) ==6545== by 0x4E4EA73: _ecore_main_loop_spin_core (ecore_main.c:1768) ==6545== by 0x4E4EAF1: _ecore_main_loop_spin_timers (ecore_main.c:1802) ==6545== by 0x4E4ED01: _ecore_main_loop_iterate_internal (ecore_main.c:1925) ==6545== by 0x4E4D03B: ecore_main_loop_begin (ecore_main.c:983) ==6545== Address 0x701aa78 is 104 bytes inside a block of size 128 free'd ==6545== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6545== by 0x530655B: eldbus_pending_dispatch (eldbus_pending.c:241) ==6545== by 0x5306763: eldbus_pending_cancel (eldbus_pending.c:259) ==6545== by 0x52F29DB: _eldbus_proxy_clear (eldbus_proxy.c:146) ==6545== by 0x52F3057: _eldbus_proxy_unref (eldbus_proxy.c:244) ==6545== by 0x52F3393: eldbus_proxy_unref (eldbus_proxy.c:264) ==6545== by 0x401039: on_get_playlists (banshee.c:53) ==6545== by 0x5306493: eldbus_pending_dispatch (eldbus_pending.c:225) ==6545== by 0x5305961: cb_pending (eldbus_pending.c:74) ==6545== by 0x6B29DB1: ??? (in /usr/lib/libdbus-1.so.3.8.9) ==6545== by 0x6B2D280: dbus_connection_dispatch (in /usr/lib/libdbus-1.so.3.8.9) ==6545== by 0x52F93B4: eldbus_idler (eldbus_core.c:773) Now we will remove the pending from parent pending list before call the user callback, this way only the pending messages will be canceled. Also we need increase the eldbus reference before call dbus_connection_dispatch() or user could remove the last reference of eldbus inside of a message callback when we still are holding one reference of the connection. @fix ref T1908
2014-12-17Revert "eldbus hackaround for proxy deletion during pending callback"José Roberto de Souza
This reverts commit 6a08788d59c020aea8e0f24dc072630d5ae61c18. This will be properly fixed on the next patch.
2014-12-17elua: document getopt.luaDaniel Kolesa
2014-12-17elua: error reporting in the libraryDaniel Kolesa
2014-12-17evas - generic loaders - fix possible string overflow on decodersJaehyun Cho
Summary: fix possible string overflow on decoders. this commit is based on commit 3c5412f72879bbce72bfbc7190acd9e5d16d3b46 that fixes CID 1039580. Reviewers: raster Reviewed By: raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1783
2014-12-17eo: Fix example build problem with DSO.Daniel Juyung Seo
/usr/bin/ld: isa/eo_isa_interface.o: undefined reference to symbol 'eina_main_loop_is' /usr/bin/ld: note: 'eina_main_loop_is' is defined in DSO /home//seoz/efl/git/usrcore//binefl//ldsrc:/ libsimple//einasimple_interface.o/:. libsundefined/ libeina.so.1reference soto trysymbol adding' eina_main_loop_isit' to/ usrthe/ binlinker/ ldcommand: linenote
2014-12-17ecore animator pos map - move from v[] array to *v pointer.Carsten Haitzler (Rasterman)
this moves from double v[][ as a param to double *v - which is more consistent with the rest of efl. this shouldnt be an abi break.
2014-12-17evas/tgv: Added DSSIM metric in evas_image_save_tgvkabeer khan
Summary: Resolved TODO to add DSSIM metric in DEBUG_STATS Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric Subscribers: devilhorns, cedric Differential Revision: https://phab.enlightenment.org/D1773
2014-12-17Use NEON intrinsics for mapping instead of inline asmCarsten Haitzler (Rasterman)
Summary: Rewrite linline assembly in mapping func using NEON intrinsics. Reviewers: raster Differential Revision: https://phab.enlightenment.org/D1740
2014-12-16ecore-drm: add error handling, when fail to setup tty.Seunghun Lee
Summary: need to restore vt to text mode, when failed to setup. @fix Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1777
2014-12-16Logically dead code has been removed.Because width will always be less than ↵Nibha Sharma
HOST_BITS_PER_INT so else branch will never execute. Reviewers: singh.amitesh, seoz, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1506
2014-12-16ecore: removed switch case 0 conditionNibha Sharma
Summary: It is removed because it was a deadcode case zero is never reached and executed. Reviewers: singh.amitesh, seoz, raster Reviewed By: raster Subscribers: raster, cedric Differential Revision: https://phab.enlightenment.org/D1432
2014-12-16ecore_con: Added NULL check in dns_so_reset() for dns_socket object.Amitesh Singh
Summary: @fix Reviewers: zmike, tasn, seoz, raster Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D1411
2014-12-16Eina streq: remove redundant code in eina_streq.Tom Hacohen
2014-12-15+eina_memdupMike Blumenkrantz
for those times when three lines of code should be one @feature
2014-12-15eina_streq should immediately return true if both pointers are the sameMike Blumenkrantz
2014-12-15Evas textblock: Remove redundant magic member.Tom Hacohen
We don't use magic since moving to Eo.
2014-12-12ecore: Added getting "WarningLevel" on upower module.MinJeong Kim
Summary: From UPower 0.99.0, a property "OnLowBattery" was removed and upower have recommended to use "WarningLevel" instead. This revision provides "WarningLevel" using the property "DaemonVersion" and it keeps dealing with "OnLowBattery" as well for old system. Fixes T1909 Reviewers: gwanglim, barbieri, zmike, stefan_schmidt Reviewed By: barbieri Subscribers: zmike, stefan_schmidt, cedric Differential Revision: https://phab.enlightenment.org/D1717