summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-17evas: fix error checking of eglBindAPI.Minkyoung Kim
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>
2015-02-17edje: add a block "position" for Evas_3D part (camera, light and node).perepelits.m
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>
2015-02-17evas: Evas_3D - refactor node shapes update mechanism.Dmytro Dadyka
Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1984 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-16evas: updated .gitignore to not track evas_3d_colorpick example.kabeer khan
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>
2015-02-16edje: Edje_Edit - add examples for it's API using for BOX part and itemsVitalii Vorobiov
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>
2015-02-16evas: fix misspellings in evas_render2.Yomi
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>
2015-02-16ecore_con: updatet documentation about Ecore_Con events.Srivardhan Hebbar
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>
2015-02-16evas: Evas GL - add glGetError() after surface capability test.Minkyoung Kim
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>
2015-02-13edje: Edje_Edit - functions to edit layouts of BOX partsVitalii Vorobiov
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
2015-02-13edje: edje_edit - fix group source generation of box paramsVitalii Vorobiov
Need to generate such params of box like align, padding, min and layouts (both primary and alternative). @fix
2015-02-13edje: edje_edit - fix group source generation of item 'weight' paramVitalii Vorobiov
@fix
2015-02-13edje, eeze: compiler portability (use full ternary operator)Daniel Kolesa
2015-02-13eina: remove useless eina_inline_lock_win32.x file.Vincent Torri
2015-02-13eina: fix compilation on Widows due to removal of native thread support.Vincent Torri
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
2015-02-13ecore/drm: Compile ecore_drm_logind.c without conditionStefan Schmidt
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
2015-02-13Evas: Fix compilation warning (-Wshadow)Jean-Philippe Andre
2015-02-13Evas: Free variable in error pathJean-Philippe Andre
Fixes CID 1270032 Resource leaks (RESOURCE_LEAK) Variable "exim" going out of scope leaks the storage it points to.
2015-02-12ee-win32 probably might compile nowMike Blumenkrantz
<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
2015-02-12ecore/drm: Fix libinput >= 0.8 checkStefan Schmidt
We need #if here as LIBINPUT_HIGHER_08 will be either 0 or 1 @fix
2015-02-12ecore-drm: Fix bad German formatting ;)Chris Michael
Summary: No functional changes, just formatting Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-12ecore/drm: Add support for changed libinput API since 0.8Stefan Schmidt
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
2015-02-12edje_cc: Avoid segfault when strcmp NULL itemsStefan Schmidt
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
2015-02-12Eolian: improve the class searching.Daniel Zaoui
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.
2015-02-12Eolian: store the class filenames with the extensions.Daniel Zaoui
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.
2015-02-12tests/evas: Enable evas 3d mesh test case again after the code got fixed.Stefan Schmidt
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
2015-02-12eolian: add testcase for nullable/optionalDaniel Kolesa
2015-02-12eolian: remove unneeded codeDaniel Kolesa
2015-02-12evas 3d - undo async block code - 3d objects dont inherit from evas objCarsten Haitzler (Rasterman)
2015-02-12evas - image obj - filled mode - never use invalid 0x0 fillCarsten Haitzler (Rasterman)
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.
2015-02-12eolian: add APIs for nullable/optional (+ lua bindings)Daniel Kolesa
2015-02-12eolian: write the new parameters into the databaseDaniel Kolesa
2015-02-12eolian: check the other boolean rather than itselfDaniel Kolesa
2015-02-12eolian: parsing of @nullable and @optional args on func paramsDaniel Kolesa
2015-02-12Revert "ecore: fix path comparison in Ecore_File test suite."Stefan Schmidt
This reverts commit 66c0f3261dab904fce533b0f7d30b1b374abd658. This commit breaks the eina_file suite on Gentoo (our jenkins OS). ref T2105
2015-02-12tests/evas: Disable segfaulting evas_object_mesh_loader_saverStefan Schmidt
This test case segfault on jenkins as well as on my devel machine. Disable until fixed. ref T2104
2015-02-12eina: Fix MacOS X build with clang 3.6.Guilherme Lepsch
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>
2015-02-12Revert "Evas GL: Add support for uniforms in the shaders"Jean-Philippe Andre
This reverts commit 21d08f86e6087f7e30ff2015c7551c06e359bba9.
2015-02-12Revert "Evas GL common: Use uniform instead of attribute for sample"Jean-Philippe Andre
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.
2015-02-12Evas GL common: Improve code readability (simplify macro)Jean-Philippe Andre
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.
2015-02-12Evas GL common: Simplify GL pipe code with macrosJean-Philippe Andre
A lot of the code was just brutal copy & paste. Reduced by using simpler macros, which I believe are even more readable.
2015-02-12Evas GL common: Call glGetUniformLocation as early as possibleJean-Philippe Andre
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.
2015-02-12Evas GL common: Use uniform instead of attribute for sampleJean-Philippe Andre
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.
2015-02-12evas - render - have lock point to allow for async obj walk + update addCarsten Haitzler (Rasterman)
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.
2015-02-11ecore-drm: Print error when taking control of a device failsChris Michael
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>
2015-02-11eldbus: Fix formattingChris Michael
Summary: No functional changes, just formatting Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-11ecore-drm: Disable/Enable inputs if we release/aquire VT through logindChris Michael
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>
2015-02-11ecore-drm: Disable/Enable inputs if we release/acquire the VTChris Michael
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>
2015-02-11evas: Evas_3D - iport/export of Obj format can be read even if obj-file does ↵Bogdan Devichev
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>
2015-02-11evas: example for Evas_3D color pickOleksandr Shcherbina
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-11evas: Evas_3D - mechanism for finding node by color pick.Oleksandr Shcherbina
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>