platform/upstream/efl.git
9 years agoector: initial introduction.
Cedric BAIL [Fri, 3 Apr 2015 14:14:56 +0000 (16:14 +0200)]
ector: initial introduction.

Idea for this library is to become a retained mode drawing library that use
Eo/Eolian for its API and take a lot of the good design from Enesim by
Jorge Zapata and Jose Gonzalez (http://enesim.org/).

9 years agoefl: use Efl_Geometry_Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:14:55 +0000 (16:14 +0200)]
efl: use Efl_Geometry_Shape.

9 years agoefl: add an interface for Efl_Geometry_Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:14:54 +0000 (16:14 +0200)]
efl: add an interface for Efl_Geometry_Shape.

9 years agoevas: fix Evas_VG eo files.
Cedric BAIL [Fri, 3 Apr 2015 14:14:52 +0000 (16:14 +0200)]
evas: fix Evas_VG eo files.

9 years agoevas: implement all Evas_VG_Shape property.
Cedric BAIL [Fri, 3 Apr 2015 14:14:51 +0000 (16:14 +0200)]
evas: implement all Evas_VG_Shape property.

9 years agoevas: actually compile Evas_VG_Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:14:50 +0000 (16:14 +0200)]
evas: actually compile Evas_VG_Shape.

9 years agoevas: move Evas_VG_Node structure declaration into a shared header to use it directly...
Cedric BAIL [Fri, 3 Apr 2015 14:14:48 +0000 (16:14 +0200)]
evas: move Evas_VG_Node structure declaration into a shared header to use it directly from Evas_VG.

9 years agoevas: fix prototype and correctly call the function.
Cedric BAIL [Fri, 3 Apr 2015 14:14:47 +0000 (16:14 +0200)]
evas: fix prototype and correctly call the function.

9 years agoevas: declare internal evas_vg helper.
Cedric BAIL [Fri, 3 Apr 2015 14:14:46 +0000 (16:14 +0200)]
evas: declare internal evas_vg helper.

9 years agoeo: internal variable should not have that much chance to conflict prefix them with...
Cedric BAIL [Fri, 3 Apr 2015 14:14:19 +0000 (16:14 +0200)]
eo: internal variable should not have that much chance to conflict prefix them with ___.

9 years agoevas: handle path set on shape object.
Cedric BAIL [Fri, 3 Apr 2015 14:13:13 +0000 (16:13 +0200)]
evas: handle path set on shape object.

9 years agoevas: implement stupid bound get at container level.
Cedric BAIL [Fri, 3 Apr 2015 14:13:12 +0000 (16:13 +0200)]
evas: implement stupid bound get at container level.

9 years agoevas: add Efl.File interface to Evas_Object_VG.
Cedric BAIL [Fri, 3 Apr 2015 14:13:11 +0000 (16:13 +0200)]
evas: add Efl.File interface to Evas_Object_VG.

9 years agoevas: add Evas_VG_Image.
Cedric BAIL [Fri, 3 Apr 2015 14:13:07 +0000 (16:13 +0200)]
evas: add Evas_VG_Image.

9 years agoevas: implement Evas_VG_Node stacking functions.
Cedric BAIL [Fri, 3 Apr 2015 14:13:06 +0000 (16:13 +0200)]
evas: implement Evas_VG_Node stacking functions.

9 years agoevas: Evas_VG_Root_Node should only be attached to an Evas_Object_VG.
Cedric BAIL [Fri, 3 Apr 2015 14:13:05 +0000 (16:13 +0200)]
evas: Evas_VG_Root_Node should only be attached to an Evas_Object_VG.

9 years agoevas: remove unecessary duplicated code.
Cedric BAIL [Fri, 3 Apr 2015 14:13:03 +0000 (16:13 +0200)]
evas: remove unecessary duplicated code.

9 years agoevas: add evas_vg note.
Cedric BAIL [Fri, 3 Apr 2015 14:13:02 +0000 (16:13 +0200)]
evas: add evas_vg note.

