Commit Graph

6085 Commits

Author SHA1 Message Date
Cedric BAIL 76a5efe13a evas: implement pixel_color blending functions using NEON intrinsics.
Summary:
NEON intrinsics can be built both for armv7 and armv8.
Implemented functions:
_op_blend_pan_c_dp_neon
_op_blend_p_can_dp_neon
_op_blend_pan_can_dp_neon
_op_blend_p_caa_dp_neon
_op_blend_pan_caa_dp_neon

Reviewers: raster, cedric

Subscribers: cedric

Projects: #efl

Maniphest Tasks: T2341

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:11 +02:00
vivek 1fdc58a580 eina: add crc hash function to eina hash module.
Summary:
Added eina_hash_crc function in eina hash module to generate hash code
using crc-32.

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: Sergeant_Whitespace, cedric

Subscribers: Sergeant_Whitespace, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:11 +02:00
Cedric BAIL d63593fc64 evil: remove the need to order the header correctly for Windows. 2015-05-07 09:53:11 +02:00
Cedric BAIL 61e2718907 ethumb: remove the need to order the header correctly for Windows. 2015-05-07 09:53:11 +02:00
Cedric BAIL 24b14b408e ephysics: remove the need to order the header correctly for Windows. 2015-05-07 09:53:11 +02:00
Cedric BAIL c4cb972a83 eolian: remove the need to order the header correctly for Windows. 2015-05-07 09:53:11 +02:00
Cedric BAIL 3dfdafe41c eo: remove the need to order the header correctly for Windows. 2015-05-07 09:53:11 +02:00
Cedric BAIL f193b91fd8 emotion: remove the need to order the header correctly for Windows. 2015-05-07 09:53:11 +02:00
Cedric BAIL 109dc54451 embryo: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL e1dee32e26 elua: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL c7d8d83c47 eldbus: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL 84ddee331b eio: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL 0b4a911450 efreet: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL 04d290c350 efl: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL e2f69adcf0 eeze: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL 59fb53c4cc edje: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL ce5ccfb5be ecore: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL 71b7fc982a evas: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL 7b52ecc9b9 eet: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL fe6f394dab emile: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Cedric BAIL 0dfb263a28 eina: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
vivek a2f2d942c6 eina: add CRC implementation to Eina module.
Summary:
Added eina_crc function in eina to calculate crc for the key passed and
added eina_hash_crc function for hashing using crc

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: Sergeant_Whitespace, cedric

Reviewed By: cedric

Subscribers: Sergeant_Whitespace, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:09 +02:00
Bogdan Devichev 04038dfaef evas: primitives - Changed enum for types of Evas_3D_Mesh primitives
Summary:
**`Creating API for primitives.`**

//What should be in the end://

- Class evas_3d_primitive inherited from eo.base
- Unificated API of mesh for setting data from primitives
- API's of primitives to get/set precision, ratio, type, tex_scale etc.
- code of primitives in separated modules

//Steps://

**1.) Enum for types of primitives**
2.) Copies of primitives in modules
3.) Eo and c files for class of primitive
4.) In common create picker of module
5.) API function in mesh.c
6.) Binding of new realization
7.) Rewriting of examples
8.) Deleting of old files for primitives

//Also this commit will be usable in parsing EDC by edje//

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:09 +02:00
Cedric BAIL 657d495aa9 evas: implement _op_blend_p_mas_dp_neon and _op_blend_pas_mas_dp_neon in NEON intrinsics.
Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

Projects: #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:09 +02:00
Cedric BAIL 8fa4d415e4 evas: improve _op_blend_p_dp_neon intrinsics implementation
Summary:
Use vceqq and vbsl instead of twice as much vmovl and vadd instructions.
Replace vaddq_u8 with vaddq_u32.
This allows NEON code to behave exactly like C version.

Reviewers: raster, cedric

Reviewed By: cedric

