Boris Faure [Thu, 19 Feb 2015 21:51:14 +0000 (22:51 +0100)]
evas gl: fix build when GL_COVERAGE_SAMPLES_NV is defined byg <GL/gl.h>
Derek Foreman [Thu, 19 Feb 2015 19:47:34 +0000 (14:47 -0500)]
ecore-drm Add hooks for updating wl_output when outputs are hotplugged
Summary:
This provides callbacks to any bound wl_output listeners when a
display is hotplugged.
NOTE: Currently we don't receive hotplug events
ANOTHER NOTE: We don't yet handle display removal
Reviewers: devilhorns, zmike
Reviewed By: devilhorns, zmike
Subscribers: cedric
Maniphest Tasks: T2131
Differential Revision: https://phab.enlightenment.org/D2006
Derek Foreman [Thu, 19 Feb 2015 19:47:26 +0000 (14:47 -0500)]
ecore-drm Add API for querying output parameters
Reviewers: zmike, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Maniphest Tasks: T2131
Differential Revision: https://phab.enlightenment.org/D2005
Derek Foreman [Thu, 19 Feb 2015 19:46:36 +0000 (14:46 -0500)]
ecore-drm Fix typo
Reviewers: devilhorns, zmike
Reviewed By: devilhorns, zmike
Subscribers: cedric
Maniphest Tasks: T2131
Differential Revision: https://phab.enlightenment.org/D2004
Vitalii Vorobiov [Thu, 19 Feb 2015 14:57:17 +0000 (16:57 +0200)]
Edje: new set/get API omogeneous, paddings and align for BOX/TABLE in Edje Edit
Those include such functions like:
> edje_edit_state_table_homogeneous_set/get (function for TABLE only)
> edje_edit_state_container_padding_get
(container means that functions both for TABLE and BOX)
> edje_edit_state_container_align_get (also for TABLE and BOX)
@feature
Marcel Hollerbach [Thu, 19 Feb 2015 14:20:47 +0000 (15:20 +0100)]
eolian: fix make distcheck
Summary: null.eo was missing in the makefile.
Test Plan: run make distcheck
Reviewers: q66
Reviewed By: q66
Subscribers: cedric, herdsman
Differential Revision: https://phab.enlightenment.org/D1999
Marcel Hollerbach [Thu, 19 Feb 2015 14:29:50 +0000 (15:29 +0100)]
Evas 3D: Fix distcheck build
Summary:
The new files for the shaders and he header file where not part of
EXTRA_DIST, so they where not found when running make distcheck.
Test Plan: just run make distcheck
Reviewers: cedric, q66
Reviewed By: q66
Subscribers: cedric, herdsman
Differential Revision: https://phab.enlightenment.org/D1998
Cedric BAIL [Wed, 18 Feb 2015 21:38:11 +0000 (22:38 +0100)]
evas: more warning fix.
Bogdan Devichev [Wed, 18 Feb 2015 21:22:53 +0000 (22:22 +0100)]
evas: Evas_3D - Makefile updated for resources ordering in evas examples.
Reviewers: cedric, Hermet, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1989
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Bogdan Devichev [Wed, 18 Feb 2015 21:21:47 +0000 (22:21 +0100)]
evas: Evas_3D - regularize resource for 3D examples.
Summary: This commit makes folder of examples for evas more ordered.
Reviewers: raster, Hermet, cedric
Subscribers: artem.popov, cedric
Differential Revision: https://phab.enlightenment.org/D1985
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Wed, 18 Feb 2015 21:16:48 +0000 (22:16 +0100)]
evas: remove compilation warning.
perepelits.m [Wed, 18 Feb 2015 21:00:58 +0000 (22:00 +0100)]
evas: Evas_3D - improve Shooter example.
Summary: This example includes some previous developments to create 3d-world mechanics.
Reviewers: cedric, raster, Hermet
Subscribers: cedric, artem.popov
Differential Revision: https://phab.enlightenment.org/D1991
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Oleksandr Shcherbina [Wed, 18 Feb 2015 20:43:23 +0000 (21:43 +0100)]
evas: Evas_3D - callbacks for Evas 3D.
Summary:
Add class and type Evas_3D_Callback like wrapper under smart object
Incapsulate Evas_3D_Callback in Evas_3D_Object
Add virtual function register and unregister in Evas_3D_Object
Add function evas_3d_callback_call
Add callbacks clicked and collision for Evas_3D_Node
@feature
Reviewers: raster, Hermet, cedric
Reviewed By: cedric
Subscribers: artem.popov, cedric
Differential Revision: https://phab.enlightenment.org/D1914
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Dmytro Dadyka [Wed, 18 Feb 2015 20:19:28 +0000 (21:19 +0100)]
evas: Evas_3D - refactor shader system.
Reviewers: Hermet, raster, jpeg, cedric
Subscribers: artem.popov, cedric
Differential Revision: https://phab.enlightenment.org/D1947
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Daniel Kolesa [Wed, 18 Feb 2015 15:41:50 +0000 (15:41 +0000)]
eolian: convenience macro to fill base structures in parser
Chris Michael [Tue, 17 Feb 2015 21:18:13 +0000 (16:18 -0500)]
ecore-drm: Fix issue with ecore_drm_evdev->path being incorrect
Summary: When we try to ReleaseDevice of our evdev structure, the
'path' which was getting passed to our logind code was incorrect. This
was due to libinput not providing a function to get the full device
path. We fix this by making some eeze udev calls to find this device
and get the full device path.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 17 Feb 2015 21:15:52 +0000 (16:15 -0500)]
ecore-drm: Fix issue of ecore_drm not calling ReleaseDevice when an
input is destroyed
Summary: This fixes an issue where if you VT switch away from a
running Enlightenment and VT switch back, then input would no longer
be working. This was because we never called ReleaseDevice (dbus call)
when we destroyed a device, so any calls to recreate the device would
fail in libinput due to control already being taken.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 17 Feb 2015 21:13:28 +0000 (16:13 -0500)]
ecore-drm: Don't recreate ecore_event handlers if we already have them
Summary: If we already have the ecore_event_handlers for logind, then
do not recreate them on logind_connect.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 17 Feb 2015 21:11:27 +0000 (16:11 -0500)]
ecore-drm: Fix issue of checking improper eldbus message for errors
Summary: When we send_and_block, we should be checking the 'reply' for
errors, not the original message which was sent.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Minkyoung Kim [Tue, 17 Feb 2015 15:34:35 +0000 (16:34 +0100)]
evas: fix error checking of eglBindAPI.
Summary: If eglGetError sequencially called, second eglGetError() doesn't give the information of real Error.
@fix
Reviewers: raster, jpeg, cedric, Hermet
Subscribers: cedric, spacegrapher, wonsik
Differential Revision: https://phab.enlightenment.org/D1982
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
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>