9 years agoevas: add utility function to build path.
Cedric BAIL [Fri, 3 Apr 2015 14:13:00 +0000 (16:13 +0200)]
evas: add utility function to build path.

9 years agoevas: add initial Evas_Object_VG.
Cedric BAIL [Fri, 3 Apr 2015 14:12:59 +0000 (16:12 +0200)]
evas: add initial Evas_Object_VG.

Evas_Object_VG is meant to become an object that can hold a SVG
scenegraph inside of it.

9 years agoeina: add eina_matrix.
Cedric BAIL [Fri, 3 Apr 2015 14:12:48 +0000 (16:12 +0200)]
eina: add eina_matrix.

This code come from Enesim and was done by Jorge. I did just take care
of changing the namespace and coding style.

9 years agoevas/common Fixed incorrect blend pixel color logic in neon.
ChunEon Park [Fri, 3 Apr 2015 10:38:33 +0000 (19:38 +0900)]
evas/common Fixed incorrect blend pixel color logic in neon.

previously, it had the remaining value issues on blending computation.
The blending color result was in correct.

Signed-Off-By: Vladimir Kuramshin <v.kuramshin@samsung.com>
9 years agoEvas GL common: Fix shaders for GLX
Jean-Philippe ANDRE [Fri, 3 Apr 2015 08:55:12 +0000 (17:55 +0900)]
Evas GL common: Fix shaders for GLX

Oops! There had to be a breakage somewhere. That's it :)
Thanks Oleksander Shcherbina for the report.

Fixes T2266.

9 years agoEvas GL common: Fix GL masking with 12,21,22 sampling
Jean-Philippe Andre [Fri, 3 Apr 2015 06:37:09 +0000 (15:37 +0900)]
Evas GL common: Fix GL masking with 12,21,22 sampling

This is a new feature introduced by the shaders refactoring:
even masking shaders now support smooth sampling of the masked image
using the special 12,21,22 shaders.

Also, refactor the list of texture bindings so that it's
automatically generated by the script, as opposed to being a
manual list...

9 years agoEvas GL common: Fix shader sampling and check nomul
Jean-Philippe Andre [Fri, 3 Apr 2015 02:01:59 +0000 (11:01 +0900)]
Evas GL common: Fix shader sampling and check nomul

Now that the shader select function checks the values of "sam"
and "nomul", we can avoid sending the color to the shader when
it's a "nomul" shader. This will most likely give a performance
boost of roughly 0.00000001%.

9 years agoEvas GL common: Factorize GL shader selection code
Jean-Philippe Andre [Thu, 2 Apr 2015 06:50:33 +0000 (15:50 +0900)]
Evas GL common: Factorize GL shader selection code

Improve the shader selection function to handle all possible
cases. Only images really need special handling as they
support so many parameters.

9 years agoEvas GL common: Factorize shader generation code
Jean-Philippe Andre [Wed, 1 Apr 2015 06:15:51 +0000 (15:15 +0900)]
Evas GL common: Factorize shader generation code

Remove all individual shaders, factorize everything into
one vertex and one fragment shader. All previous functionality
has been kept as is[*]. Some new features have been added
(new shader types).

This is a first step in simplifying and improving the shaders system.
Next: simplify shader selection

[*] Yeah, that's quite a bold statement here. Maybe I broke everything.

9 years agoEvas masking: Remove map_mask shaders
Jean-Philippe Andre [Wed, 1 Apr 2015 07:40:09 +0000 (16:40 +0900)]
Evas masking: Remove map_mask shaders

Those are now duplicates of IMG_MASK

9 years agoedje: move Edje_Color_Class->desc to end of struct
Mike Blumenkrantz [Thu, 2 Apr 2015 19:20:21 +0000 (15:20 -0400)]
edje: move Edje_Color_Class->desc to end of struct

this allows memory layout compatibility with Elm_Color_Class

9 years agoedje: return immediately when setting color class if class is not in use
Mike Blumenkrantz [Thu, 2 Apr 2015 17:05:09 +0000 (13:05 -0400)]
edje: return immediately when setting color class if class is not in use