Projects: #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:09 +02:00
Oleksandr Shcherbina d88ccf06a5 evas: use Evas_GL_image for generate texture unit for Evas_3D_Texture.
Summary:
Used engine function for load image/data and use texture unit through
Evas_GL_Image object
Used Evas_ColorSpace format instead Evas_3D_Color/Pixel format
Added transformation matrix for adjusting texture unit coordinates in shader
Added property in Evas_3D_Texture for mark possibility get texture without atlas
(see https://phab.enlightenment.org/conpherence/54/, I suppose it will done
after this patch)

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:09 +02:00
Yury Usishchev 970afe9bea evas: implement _op_blend_mas_can_dp_neon in NEON intrinsics.
Reviewers: raster, cedric

Reviewed By: cedric

Projects: #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:09 +02:00
Yury Usishchev be7c7c2c77 evas: implement _op_blend_p_c_dp_neon in NEON intrinsics.
Reviewers: cedric, raster

Projects: #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:09 +02:00
Yury Usishchev a0d0c98839 evas: improve _op_blend_mas_c_dp_neon intrinsics implementation.
Summary:
Use vceqq and vbsl instead of twice as much vmovl and vadd instructions.
Replace vaddq_u8 with vaddq_u32.
This allows NEON code to behave exactly like C version.

Reviewers: cedric, raster

Projects: #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:08 +02:00
Yury Usishchev d2c5730b81 evas: implement _op_blend_mas_c_dp_neon in NEON intrinsics.
Reviewers: raster

Subscribers: cedric

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D2312
2015-05-07 09:53:08 +02:00
Yury Usishchev 9caa6a3597 evas: implement _op_blend_p_dp_neon and _op_blend_pas_dp_neon in NEON intrinsics.
Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D2311
2015-05-07 09:53:08 +02:00
Yury Usishchev a30481d27b evas: implement _op_blend_c_dp_neon in NEON intrinsics.
Reviewers: raster, cedric

@feature

Reviewed By: cedric

Subscribers: jpeg, cedric

Projects: #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:08 +02:00
Yury Usishchev 71eec44ccc evas: enable NEON-optimized code for aarch64.
Summary:
Add new define, BUILD_NEON_INTRINSICS to control whether NEON inline code or
NEON intrinsics should be built.

GCC NEON intrinsics can be built both for armv7 and armv8. However NEON inline
code can be built only for armv7.

@feature

Reviewers: raster, stefan_schmidt, cedric

Subscribers: cedric, stefan_schmidt

Projects: #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:08 +02:00
Jean Guyomarc'h 62e29b39f4 ecore_audio: integrate Apple's CoreAudio to play sounds on OS X.
Summary:
Ecore_Audio now supports Apple's CoreAudio to play sounds read by libsndfile.
edje_multisense integrates this new feature to enable PLAY_SAMPLE on OS X.

Test Plan:
Compiles, links and installs fine on OS X.
Run terminology and elementary_test to hear sound played on user input.

Reviewers: raster, naguirre, cedric

Reviewed By: cedric

Subscribers: plamot, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:07 +02:00
Vincent Torri a53c52dee0 Ecore_Exe: remove process_id field as it is a duplicate of the pid one
It breaks ABI on Windows (not a big deal at this stage).

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:07 +02:00
Daniel Zaoui 2c5ec0b132 Eolian: Add API to retrieve an event of a class by its name
@feature
2015-05-07 09:57:15 +03:00
Tom Hacohen acd4ace06c Emotion: Migrate some more of emotion to Eo/efl.player. 2015-05-06 18:22:22 +01:00
Tom Hacohen 6cb22bae35 Eo: Add eo_do_part.
This is a convenience macro to be used by the common pattern of getting
a part and then immediately calling functions on it. For example,
  without this macro, you'd have to write code like:

Eo *part;
eo_do(obj, part = efl_part_name_get("partname"));
eo_do(part, a_set(7));

while using the helper function trims it to:

eo_do_part(obj, efl_part_name_get("partname"), a_set(7));

@feature
2015-05-06 17:56:05 +01:00
Tom Hacohen 3dae6d9209 Eo base: Reorder the eolian file to be in a sensible order. 2015-05-06 15:46:19 +01:00
Tom Hacohen 47b63d0a1b Eo base: Fix eo_constructor's declaration.
Remove it from the constructors section.
This was wrong. This place is for functions that are allowed to be
passed to eo_add() and should be used by bindings to create
constructors.
This is wrong for both cases, as this should always be called, not
optional.

