perepelits.m [Tue, 17 Feb 2015 15:31:03 +0000 (16:31 +0100)]
edje: add a block "position" for Evas_3D part (camera, light and node).
Summary: add a block "position" to fill the position field for nodes.
Reviewers: raster, Hermet, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1977
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Dmytro Dadyka [Tue, 17 Feb 2015 14:33:05 +0000 (15:33 +0100)]
evas: Evas_3D - refactor node shapes update mechanism.
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1984
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
kabeer khan [Mon, 16 Feb 2015 11:11:19 +0000 (12:11 +0100)]
evas: updated .gitignore to not track evas_3d_colorpick example.
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: cedric, Oleksander
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1968
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Vitalii Vorobiov [Mon, 16 Feb 2015 11:03:19 +0000 (12:03 +0100)]
edje: Edje_Edit - add examples for it's API using for BOX part and items
Summary:
Some little example about how and when edje_edit functions can be applied.
In this example there is a box part with items in edj, and by using edje_edit
program actually changes edj file directly. (adding items,
changing layouts of box, changing params of items, etc).
It is pushed as a reference for people who would like to do there own
Edje editor. Normal application should not use that API.
Reviewers: Hermet, raster, seoz, cedric
Reviewed By: cedric
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1969
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Yomi [Mon, 16 Feb 2015 10:58:48 +0000 (11:58 +0100)]
evas: fix misspellings in evas_render2.
Summary: fix misspellings of 'canvas' and 'work' in the comments.
Reviewers: raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1972
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Mon, 16 Feb 2015 10:57:35 +0000 (11:57 +0100)]
ecore_con: updatet documentation about Ecore_Con events.
Summary: Ordered events into server side events, client side events and update the text.
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1976
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Minkyoung Kim [Mon, 16 Feb 2015 10:54:23 +0000 (11:54 +0100)]
evas: Evas GL - add glGetError() after surface capability test.
Summary:
After using gl funcs, must call glGetError().
To prevent wrong error catch for subsequent glGetError().
Test Plan: Local tests
Reviewers: raster, jpeg, Hermet, cedric
Reviewed By: cedric
Subscribers: spacegrapher, wonsik, cedric
Differential Revision: https://phab.enlightenment.org/D1978
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Vitalii Vorobiov [Fri, 13 Feb 2015 16:47:56 +0000 (18:47 +0200)]
edje: Edje_Edit - functions to edit layouts of BOX parts
New functions for setting such BOX's params like primary and fallback layouts:
> edje_edit_state_box_layout_set
> edje_edit_state_box_layout_get
> edje_edit_state_box_alt_layout_set
> edje_edit_state_box_alt_layout_get
@feature
Vitalii Vorobiov [Fri, 13 Feb 2015 16:43:04 +0000 (18:43 +0200)]
edje: edje_edit - fix group source generation of box params
Need to generate such params of box like align, padding, min and layouts
(both primary and alternative).
@fix
Vitalii Vorobiov [Fri, 13 Feb 2015 16:40:38 +0000 (18:40 +0200)]
edje: edje_edit - fix group source generation of item 'weight' param
@fix
Daniel Kolesa [Fri, 13 Feb 2015 14:20:32 +0000 (14:20 +0000)]
edje, eeze: compiler portability (use full ternary operator)
Vincent Torri [Fri, 13 Feb 2015 07:37:19 +0000 (08:37 +0100)]
eina: remove useless eina_inline_lock_win32.x file.
Vincent Torri [Fri, 13 Feb 2015 07:31:38 +0000 (08:31 +0100)]
eina: fix compilation on Widows due to removal of native thread support.
Native thread support has been replaced by a POSIX one (provided by
mingw-w64). So eina_inline_lock_posix.x must be installed instead of
eina_inline_lock_win32.x
Stefan Schmidt [Fri, 13 Feb 2015 09:03:05 +0000 (10:03 +0100)]
ecore/drm: Compile ecore_drm_logind.c without condition
Right now we excluded the file from the build if we did not find system-logind.
We are using some symbols from this file without any condition though:
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_device_open_no_pending'
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_connect'
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_disconnect'
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_device_close'
This comes from a Gentoo machine without systemd.
As the logind relevant parts are ifdef'ed in the code itself it is safe to build
this file in all cases and thus avoid the undefined references.
@fix
Jean-Philippe Andre [Fri, 13 Feb 2015 05:00:23 +0000 (14:00 +0900)]
Evas: Fix compilation warning (-Wshadow)
Jean-Philippe Andre [Fri, 13 Feb 2015 02:06:25 +0000 (11:06 +0900)]
Evas: Free variable in error path
Fixes CID 1270032
Resource leaks (RESOURCE_LEAK)
Variable "exim" going out of scope leaks the storage it points to.
Mike Blumenkrantz [Thu, 12 Feb 2015 21:21:52 +0000 (16:21 -0500)]
ee-win32 probably might compile now
<vtorri> bad Mike !
<vtorri> the name of the function is not good, so compilation fails on Windows
<vtorri> remove 'object' in the name of the definition of the function :)
@fix
Stefan Schmidt [Thu, 12 Feb 2015 17:37:42 +0000 (18:37 +0100)]
ecore/drm: Fix libinput >= 0.8 check
We need #if here as LIBINPUT_HIGHER_08 will be either 0 or 1
@fix
Chris Michael [Thu, 12 Feb 2015 17:09:47 +0000 (12:09 -0500)]
ecore-drm: Fix bad German formatting ;)
Summary: No functional changes, just formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Thu, 12 Feb 2015 17:01:55 +0000 (18:01 +0100)]
ecore/drm: Add support for changed libinput API since 0.8
We check for libinput 06 or higher. In version 0.8 they got an API break
(hopefully the last one before 1.0) which we did not support so far. I have
seen libinput 0.9 used on gentoo and newer ubuntu systems so we should
definitely support them.
Adding a LIBINPUT_HIGHER_08 define to check for this. So far we have only one
location where we need it. Once there is a libinput 1.0 we should remove the
support for older versions.
http://lists.freedesktop.org/archives/wayland-devel/2015-January/019383.html
Stefan Schmidt [Thu, 12 Feb 2015 14:24:27 +0000 (15:24 +0100)]
edje_cc: Avoid segfault when strcmp NULL items
Martin reported a porblem with one of the SHR project edc files after an upgrade
to 1.13. The segfault itself is easy enough to fix here but I think there might
be other problems with the edc after this segfault is gone. We will see.
Fixes T2106
Daniel Zaoui [Wed, 11 Feb 2015 15:03:08 +0000 (17:03 +0200)]
Eolian: improve the class searching.
If the class is not found, we retrieve its full path if it has already
been scanned.
This patch is needed by Espion so Eolian can find the full path of a
class by its name. Espion has no way to determine it by itself.
Daniel Zaoui [Wed, 11 Feb 2015 14:58:53 +0000 (16:58 +0200)]
Eolian: store the class filenames with the extensions.
This change is needed to give Espion a way to request the parsing of a
class when a eo_add happens and the class is not known by Eolian.
Stefan Schmidt [Thu, 12 Feb 2015 13:43:34 +0000 (14:43 +0100)]
tests/evas: Enable evas 3d mesh test case again after the code got fixed.
The problem have been in the new evas block/unblock code which did not work
for evas 3d. Thanks to Bogdan for spotting it and raster for reverting the
3d part for now to keep the code working.
Fixes T2104
Daniel Kolesa [Thu, 12 Feb 2015 13:42:57 +0000 (13:42 +0000)]
eolian: add testcase for nullable/optional
Daniel Kolesa [Thu, 12 Feb 2015 13:31:23 +0000 (13:31 +0000)]
eolian: remove unneeded code
Carsten Haitzler (Rasterman) [Thu, 12 Feb 2015 13:25:06 +0000 (22:25 +0900)]
evas 3d - undo async block code - 3d objects dont inherit from evas obj
Carsten Haitzler (Rasterman) [Thu, 12 Feb 2015 03:10:04 +0000 (12:10 +0900)]
evas - image obj - filled mode - never use invalid 0x0 fill
this fixes a lot of noise for filled image objects that set fill to
0x0 if objetc is 0x0. this clamps minimum fill at 1x1 and thus keeps
things silent and sensible. also just silently ignore 0x0 filled image
objects. noise is not that useful.
Daniel Kolesa [Thu, 12 Feb 2015 13:24:06 +0000 (13:24 +0000)]
eolian: add APIs for nullable/optional (+ lua bindings)
Daniel Kolesa [Thu, 12 Feb 2015 11:32:34 +0000 (11:32 +0000)]
eolian: write the new parameters into the database
Daniel Kolesa [Thu, 12 Feb 2015 11:19:24 +0000 (11:19 +0000)]
eolian: check the other boolean rather than itself
Daniel Kolesa [Thu, 12 Feb 2015 11:14:45 +0000 (11:14 +0000)]
eolian: parsing of @nullable and @optional args on func params
Stefan Schmidt [Thu, 12 Feb 2015 08:52:21 +0000 (09:52 +0100)]
Revert "ecore: fix path comparison in Ecore_File test suite."
This reverts commit
66c0f3261dab904fce533b0f7d30b1b374abd658.
This commit breaks the eina_file suite on Gentoo (our jenkins OS).
ref T2105
Stefan Schmidt [Thu, 12 Feb 2015 09:23:50 +0000 (10:23 +0100)]
tests/evas: Disable segfaulting evas_object_mesh_loader_saver
This test case segfault on jenkins as well as on my devel machine.
Disable until fixed.
ref T2104
Guilherme Lepsch [Thu, 12 Feb 2015 06:25:10 +0000 (07:25 +0100)]
eina: Fix MacOS X build with clang 3.6.
Summary:
printf contains and erroneous format specifier and cast
missing LIBTOOLFLAGS for cocoa
Reviewers: felipealmeida, larryolj, naguirre
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1912
Signed-off-by: Nicolas Aguirre <aguirre.nicolas@gmail.com>
Jean-Philippe Andre [Thu, 12 Feb 2015 06:10:53 +0000 (15:10 +0900)]
Revert "Evas GL: Add support for uniforms in the shaders"
This reverts commit
21d08f86e6087f7e30ff2015c7551c06e359bba9.
Jean-Philippe Andre [Thu, 12 Feb 2015 05:56:03 +0000 (14:56 +0900)]
Revert "Evas GL common: Use uniform instead of attribute for sample"
This reverts commit
986b60eaf0175b3592883c85cfb6f5f5a280f31d.
Added PUSH_SAMPLE for simplicity.
It was dumb of me to use uniforms, so I added a comment to prevent
other dumb people from making the same mistake later.
Jean-Philippe Andre [Wed, 11 Feb 2015 12:45:50 +0000 (21:45 +0900)]
Evas GL common: Improve code readability (simplify macro)
The exact same ugly macro would appear hundreds of times in the GL
code:
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
Instead, override the common GL functions iif GL_ERRORS is defined.
This greatly simplifies code and removes tons of useless lines.
Also, this will give better debugging output as the exact code line
is printed, and the function name is also printed.
Also, fix linking to the glerr function.
This is a code cleanup. Hopefully I didn't break anything with this
big operation of find & replace.
Jean-Philippe Andre [Wed, 11 Feb 2015 12:32:15 +0000 (21:32 +0900)]
Evas GL common: Simplify GL pipe code with macros
A lot of the code was just brutal copy & paste.
Reduced by using simpler macros, which I believe are even
more readable.
Jean-Philippe Andre [Wed, 11 Feb 2015 12:13:13 +0000 (21:13 +0900)]
Evas GL common: Call glGetUniformLocation as early as possible
This should speed up setting uniforms in the shaders, by storing
their locations in the Evas_GL_Program description.
I kept the previous solution with name as fallback, but it won't
actually be used with the current shaders.
Jean-Philippe Andre [Wed, 11 Feb 2015 11:39:05 +0000 (20:39 +0900)]
Evas GL common: Use uniform instead of attribute for sample
Image and texture programs "12", "21" and "22" used tex_sample
as a texture attribute passed to the vertex shader. Instead of
this seemingly hackish solution, use a vec2 uniform.
Carsten Haitzler (Rasterman) [Tue, 10 Feb 2015 11:44:38 +0000 (20:44 +0900)]
evas - render - have lock point to allow for async obj walk + update add
this adds a lock for when walking all the objects to generate render
commands for an async render. this allows even the object tree walk
plus update area caluclation to be moved off into async if every oject
that can change canvas state actually does so correctly. this change
adds all those lock block calls to synchronise with an async object
tree walk.
Chris Michael [Wed, 11 Feb 2015 20:42:02 +0000 (15:42 -0500)]
ecore-drm: Print error when taking control of a device fails
Summary: If we send a dbus blocking message, and it returns an error
then we should be printing out this error message
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 11 Feb 2015 20:29:29 +0000 (15:29 -0500)]
eldbus: Fix formatting
Summary: No functional changes, just formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 11 Feb 2015 19:51:44 +0000 (14:51 -0500)]
ecore-drm: Disable/Enable inputs if we release/aquire VT through logind
Summary: Due to libinput processing events directly from evdev, we
need to disable/enable input events when we release/acquire the vt.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 11 Feb 2015 19:14:52 +0000 (14:14 -0500)]
ecore-drm: Disable/Enable inputs if we release/acquire the VT
Summary: Due to libinput process events directly from evdev, when we
VT switch we should disable/enable inputs accordingly.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Bogdan Devichev [Wed, 11 Feb 2015 17:13:58 +0000 (18:13 +0100)]
evas: Evas_3D - iport/export of Obj format can be read even if obj-file does not have normals or tex-coords.
Summary:
This commit fixed several bugs, and show what was be fixed.
Bugs:
- When designer save obj file in Blender, he/she can set flags (fig 1). Normals and UV coords flags was necessary for obj loader. Loader crushed when they are not set as true. It fixed by this commit.
- Another loaders set default values to data which aren't in loading file, so mesh need more memory for unused data. It fixed by this commit for obj and will be fixed for another formats in future.
- Saver saved incorrect data if normals or tex_coords was not set in mesh in evas. Now it fixed.
- Saver failed if it save mesh without material. It fixed and in this case material file is not created now.
- Also fixed some leaks and undefined behavior which valgrind shows.
Example:
- Example shows cases described above. Example use files saved with different flags for it.
Resources:
- man_mesh is replaced by several smaller file, to use them for showing new features and fixes. For example, similar to that models can be added when implement work with material for obj, work with different flags for obj loader/saver etc. (big count of man_meshes is to much memory).
- texture for home is flipped, because of bug with texture in efl to see if tex_coords is incorrect.
Test:
- test should be rewritten in future, because another formats still use default values for normals and tex_coords. And test can not pass for all types of obj file because of standardization for any format in him.
Test Plan: Test suit will be rewritten after correcting of other formats (they will set NULL to file when save an empty data (like mesh without normals))
Reviewers: Hermet, raster, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1957
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Oleksandr Shcherbina [Tue, 10 Feb 2015 10:24:48 +0000 (12:24 +0200)]
evas: example for Evas_3D color pick
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Oleksandr Shcherbina [Wed, 11 Feb 2015 16:44:42 +0000 (17:44 +0100)]
evas: Evas_3D - mechanism for finding node by color pick.
Summary:
See first part https://phab.enlightenment.org/D1811 (backend, gl)
Add get/set for color pick mode at evas_3d_mesh and evas_3d_scene
Add evas_3d_node_color_node_mesh_collect function to collect data at force rendering
Add state flag for scene to avoid useless force rendering in case scene wasn't changed
Add functionality for color pick in evas_3d_scene_pick method
Reviewers: Hermet, raster, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1956
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
kabeer khan [Wed, 11 Feb 2015 16:30:49 +0000 (17:30 +0100)]
evas: add image orient set/get API in software backend for now.
Summary:
Added API's to rotate(0, 90, 180, 270), flip(horizontal, vertical, transpose, transverse)
evas image object. Also added example to demonstrate this.
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: raster, stephenmhouston, cedric
Subscribers: stephenmhouston, cedric
Differential Revision: https://phab.enlightenment.org/D1950
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
perepelits.m [Fri, 6 Feb 2015 11:08:03 +0000 (13:08 +0200)]
edje: add 3D models to edje_cc.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Wed, 11 Feb 2015 16:23:32 +0000 (17:23 +0100)]
ecore_con: add ecore con client functions for testing.
Summary: Added ecore con client functions to the existing cases to cover more functions.
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1958
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Nicolas Aguirre [Fri, 30 Jan 2015 14:01:07 +0000 (15:01 +0100)]
eina: fix directory listing on windows when directory is empty.
Using of INVALID_HANDLE_VALUE and ERROR_NO_MORE_FILES to handle this properlly.
@fix
Guillaume Friloux [Fri, 30 Jan 2015 13:30:22 +0000 (14:30 +0100)]
ecore_con: EAGAIN is replaced by WSAEWOULDBLOCK on Windows.
Guillaume Friloux [Fri, 30 Jan 2015 13:25:53 +0000 (14:25 +0100)]
ecore: improve network events handling on Windows.
Guillaume Friloux [Fri, 30 Jan 2015 13:24:35 +0000 (14:24 +0100)]
ecore_con: do not load /etc/hosts on Windows.
Guillaume Friloux [Fri, 30 Jan 2015 13:18:37 +0000 (14:18 +0100)]
ecore: add FD_CLOSE, FD_ACCEPT and FD_CONNECT for sockets on Windows.
Guillaume Friloux [Fri, 30 Jan 2015 13:16:59 +0000 (14:16 +0100)]
ecore_con: make disconnects work on Windows.
Guillaume Friloux [Fri, 30 Jan 2015 13:09:34 +0000 (14:09 +0100)]
ecore_con: fix use of FormatMessage for error reporting on windows.
@fix
Guillaume Friloux [Fri, 30 Jan 2015 13:11:56 +0000 (14:11 +0100)]
ecore_con: silent warning with send() usage.
Guillaume Friloux [Fri, 30 Jan 2015 13:06:47 +0000 (14:06 +0100)]
ecore_con: use send() instead of write() for portability.
Guillaume Friloux [Fri, 30 Jan 2015 13:01:50 +0000 (14:01 +0100)]
ecore_con: use recv() instead of read for better portability.
Guillaume Friloux [Fri, 30 Jan 2015 10:21:03 +0000 (11:21 +0100)]
ecore_con: fix _ecore_con_server_flush on Windows.
@fix
Nicolas Aguirre [Fri, 30 Jan 2015 10:04:19 +0000 (11:04 +0100)]
ecore_con: Fix checks from socket() and accept() under windows.
import from Guillaume Friloux ecore's fork : https://github.com/gfriloux/ecore/commit/
ab2d406a37c0ae205b6a934b7ea747f4b2baee81
Guillaume Friloux [Fri, 30 Jan 2015 10:03:00 +0000 (11:03 +0100)]
ecore_con: use SOCKET and not int for socket descriptors on win32
Guillaume Friloux [Fri, 30 Jan 2015 09:51:52 +0000 (10:51 +0100)]
ecore_con: use ioctlsocket() when building for windows.
fcntl() doesnt work under windows.
References :
- http://msdn.microsoft.com/en-us/library/windows/desktop/ms738573%28v=vs.85%29.aspx
- http://msdn.microsoft.com/en-us/library/windows/desktop/ms740096%28v=vs.85%29.aspx
imported from Guillaume Friloux ecore fork : https://github.com/gfriloux/ecore/commit/
66da77d491d4f304767bac88d9ace4a5ff5f41e0
michelle legrand [Wed, 4 Feb 2015 11:01:36 +0000 (12:01 +0100)]
ecore: directly allocating and freeing Ecore_Win32_Handler variable.
There was no memory pool nor any function like that in fact.
@fix
michelle legrand [Tue, 3 Feb 2015 12:25:58 +0000 (13:25 +0100)]
eio: check that the file to be monitored is not an empty string.
This fix segmentation faults on Windows caused by eio_monitor events.
@fix
michelle legrand [Tue, 3 Feb 2015 09:15:15 +0000 (10:15 +0100)]
eolian: add right extension to eolian_gen if we are on Windows
In previous version of this commit we checked if the _WIN32 macro was
defined. But now I am using EXEEXT from autotools to get
eolian_gen extension.
@fix
michelle legrand [Wed, 14 Jan 2015 11:02:21 +0000 (12:02 +0100)]
eina: fix Eina_Log to only try to free non deleted log.
@fix
Adrien Nader [Wed, 11 Feb 2015 10:58:28 +0000 (11:58 +0100)]
eina: correctly handle and report Eina_File error on Windows.
@fix
Adrien Nader [Wed, 11 Feb 2015 11:09:59 +0000 (12:09 +0100)]
eina: remove Eina_Counter and use provided Windows posix compatible implementation.
Adrien Nader [Wed, 11 Feb 2015 11:15:43 +0000 (12:15 +0100)]
eina: remove Windows specific thread implementation and rely on posix compliant library instead.
Mike Blumenkrantz [Tue, 10 Feb 2015 21:23:17 +0000 (16:23 -0500)]
ecore-drm should not use sscanf when getting logind vt
this should be more robust for when something like "/dev/tty4" is passed
@fix
Tom Hacohen [Tue, 10 Feb 2015 09:53:29 +0000 (09:53 +0000)]
Eina tmpstr: Fix tmpstr_strlen.
Weird. This is the code I had, I don't know how it got lost.
Good job to Daniel Kolesa for spotting this.
Jean-Philippe Andre [Tue, 10 Feb 2015 09:18:05 +0000 (18:18 +0900)]
Evas masking: Force BLEND mode in case of image masking (GL)
This fixes some cases where the image has no alpha and COPY mode
is used, but a mask is also applied. In that case, masking
takes precedence and BLEND mode is used.
@fix
Jean-Philippe Andre [Tue, 10 Feb 2015 08:26:24 +0000 (17:26 +0900)]
evas/software_x11: Restore legacy compatibility with old SLP DRM
I really REAAALLLY doubt that was necessary, but I'm still adding
these few changes for legacy compatibility.
This lib seriously should have had a stable API.
Dongyeon Kim [Tue, 10 Feb 2015 08:00:54 +0000 (17:00 +0900)]
evas/software_x11: replace drm_slp with tbm
Summary:
libdrm_slp has been replaced with libtbm, so modify xlib swapper
to use tbm apis instead of drm_slp apis
Test Plan: Local tests
Reviewers: raster, Hermet, cedric, jpeg
Reviewed By: jpeg
Subscribers: cedric, wonsik
Differential Revision: https://phab.enlightenment.org/D1932
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Jean-Philippe Andre [Tue, 10 Feb 2015 06:02:31 +0000 (15:02 +0900)]
Evas sw_x11: Fix previous patches
Restore support for Evas GL with the software engine (OSMesa).
Dongyeon Kim [Tue, 3 Feb 2015 11:36:41 +0000 (20:36 +0900)]
evas/software_x11: implement tbm native surface type
Summary:
This native surface type is based on the tbm surface used for the tizen platform.
For the software_x11 backend, image data is retrieved from tbm surface
and color format converted appropriately.
This will only work when libtbm.so is present in the system.
@feature
Test Plan: Local tests
Reviewers: raster, cedric, jpeg, Hermet
Subscribers: wonsik, cedric
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Dongyeon Kim [Tue, 3 Feb 2015 11:35:41 +0000 (20:35 +0900)]
evas/software_x11: implement native surface set for x11 type
Summary:
implement native surface set for EVAS_NATIVE_SURFACE_X11 type
on software_x11 backend.
@feature
Test Plan: local tests on PC
Reviewers: jpeg, cedric, raster, Hermet
Subscribers: wonsik, cedric
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Dongyeon Kim [Mon, 19 Jan 2015 03:28:32 +0000 (12:28 +0900)]
evas/gl_x11: introduce tbm native surface type
Summary:
This native surface type is based on the tbm surface used for the tizen platform.
EGL_TIZEN_image_native_surface EGL extension is used to map
tbm surface to an egl image
@feature
Reviewers: raster, cedric, jpeg
Subscribers: cedric, wonsik
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Jean-Philippe Andre [Tue, 10 Feb 2015 02:53:08 +0000 (11:53 +0900)]
Evas 3d: Fix compilation with EGL/GLES
Please verify this. I'm not sure what the function is supposed
to return (alpha or red?).
Jean-Philippe Andre [Mon, 26 Jan 2015 08:35:42 +0000 (17:35 +0900)]
Evas render: Improve debug output with REND_DBG
Better formatting and less code clutter.
This is a purely non-functional change as all the
changed lines are ifdef'ed out by default.
Jean-Philippe Andre [Fri, 6 Feb 2015 03:21:25 +0000 (12:21 +0900)]
Evas GL: Add support for uniforms in the shaders
This will simplify greatly the code for map masking.
Jean-Philippe Andre [Mon, 9 Feb 2015 12:34:04 +0000 (21:34 +0900)]
Evas masking: Fix potential issues with map & masking
These bugs have not been observed but the code logic did not
make sense.
@fix
Jean-Philippe Andre [Mon, 9 Feb 2015 12:16:06 +0000 (21:16 +0900)]
Evas masking: Fix some garbage pixels with the SW engine
A rare case of garbage data would happen if smooth scaling
was called with a mask and 1:1 scaling. Use the proper
render_op to COPY for the first pass.
@fix
Cedric BAIL [Mon, 9 Feb 2015 21:16:51 +0000 (22:16 +0100)]
Merge branch 'devs/cedric/next'
Just merging patch that did come during the end of our last release cycle and couldn't
get in as they were to much of a new feature.
Avi Levin [Mon, 9 Feb 2015 21:04:01 +0000 (22:04 +0100)]
eina: fix eina_bench.c compilation error.
Summary:
When trying to compile eina_bench.c we get an error that say we didnt
defined the variables that EINA_ARRAY_ITER_NEXT. I defined them.
@fix
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1952
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Mon, 9 Feb 2015 11:11:37 +0000 (12:11 +0100)]
ecore_con: add test cases to test ecore_con_server and client with different options.
Summary: Before ecore_con_server_add and client add with only TCP sockets. Have made that function generic and testing for other options too. Not all options are covered. Need to add different kind of cases for other options. Will check how I can add and add.
Reviewers: stefan_schmidt, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1939
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Oleksandr Shcherbina [Thu, 5 Feb 2015 14:34:25 +0000 (15:34 +0100)]
evas: Evas_3D - ColorPick mechanism finding node and mesh in scene.
Summary:
Added additional texture and framebuffer for rendering meshes to it.
Added function that return OpenGL id additional texture
Added function that return color from target texture by mouse pick coordinates
Added function that render need meshes to target texture
Added engine wrappers for possibility force render to texture
@feature
Reviewers: Hermet, raster, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1811
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Dmytro Dadyka [Thu, 5 Feb 2015 14:32:11 +0000 (15:32 +0100)]
evas: Evas_3D - improve node tree update method.
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1862
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
perepelits.m [Thu, 5 Feb 2015 14:29:03 +0000 (15:29 +0100)]
edje: add of model lookups.
Summary:
I have added some methods to edje_cc_out.c to organize model lookups. The same methods already exists for images.
Also, I have removed source_type because now we don't need it in efl_file_set.
@feature
Reviewers: raster, Hermet, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1886
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Guilherme Lepsch [Thu, 5 Feb 2015 14:20:36 +0000 (15:20 +0100)]
eldbus: refactoring code.
Summary:
Code smells: Don't Repeat Yourself
Depends on D1927
Reviewers: felipealmeida, larryolj, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1928
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Youngbok Shin [Mon, 9 Feb 2015 17:30:30 +0000 (17:30 +0000)]
evas text: fix _ellipsis_get to return -1.0 on failure.
Summary:
When getting ellipsis value from evas text object fails,
the most reasonable return value is -1.0.
Currently, evas_object_text_ellipsis_get API with NULL returns 0.0.
It means ellipsis is not off. It must return -1.0 when API fails.
@fix
Comments by Tom: until now, this was inconsistent. With this change, it
now returns -1.0 consistently. Also, fixed commit summary.
Reviewers: woohyun, Hermet, seoz, tasn
Reviewed By: tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1944
Vitalii Vorobiov [Mon, 9 Feb 2015 16:58:26 +0000 (18:58 +0200)]
Edje: edje_edit - fix Segmentation Fault on new BOX part
After adding new part (with type BOX) there was a SIGSEV because
of structure that wasn't initialized.
@fix
Tom Hacohen [Mon, 9 Feb 2015 14:02:40 +0000 (14:02 +0000)]
Eina tmpstr: remove usage of tmpstr_strlen().
Tom Hacohen [Mon, 9 Feb 2015 13:47:00 +0000 (13:47 +0000)]
Eina tmpstr: fix race condition.
We take a lock, search the list, and the release the lock before we
finish using the values of the list. While unlikely, the string could be
deleted in the meanwhile.
Tom Hacohen [Mon, 9 Feb 2015 13:43:40 +0000 (13:43 +0000)]
Eina tmpstr: deprecate tmpstr_strlen and add tmpstr_len.
Confusingly enough, strlen was actually returning strlen + 1 for
strings. The new functions behaves as expected.
Stefan Schmidt [Mon, 9 Feb 2015 13:08:14 +0000 (14:08 +0100)]
configure: Switch to dev mode again. Merge window for 1.14 is open now.