9 years agoelua: lualian generator code cleanup
Daniel Kolesa [Thu, 2 Apr 2015 15:18:37 +0000 (16:18 +0100)]
elua: lualian generator code cleanup

9 years agoelua: cleanup lualian class generation
Daniel Kolesa [Thu, 2 Apr 2015 14:08:47 +0000 (15:08 +0100)]
elua: cleanup lualian class generation

9 years agoedje_cc: Add options -V/--version to show edje_cc version.
Stefan Schmidt [Thu, 2 Apr 2015 13:48:58 +0000 (15:48 +0200)]
edje_cc: Add options -V/--version to show edje_cc version.

Requested to ease debugging on deployments.

Fixes T2213

9 years agoeet: Add options -V/--version to show eet version.
Stefan Schmidt [Thu, 2 Apr 2015 13:40:05 +0000 (15:40 +0200)]
eet: Add options -V/--version to show eet version.

Requested to ease debugging on deployments.

ref T2213

9 years agoeet: List -h option in help message
Stefan Schmidt [Thu, 2 Apr 2015 13:32:06 +0000 (15:32 +0200)]
eet: List -h option in help message

9 years agoEeze.h: Delete white space.
woochan lee [Thu, 2 Apr 2015 12:47:42 +0000 (14:47 +0200)]
Eeze.h: Delete white space.

Summary: Delete white space in Eeze.h

Reviewers: cedric, Sergeant_Whitespace

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2246

9 years agoecore_evas - eetpack utility for packing files (imgs) into eet files
Carsten Haitzler (Rasterman) [Thu, 2 Apr 2015 02:50:08 +0000 (11:50 +0900)]
ecore_evas - eetpack utility for packing files (imgs) into eet files

this adds a new utility called "eetpack" that uses eet, ecore_evas,
eina and evas to stuff images with various compressions/encodings (as
well as raw data in a simple way) into eet files like edj files or any
eet archive. can be used in combination with the "eet" utility and
edje_cc generated edj files.

@feature

9 years agoelua: only check gettability in __index with no keys
Daniel Kolesa [Wed, 1 Apr 2015 13:22:00 +0000 (14:22 +0100)]
elua: only check gettability in __index with no keys

9 years agoelua: clarify comments in eo.lua (explain how the property system works)
Daniel Kolesa [Wed, 1 Apr 2015 13:19:49 +0000 (14:19 +0100)]
elua: clarify comments in eo.lua (explain how the property system works)

9 years agoefreetd - cache - fix handling a text index file with 0 length lines
Carsten Haitzler (Rasterman) [Wed, 1 Apr 2015 11:43:54 +0000 (20:43 +0900)]
efreetd - cache - fix handling a text index file with 0 length lines

this fixes an efreetd cache crash where files like icon.exts might
have lines with just a newline and no extension/content on the line.

@fix

9 years agoedje_calc: fix SEGFAULT on new parts
Andrii Kroitor [Wed, 1 Apr 2015 11:23:38 +0000 (07:23 -0400)]
edje_calc: fix SEGFAULT on new parts

Summary: new part added with edje_edit_part_add has NULL previous description

Reviewers: cedric, zmike, seoz, Hermet, raster

Subscribers: FurryMyad, cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2272

9 years agoecore: Move documentation for ecore_timer_add at the correct place.
Stefan Schmidt [Wed, 1 Apr 2015 08:23:00 +0000 (10:23 +0200)]
ecore: Move documentation for ecore_timer_add at the correct place.

Many thanks to Vinicius dos Santos Oliveira for spotting this and
pointing it out on the mailing list.

9 years agoedje calc now more correctly forces recalc for child groups on state change
Mike Blumenkrantz [Wed, 1 Apr 2015 03:28:33 +0000 (23:28 -0400)]
edje calc now more correctly forces recalc for child groups on state change

in the event of fixed size -> non-fixed size (eg. previous commit optimization),
this calc would no longer occur, so we need to queue it. also if fixed.w or
fixed.h changes value for a group part, we must recalc the group to ensure correct
sizing occurs