Also remove the redundant legacy: null.
2015-05-06 15:46:18 +01:00
Tom Hacohen c3c12ab4ad Eo: Improve documentation. 2015-05-06 15:46:18 +01:00
Tom Hacohen b26088d558 Eo: Take eo out of beta.
This is following a last review and a discussion on IRC. Eo has been
stable (apart of a decision a few months ago to support more compilers)
for a long while. Developers are already using it for a while, and it's
stupid to break it for them anyway, so we might as well make this
promise now. There are no plans to change it anymore, and it's been
heavily used and tested throughout the EFL for a few releases now.

I'm tagging it as a feature, although it's not, I'm doing it for the
automatic changelog generation. :)

@feature.
2015-05-06 15:46:18 +01:00
Tom Hacohen 1506ec30ba Eo base: mark composite API as not ready. 2015-05-06 15:46:18 +01:00
Daniel Kolesa 7cc295ae9a elua lib: use -1 for default values in localeconv 2015-05-06 15:05:23 +01:00
Daniel Kolesa 490deb9328 elua lib: add API to retrieve lconv from lua 2015-05-06 15:05:23 +01:00
Daniel Kolesa 3a685d40c0 elua lib: add a func to retrieve the current translation lang 2015-05-06 15:05:23 +01:00
Daniel Kolesa 093c7aa596 elua lib: remove unnecessary checks (always initialized) 2015-05-06 15:05:23 +01:00
Daniel Kolesa db66fe6255 elua lib: fix elua_util_app_load + docs 2015-05-06 15:05:23 +01:00
Daniel Kolesa e73f7f7a40 elua lib: use Eina_Bool as return val in some utils 2015-05-06 15:05:23 +01:00
Daniel Kolesa 88faba813c elua lib: merge the 3 setup funcs into one
This allows simpler initialization and elua_util_require
can now queue up modules before full initialization is done.
2015-05-06 15:05:23 +01:00
Daniel Kolesa 660a4d7e1c elua lib: docs for elua_util_error_report + remove unnecessary arg 2015-05-06 15:05:22 +01:00
Daniel Kolesa a02bb195d9 elua lib: docs for elua_util_script_run 2015-05-06 15:05:22 +01:00
Daniel Kolesa a5486874d5 elua lib: docs for elua_util_app_load 2015-05-06 15:05:22 +01:00
Daniel Kolesa ca056e51ef elua lib: docs for elua_util_string_run 2015-05-06 15:05:22 +01:00
Daniel Kolesa f9520f7974 elua lib: docs for elua_util_file_run 2015-05-06 15:05:22 +01:00
Daniel Kolesa 1bc450402f elua lib: docs for elua_util_require 2015-05-06 15:05:22 +01:00
Daniel Kolesa 2a8eb85dff elua lib: docs for elua_io_loadfile 2015-05-06 15:05:22 +01:00
Daniel Kolesa 098b135799 elua lib: docs for elua_state_io_setup 2015-05-06 15:05:22 +01:00
Daniel Kolesa 123955994b elua lib: docs for elua_state_modules_setup 2015-05-06 15:05:22 +01:00
Daniel Kolesa 373ad4e9f6 elua lib: docs for elua_state_i18n_setup 2015-05-06 15:05:22 +01:00
Daniel Kolesa 8bd25cc966 elua lib: docs for elua_state_lua_state_get 2015-05-06 15:05:22 +01:00
Daniel Kolesa a27fe217df elua lib: docs for elua_state_appload_ref_push 2015-05-06 15:05:22 +01:00
Daniel Kolesa 9d46c23403 elua lib: docs for elua_state_require_ref_push 2015-05-06 15:05:22 +01:00
Daniel Kolesa 6a8c807f81 elua lib: docs for elua_state_include_path_add 2015-05-06 15:05:22 +01:00
Daniel Kolesa a54fa7abb9 elua lib: add docs for elua_state_prog_name_get 2015-05-06 15:05:22 +01:00
Daniel Kolesa 4d6f254885 elua lib: add docs for the dir retrieval APIs. 2015-05-06 15:05:22 +01:00
Daniel Kolesa eab576db61 elua lib: add doc for elua_state_dirs_fill 2015-05-06 15:05:22 +01:00
Daniel Kolesa fcf865f7ae elua lib: add docs for elua_state_dirs_set 2015-05-06 15:05:21 +01:00
Daniel Kolesa 002dc5a6b9 elua lib: add state_free doc 2015-05-06 15:05:21 +01:00
Daniel Kolesa 8f7c9a3b26 elua lib: add state_from_lua_state_get doc 2015-05-06 15:05:21 +01:00
Daniel Kolesa 8b6dd5a417 elua lib: add state_new doc 2015-05-06 15:05:21 +01:00
Daniel Kolesa f16f21f37d elua lib: add init/shutdown doc 2015-05-06 15:05:21 +01:00
Daniel Kolesa 81e3f753da elua lib: start adding documentation 2015-05-06 15:05:21 +01:00
Daniel Kolesa 7cb8d13980 elua lib: hide some APIs that should not be public 2015-05-06 15:05:21 +01:00
Daniel Kolesa e77ba60a58 elua lib: tests for core dirs + fix core dirs 2015-05-06 15:05:21 +01:00
Daniel Kolesa 7f05cfc0e6 elua lib: error_report is now in util namespace 2015-05-06 15:05:20 +01:00
Daniel Kolesa f8f9cc14a7 elua lib: API rename 2015-05-06 15:05:20 +01:00
Daniel Kolesa d8890209af elua lib: unify API conventions 2015-05-06 15:05:20 +01:00
Daniel Kolesa 24a694026a elua lib: add elua_state_setup_modules + use 2015-05-06 15:05:20 +01:00
Daniel Kolesa 8041b042fe elua lib: move i18n initialization there 2015-05-06 15:05:20 +01:00
Daniel Kolesa 0496762057 elua: utilize the new elua_util APIs 2015-05-06 15:05:20 +01:00
Daniel Kolesa 5aca5e13a1 elua lib: add elua_util_ APIs 2015-05-06 15:05:20 +01:00
Daniel Kolesa e806ae6f5c elua lib: add a way to retrieve the progname 2015-05-06 15:05:20 +01:00
Daniel Kolesa 13bd7ba653 elua lib: add progname to state 2015-05-06 15:05:20 +01:00
Daniel Kolesa 18da22a468 elua lib: add APIs to retrieve refs to require/appload 2015-05-06 15:05:20 +01:00
Daniel Kolesa 6be9b662fb elua lib: add APIs for include path management 2015-05-06 15:05:19 +01:00
Daniel Kolesa 5f6109bc47 elua: new API elua_state_dirs_fill + utilize 2015-05-06 15:05:19 +01:00
Daniel Kolesa 329fae97b0 elua lib: manage bound modules within Elua_State 2015-05-06 15:05:19 +01:00
Daniel Kolesa ad999df598 elua lib: make Elua_State fields private (opaque pointers) 2015-05-06 15:05:19 +01:00
Daniel Kolesa b563ae007e elua lib: add elua_state_lua_state_get 2015-05-06 15:05:19 +01:00
Daniel Kolesa 51a5d09018 elua lib: const correctness 2015-05-06 15:05:19 +01:00
Daniel Kolesa 19bb7eb460 elua lib: new APIs to retrieve dirs 2015-05-06 15:05:19 +01:00
Daniel Kolesa f17e8025b8 elua lib: more Elua_State usage 2015-05-06 15:05:19 +01:00
Daniel Kolesa 128aa3a1ea elua lib: elua_io_loadfile now uses Elua_State 2015-05-06 15:05:19 +01:00
Daniel Kolesa e4baa1bc12 elua lib: use eina safety checks 2015-05-06 15:05:19 +01:00
Daniel Kolesa ed3f24943f elua lib: add elua_state_dirs_set 2015-05-06 15:05:19 +01:00
Daniel Kolesa cf98f846e9 elua lib: Elua_State for elua_state_setup_i18n 2015-05-06 15:05:18 +01:00
Daniel Kolesa c1487c8b11 elua: elua_report_error now takes Elua_State* 2015-05-06 15:05:18 +01:00
Daniel Kolesa 357d902b87 elua lib: add elua_state_from_lua_get 2015-05-06 15:05:18 +01:00
Daniel Kolesa bf4837dbbf elua lib: add elua_state_new and elua_state_free 2015-05-06 15:05:18 +01:00