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.
Stefan Schmidt [Mon, 9 Feb 2015 12:12:51 +0000 (13:12 +0100)]
release: Update NEWS and bump version for 1.13.0 release
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 17:28:36 +0000 (02:28 +0900)]
evas - gl engine - pipe renderer - disabling of unused arrays for lines
@fix - this fixes disabling of unused texa and texsam arays when line
drawing - spotted in code review and bug hunting of another bug.
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 17:27:00 +0000 (02:27 +0900)]
evas - gl enigne - mask logic fix with texa draw arrays
this fixes a logic oops in addition of masking to evas which caused
crashes with a null texa array causing a crash in gldrawarrays
mythri.venugopal [Mon, 9 Feb 2015 05:23:29 +0000 (14:23 +0900)]
Evas GL: Fix GLES1.1 extension initialisation bug
Summary:
Extension function pointer initialisation requires glGetString(GL_EXTENSIONS).
To get GLESv1 extension string, GLESv1 context has to be bound.
Change involves updating extensions after GLESv1 context has been bound.
Reviewers: jpeg
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1946
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Cedric BAIL [Sat, 7 Feb 2015 12:46:12 +0000 (13:46 +0100)]
efl: interface are still clearly in beta.
michelle legrand [Sat, 7 Feb 2015 12:45:05 +0000 (13:45 +0100)]
evil: fix initialisation.
Eina_Log is not available at this point of the initialisation.
Igor Murzov [Sat, 7 Feb 2015 12:38:49 +0000 (15:38 +0300)]
Update russian translation
Mike Blumenkrantz [Fri, 6 Feb 2015 23:25:01 +0000 (18:25 -0500)]
forgotten ee bit from previous commit
Mike Blumenkrantz [Fri, 6 Feb 2015 22:54:08 +0000 (17:54 -0500)]
ecore evas should not crash when unsetting pointer
ref D812
disappointed.jpg
Jean-Philippe Andre [Fri, 6 Feb 2015 03:35:12 +0000 (12:35 +0900)]
Evas masking: Add forgotten file in previous commit
Jean-Philippe Andre [Fri, 6 Feb 2015 03:31:24 +0000 (12:31 +0900)]
Evas masking: Also fix map masking with non-bgra images
Chris Michael [Thu, 5 Feb 2015 16:21:36 +0000 (11:21 -0500)]
ecore-drm: Remove unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 5 Feb 2015 16:06:41 +0000 (11:06 -0500)]
ecore-drm: Fix issue with ecore_drm_output_crtc_Find sending back an
invalid id. Fix T2086
Summary: In order to avoid getting returned an invalid id, we should
not be checking the currently active encoder and crtc combination
because outputs may have changed, encoders/crtc combinations could
have changed, etc, etc.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Michelle Legrand [Thu, 22 Jan 2015 10:24:42 +0000 (11:24 +0100)]
ecore_cocoa: Handle more special characters and capital characters.
This improve the situation and only affect Ecore_Cocoa code base by
detecting a useful charactere.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Michelle Legrand [Thu, 29 Jan 2015 12:56:49 +0000 (13:56 +0100)]
ecore_cocoa: add ecore event on mouse scroll for cocoa.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Michelle Legrand [Wed, 28 Jan 2015 14:11:01 +0000 (15:11 +0100)]
ecore_cocoa: replace "keyname" by "key".
Ecore_Event_Key attribute "key" cannot be NULL. This
raise a segmentation fault in Enventor when hitting on
modifier keys.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Nicolas Aguirre [Thu, 29 Jan 2015 16:08:23 +0000 (17:08 +0100)]
ecore_cocoa: create a log domain and use Eina_Log.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Nicolas Aguirre [Thu, 29 Jan 2015 16:04:28 +0000 (17:04 +0100)]
ecore_cocoa: don't send mouse event with negative x or y values.
With cocoa you may have negatives values when Mouse Down or Up. This
changes fix this behavior by sending mouse event only if x and y are
inside the ecore_evas space.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Romain Perier [Thu, 15 Jan 2015 15:45:32 +0000 (16:45 +0100)]
ecore_cocoa: add new events type for multiple window support.
This commit adds a method in Ecore_Cocoa_Window to be able to retrieve an unique
identifier for each window. It adds new events type and modify existing ones to
pass these windows identifiers through the event call chain. Resize, GotFocus and
LotFocus events are also updated to pass these identifiers to event handlers.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Romain Perier [Thu, 15 Jan 2015 16:20:16 +0000 (17:20 +0100)]
ecore_cocoa: use the right Cocoa notification handlers for focus events
Don't use NSAppKitDefined events subtype for focus events, which contain NULL
window object most of the time. Use the NSWindowDelegate method designed for that
purpose instead. It fixes random focus issues in windows which was caused by
incorrect window identifier not found in ecore_evas_cocoa.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Romain Perier [Thu, 15 Jan 2015 16:05:29 +0000 (17:05 +0100)]
ecore_cocoa: add on the fly resizing support.
Until now, video_resize events was received only when application returned control
to the event loop. When a window is resized dynamically a lot of video_resize
events are emitted from EcoreCocoaWindow::windowDidResize and not handled
immediatly, only when the main thread is back to the ecore main loop. This is why
there are not refreshed window areas. Call ecore_main_loop_iterate() from
windowDidResize solves the issue.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Romain Perier [Tue, 23 Dec 2014 16:51:51 +0000 (17:51 +0100)]
ecore_cocoa: fix _nsevent_window_is_type_of() type check
isKindOfClass should receive an instance of a class and a class as arguments and
not two class. It fixes Mouse events sent to a window on OSX.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Michelle Legrand [Thu, 22 Jan 2015 10:24:42 +0000 (11:24 +0100)]
ecore_cocoa: handle more special characters and capital characters.
This patch is self contained for Mac OS X and improve its keyboard handling.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
pierre lamot [Wed, 21 Jan 2015 11:04:37 +0000 (12:04 +0100)]
eina: fix eina_test_rwlock test on OSX.
add a reimplementation of clock_gettime for OSX within the test in
order to be able to test eina_condition_timedwait
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
pierre lamot [Wed, 21 Jan 2015 10:27:56 +0000 (11:27 +0100)]
ecore: check that a test doesn't enter in an infitie loop.
check that ecore_test_ecore_thread_eina_thread_queue_t6 doesn't
enter in an infinite loop if something goes wrong, if the main thread
doesn't receive the message number 10000
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
pierre lamot [Wed, 21 Jan 2015 10:05:41 +0000 (11:05 +0100)]
eina: fix semaphore initialisation
This patch fix the semaphore initialisation on posix plateform
there was a preconditon test which returned the semaphore
uninitialised when count_init was 1, this caused the semaphore to
be unusable on OSX plateform. Furthermore, it seems that we need to
unlink the semaphore before its initialisation on OSX as there seems
to have some kind of persistence of the semaphore accross execution.
warning, this patch change the signification of the parametter
count_init on linux plateform, this parametter is now consistent on
every plateform, with the meaning of setting the initial count value
of the semaphore.
This used to be on linux 1 -> the semaphore is shared and initialised
at 1 and 0 -> the semaphore is not initialised, thus, by side effect
not shared and initialised at 0.
This patch set on linux plateform the semaphore as systematically
shared
@fix
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
pierre lamot [Tue, 20 Jan 2015 14:39:08 +0000 (15:39 +0100)]
evas: jpeg decoders alows a difference of 1 bit per component.
The required precision of decompressed images allows a difference of
1 bit for each pixel compoment [1] . Such difference has been noticed
on OSX when using libjpeg9 from macports.
evas_suite images tests has been modified to compare jpeg images with
this tolerance. Other image formats are still compare with exact
precision
[1] http://en.wikipedia.org/wiki/JPEG#Required_precision
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
pierre lamot [Thu, 11 Dec 2014 13:09:06 +0000 (14:09 +0100)]
ecore: fix path comparison in Ecore_File test suite.
The Ecore_File test suite was comparing path with strcmp,
which can lead to incorect comparison in some case (comparing
realpath and expected path for instance)
This patch adds a function to compare paths within this tests. Paths
are compared by getting the "realpath" of each operand
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>