9 years agoedje calc no longer performs calculations for group parts of fixed size > 0
Mike Blumenkrantz [Wed, 1 Apr 2015 03:27:01 +0000 (23:27 -0400)]
edje calc no longer performs calculations for group parts of fixed size > 0

when I said > 0 in the last commit message, I was thinking ahead to this commit
which I knew I would later have to make, but had not yet written because I had not
spent the requisite number of hours debugging the code to know that I needed to
have the check in both the code and the commit message

ref 3a451650d2f875077419e5777c49d04c618211f0

9 years agoEvas masking: Implement polygon masking (GL)
Jean-Philippe Andre [Wed, 1 Apr 2015 02:01:48 +0000 (11:01 +0900)]
Evas masking: Implement polygon masking (GL)

9 years agoEvas masking: Ensure texture is up-to-date before drawing (GL)
Jean-Philippe Andre [Wed, 1 Apr 2015 01:54:45 +0000 (10:54 +0900)]
Evas masking: Ensure texture is up-to-date before drawing (GL)

9 years agoEvas GL common: whitespace fixes
Jean-Philippe Andre [Wed, 1 Apr 2015 01:42:14 +0000 (10:42 +0900)]
Evas GL common: whitespace fixes

9 years agoEvas masking: Implement line masking in GL
Jean-Philippe Andre [Wed, 1 Apr 2015 01:39:36 +0000 (10:39 +0900)]
Evas masking: Implement line masking in GL

This commit also introduces a few whitespace changes...

9 years agoEvas GL generic: Simplify "scaled" images (used for masking)
Jean-Philippe Andre [Wed, 1 Apr 2015 00:58:05 +0000 (09:58 +0900)]
Evas GL generic: Simplify "scaled" images (used for masking)

Invert the meaning of scaled (w,h), so that im->(w,h) corresponds
to the final scaled size, and the original size is stored directly
in the texture itself.

This simplifies code a little bit.

Also, lift the limitation on the maximum texture size, as those
virtual textures are not limited by GPU texture size.

9 years agoEvas masking: Refactor GL code
Jean-Philippe Andre [Tue, 31 Mar 2015 09:58:51 +0000 (18:58 +0900)]
Evas masking: Refactor GL code

Use the same method as for map masking:
- Pass absolute geometry of the mask to the push functions,
- Compute absolute position in the shader (like gl_Position)
  and apply scaling factor + offset to sample the mask.

Masking now uses a single vec4 attribute instead of hi-jacking
other vertices.

This way, all masking shaders share the same code and are way
simpler. On the other hand, the vertex shaders have a little bit
more work to do.

9 years agoecore_file - fix nasty memory issues in ecore_file_app_exe_get()
Carsten Haitzler (Rasterman) [Wed, 1 Apr 2015 00:30:13 +0000 (09:30 +0900)]
ecore_file - fix nasty memory issues in ecore_file_app_exe_get()

valgrind was most unhappy with ecore_file_app_exe_get(). like:

==8331== Invalid write of size 1
==8331==    at 0x68DE90A: ecore_file_app_exe_get (ecore_file.c:994)
==8331==  Address 0x1348e58f is 0 bytes after a block of size 31 alloc'd
==8331==    at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==8331== Invalid write of size 1
==8331==    at 0x68DE948: ecore_file_app_exe_get (ecore_file.c:1000)
==8331==  Address 0x1348e599 is 10 bytes after a block of size 31 alloc'd
==8331==    at 0x4C28C20: malloc (vg_replace_malloc.c:296)

etc. etc. - so i rewrote it cleanly using strbuf to save code and
effort. cleaner now and ACTUALLY works correctly... and no valgrind
complaints.

@fix

9 years agoedje object swallowing no longer forces a full recalc
Mike Blumenkrantz [Tue, 31 Mar 2015 23:15:17 +0000 (19:15 -0400)]
edje object swallowing no longer forces a full recalc

this (and/or related prior commits) seems to have hugely improved
edje performance across the board. particularly noticeable in the
settings pane animations for terminology

 #aprilfools

9 years agoedje object scale factor changes now trigger deferred recalcs
Mike Blumenkrantz [Tue, 31 Mar 2015 23:12:26 +0000 (19:12 -0400)]
edje object scale factor changes now trigger deferred recalcs

as with the previous commit, any user who wants geometry immediately
will be calling calc functions, so this is just going to be redundant
except in cases where calc is not wanted, in which case it is unnecessary
overhead

9 years agoedje group part init no longer forces synchronous hint updating during load
Mike Blumenkrantz [Tue, 31 Mar 2015 23:11:24 +0000 (19:11 -0400)]
edje group part init no longer forces synchronous hint updating during load

hints will be updated later and any user who wants these hints is going to
be calling edje calc functions anyway, causing this to be a redundant calc

9 years agoedje calc no longer forces proxy part source calcs for currently-hidden proxies
Mike Blumenkrantz [Tue, 31 Mar 2015 23:10:02 +0000 (19:10 -0400)]
edje calc no longer forces proxy part source calcs for currently-hidden proxies

this saves a bit of calc time when a proxy part is not currently visible

9 years agoedje calc no longer performs calculations for group parts of fixed size
Mike Blumenkrantz [Tue, 31 Mar 2015 23:07:46 +0000 (19:07 -0400)]
edje calc no longer performs calculations for group parts of fixed size

if the min/max of a part are identical and > 0, the part's min size is guaranteed
to be this size. there is no need to perform expensive recursive calcs here

9 years agoedje: add edje_file_iterator_new().
Cedric BAIL [Tue, 31 Mar 2015 21:23:32 +0000 (23:23 +0200)]
edje: add edje_file_iterator_new().

This list the actually opened Edje file by the current process.

9 years agoedje: fix build break.
Cedric BAIL [Tue, 31 Mar 2015 21:21:12 +0000 (23:21 +0200)]
edje: fix build break.

9 years agoedje: add edje_mmap_color_class_iterator_new().
Cedric BAIL [Tue, 31 Mar 2015 19:57:23 +0000 (21:57 +0200)]
edje: add edje_mmap_color_class_iterator_new().

This function make it possible to list the Color class of a specific Edje file.

9 years agoedje: add option to dump gnu style include dependencies in edje_cc.
Dinesh Dwivedi [Tue, 31 Mar 2015 15:40:30 +0000 (17:40 +0200)]
edje: add option to dump gnu style include dependencies in edje_cc.

Summary:
We were facing one problem in tizen sdk's build system as it does not trigger build for edc file
if only sub-edc files are changed. During analysis, we found that there is no option in edje_cc
for dumping include dependencies which other compiler (clang/ gcc etc) does have. We can do other
hack to solve this problem but it will be great if edje_cc can emit gnu style include dependency
target.

This patch will add support to generate gnu format include dependency file while compiling edc file.
similar to what gcc generates with option '-MMD -MF=<dep_file> -MT<dep_file>'
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Preprocessor-Options.html

Test Plan: no failure in existing test

Reviewers: raster, cedric

Reviewed By: cedric

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D2263

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas/software_x11: Environment can influence the flow when the value is 1 not else.
Minkyoung Kim [Tue, 31 Mar 2015 05:13:06 +0000 (14:13 +0900)]
evas/software_x11: Environment can influence the flow when the value is 1 not else.

Summary: Do not try swapbuf init only if value of env 'EVAS_NO_DRI_SWAPBUF' is 1.

Reviewers: jpeg

Subscribers: spacegrapher, cedric, wonsik

Differential Revision: https://phab.enlightenment.org/D2259

9 years agoedje: get the color class value by iterating over all possible value provider.
Cedric BAIL [Tue, 31 Mar 2015 03:36:38 +0000 (05:36 +0200)]
edje: get the color class value by iterating over all possible value provider.

9 years agoedje: add edje_color_class_active_iterator_new()
Cedric BAIL [Tue, 31 Mar 2015 02:24:48 +0000 (04:24 +0200)]
edje: add edje_color_class_active_iterator_new()

This function make it possible to get a list of active Edje_Color_Class
in an application. Think about Enlightenment color class configuration,
but can now be done on any application dynamically.

@feature

9 years agoedje: make Edje_Color_Class a public structure.
Cedric BAIL [Tue, 31 Mar 2015 01:32:35 +0000 (03:32 +0200)]
edje: make Edje_Color_Class a public structure.

9 years agoEvas 3D: Fix shadow map shader
Oleksandr Shcherbina [Mon, 30 Mar 2015 23:34:32 +0000 (08:34 +0900)]
Evas 3D: Fix shadow map shader

Summary:
Silly mistake after this b9b5ced501f4642f03d8bcc8441fd3f7b55a7f52 commit.
Seems uninitialized components of vector gl_FragColor

Reviewers: cedric, Hermet, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2258

9 years agoedje: force NULL initialization of desc pointer.
Cedric BAIL [Mon, 30 Mar 2015 20:31:34 +0000 (22:31 +0200)]
edje: force NULL initialization of desc pointer.

9 years agoedje: this desc pointer is actually never set.
Cedric BAIL [Mon, 30 Mar 2015 20:31:10 +0000 (22:31 +0200)]
edje: this desc pointer is actually never set.

9 years agoecore_drm: use get_vt instead of parsing the tty attribute
Marcel Hollerbach [Mon, 30 Mar 2015 14:31:56 +0000 (10:31 -0400)]
ecore_drm: use get_vt instead of parsing the tty attribute

Summary: logind has a seperate function to get the vt number.

@fix

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2252

9 years agoecore/idler - simpler checking.
ChunEon Park [Sat, 28 Mar 2015 06:43:50 +0000 (15:43 +0900)]
ecore/idler - simpler checking.

9 years agoeina: include blank lines in file iterator T2237
Andy Williams [Fri, 27 Mar 2015 21:36:45 +0000 (21:36 +0000)]
eina: include blank lines in file iterator T2237

any line that would not have been included before has length == 0

9 years agoecore_con: fix ftp upload function to follow documentation.
Srivardhan Hebbar [Fri, 27 Mar 2015 17:39:57 +0000 (18:39 +0100)]
ecore_con: fix ftp upload function to follow documentation.

Summary:
While creating a Ecore_con_url object, the url is given in this format "ftp://ftp.example.com". While uploading a file, this function was prefixing "ftp://" to this url which resulted in DNS failure, and upload fail. So corrected the issue.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2221

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix gl_cocoa build after recent changes in evas_common_draw_context_font_ext_set.
Nicolas Aguirre [Thu, 26 Mar 2015 17:08:14 +0000 (18:08 +0100)]
evas: fix gl_cocoa build after recent changes in evas_common_draw_context_font_ext_set.

Now evas_common_draw_context_font_ext_set takes 3 more parameters, fix the build
by adding NULL for the function pointers. We really need to switch to gl_generic
here, it would avoid this kind of problems.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: Change newline parsing to handle crlf better
Andy Williams [Fri, 27 Mar 2015 09:50:00 +0000 (09:50 +0000)]
eina: Change newline parsing to handle crlf better

Adjust test to demonstrate failure, existing code only worked for
windows newlines on blank line.
@fix T2236

9 years agoedje: edje_edit - recalculate object after chenge aspect preference
Vyacheslav Reutskiy [Fri, 27 Mar 2015 09:31:31 +0000 (11:31 +0200)]
edje: edje_edit - recalculate object after chenge aspect preference

9 years agoecore: trigger events on FD_READ, FD_CONNECT and FD_ACCEPT.
Nicolas Aguirre [Fri, 30 Jan 2015 13:25:04 +0000 (14:25 +0100)]
ecore: trigger events on FD_READ, FD_CONNECT and FD_ACCEPT.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: do not try to load /etc/resolv.conf when on windows.
Nicolas Aguirre [Fri, 30 Jan 2015 13:23:18 +0000 (14:23 +0100)]
ecore_con: do not try to load /etc/resolv.conf when on windows.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years ago[Evas: Evas_3D] Improve shaders math
Dmytro Dadyka [Wed, 25 Mar 2015 23:07:49 +0000 (16:07 -0700)]
[Evas: Evas_3D] Improve shaders math

Reviewers: cedric, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2244

On many platforms the built-in mix(x, y, a) function faster
than its equivalent x * a + y * (1 - a)

9 years agoEcore: Use calloc() to initialize Ecore_Event_Key fully
Jean-Philippe ANDRE [Wed, 25 Mar 2015 22:29:49 +0000 (15:29 -0700)]
Ecore: Use calloc() to initialize Ecore_Event_Key fully

Some fields (eg. data) may not be properly initialized.
Use calloc() instead of malloc() will ensure proper initialization
even if we add more fields.

These fields (data) would even be passed down to Evas as
Evas_Event_Key_Down for instance.

9 years agoBuild: Fix horribly slow compilation times
Jean-Philippe ANDRE [Wed, 25 Mar 2015 18:19:53 +0000 (11:19 -0700)]
Build: Fix horribly slow compilation times

Cedric, our dear b0rker, introduced changes in the CFLAGS
generation when merging Emile. While the changes seem to make sense
at first sight (add the -I flags for the lib our new package depends on),
they were actually a terribly bad workaround.

The number of CFLAGS args would grow exponentially, slowing down libtool
a lot, which is known to be slow when it has a lot of arguments.

9 years agoedje: add of textures to Edje 3D node.
perepelits.m [Wed, 25 Mar 2015 18:31:25 +0000 (19:31 +0100)]
edje: add of textures to Edje 3D node.

Summary: Adding textures to edje_cc and some topblock keywords that I have forgotten to add in previous commits.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric, artem.popov

Differential Revision: https://phab.enlightenment.org/D2129

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add eina_list_data_idx().
Michal Jagiello [Wed, 25 Mar 2015 18:29:49 +0000 (19:29 +0100)]
eina: add eina_list_data_idx().

Summary:
Now the developer has to iterate the whole list to find the
index of the first occurence of the data.
I see that it is possible to get the index of the item for
the genlist widget, but for the eina_list not.

With these APIs it will be easier to implement *index_get
functions for the rest of widgets which contain items (Elm_List,
Elm_Ctxpopup etc.).

These functions returns the index of the given data or node in the eina_list.

Reviewers: Hermet, cedric

Subscribers: raster, cedric

Differential Revision: https://phab.enlightenment.org/D2189

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: add example for ftp upload.
Srivardhan Hebbar [Wed, 25 Mar 2015 18:26:41 +0000 (19:26 +0100)]
ecore_con: add example for ftp upload.

Summary:
Added example for ftp upload. In the .gitignore only 2 files added which were missing. The differences it is showing is cos of reordering. I did ls and redirected the file to gitignore. So the files got reordered.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2223

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix logic of 180 degree image rotation in software_generic backend.
kabeer khan [Wed, 25 Mar 2015 18:25:38 +0000 (19:25 +0100)]
evas: fix logic of 180 degree image rotation in software_generic backend.

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2238

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeet: fix variable naming
Andrii Kroitor [Wed, 25 Mar 2015 17:55:40 +0000 (02:55 +0900)]
eet: fix variable naming

Summary: this file name is used for input, not for output.

Reviewers: cedric, seoz, Hermet, raster

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2243

9 years agoWayland shm: Fix shadow variable warning
Jean-Philippe ANDRE [Wed, 25 Mar 2015 17:49:02 +0000 (10:49 -0700)]
Wayland shm: Fix shadow variable warning

9 years agoedje: add text_class_get() APIs
Sohyun Kim [Wed, 25 Mar 2015 17:45:59 +0000 (02:45 +0900)]
edje: add text_class_get() APIs

Summary: No APIs to get text_class for global hash and object hash

Reviewers: woohyun, cedric, raster

Reviewed By: cedric, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2213

9 years ago[Evas: Evas_3D] Refactor shader system: refactored shadow map shade mode.
Dmytro Dadyka [Wed, 25 Mar 2015 17:37:16 +0000 (10:37 -0700)]
[Evas: Evas_3D] Refactor shader system: refactored shadow map shade mode.

Reviewers: cedric, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2240

9 years ago[Evas: Evas_3D] Refactor shader system: refactored parallax shade mode.
Dmytro Dadyka [Wed, 25 Mar 2015 17:35:42 +0000 (10:35 -0700)]
[Evas: Evas_3D] Refactor shader system: refactored parallax shade mode.

Reviewers: cedric, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2241

9 years agoEdje: Edje_Edit - code generation for TABLE part (description.table section)
Vitalii Vorobiov [Wed, 25 Mar 2015 15:56:47 +0000 (17:56 +0200)]
Edje: Edje_Edit - code generation for TABLE part (description.table section)

9 years agoEdje: Edje_Edit - fix typo in code generation of BOX part
Vitalii Vorobiov [Wed, 25 Mar 2015 15:17:49 +0000 (17:17 +0200)]
Edje: Edje_Edit - fix typo in code generation of BOX part

@fix

9 years agoecore_idler: + null check.
ChunEon Park [Wed, 25 Mar 2015 05:42:44 +0000 (14:42 +0900)]
ecore_idler: + null check.

like timer, animator we do check the idler validation
and prevert crash there just in user misusage case.

@fix

9 years agoevas: fix use after free.
Cedric BAIL [Tue, 24 Mar 2015 22:09:28 +0000 (23:09 +0100)]
evas: fix use after free.

Thanks to Thanatermesis for tracking this in T2135.

9 years agoecore-drm: Use better output names
Chris Michael [Tue, 24 Mar 2015 19:34:04 +0000 (15:34 -0400)]
ecore-drm: Use better output names

Summary: As there are various DVI and HDMI output names, update the
output connector types area to be more accurate so we get better
output names

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEvas 3D: Print SHADERS instead of SHADERS_3D at compile time
Jean-Philippe ANDRE [Tue, 24 Mar 2015 18:47:29 +0000 (11:47 -0700)]
Evas 3D: Print SHADERS instead of SHADERS_3D at compile time

This is just a cosmetic change.

9 years agoEvas 3D: Add forgotten changes after generation of shaders
Jean-Philippe ANDRE [Tue, 24 Mar 2015 18:45:32 +0000 (11:45 -0700)]
Evas 3D: Add forgotten changes after generation of shaders

9 years agoEvas GL: Add missed GLES 3.0 functions.
mythri.venugopal [Tue, 24 Mar 2015 18:22:01 +0000 (11:22 -0700)]
Evas GL: Add missed GLES 3.0 functions.

Summary:
Initialise glVertexAttribDivisor & glVertexAttribIPointer
EvasGL function pointers.

Reviewers: wonsik, spacegrapher, jpeg

Reviewed By: jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2236

9 years ago[Evas: Evas_3D] Refactor shader system: refactored normal map shade mode.
Dmytro Dadyka [Tue, 24 Mar 2015 17:50:40 +0000 (10:50 -0700)]
[Evas: Evas_3D] Refactor shader system: refactored normal map shade mode.

Reviewers: cedric, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2232

9 years ago[Evas: Evas_3D] Refactor shader system: refactored color pick shade mode.
Dmytro Dadyka [Tue, 24 Mar 2015 17:50:36 +0000 (10:50 -0700)]
[Evas: Evas_3D] Refactor shader system: refactored  color pick shade mode.

Reviewers: cedric, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2230

9 years ago[Evas: Evas_3D] Refactor shader system: refactored diffuse shade mode.
Dmytro Dadyka [Tue, 24 Mar 2015 17:50:31 +0000 (10:50 -0700)]
[Evas: Evas_3D] Refactor shader system: refactored diffuse shade mode.

Reviewers: cedric, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2229

9 years ago[Evas: Evas_3D] Refactor shader system: refactored vertex color shade mode.
Dmytro Dadyka [Tue, 24 Mar 2015 17:50:25 +0000 (10:50 -0700)]
[Evas: Evas_3D] Refactor shader system: refactored vertex color shade mode.

Reviewers: cedric, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2228