Chris Michael [Thu, 30 Jun 2016 14:47:56 +0000 (10:47 -0400)]
ecore-input: Check return fo ecore_main_fd_handler_fd_get
This patch fixes 2 coverity Error handling issues.
ecore_main_fd_handler_fd_get can return a negative fd on error so we
should be checking that return before trying to make use of the fd.
Fixes Coverity CID1356632 and CID1356624
@fix
Change-Id: I2930c305ad6f9a3606807498aff490b218c0efe6
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Shinwoo Kim [Mon, 13 Jun 2016 10:41:38 +0000 (19:41 +0900)]
Ecore_Input: define data type for joysticks
Summary: This adds support for joysticks for ecore_input
Reviewers: cedric, devilhorns, Sergeant_Whitespace, raster, thiepha, zmike, jpeg
Reviewed By: thiepha, zmike, jpeg
Subscribers: thiepha, stefan_schmidt, zmike, singh.amitesh, Sergeant_Whitespace, jgerecke, cedric, seoz
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D1538
Change-Id: Iba40a1a4be0e0d830c3d09cb719179f4b27b9190
Shinwoo Kim [Wed, 22 Feb 2017 09:05:29 +0000 (18:05 +0900)]
Revert "[ecore_input] initial version of ecore joystick event"
This reverts commit
863df65c10b1d0f1e62ad45ba8ab3afaf2273537.
Change-Id: Id9af2efdd1d12ef6aaa5b84d9dd0f571bf9b3d43
Shinwoo Kim [Wed, 22 Feb 2017 09:01:24 +0000 (18:01 +0900)]
Revert "ecore_input: dont try to build a joystick feature on window os."
This reverts commit
d3230a87b3e99d7843a23f96d2ae00c7a5cca46b.
Change-Id: I9128f73a739fa18c2b4ce6785e8329c4a7e533b8
Shinwoo Kim [Wed, 22 Feb 2017 09:00:53 +0000 (18:00 +0900)]
Revert "ecore_input: disable joystick feature in Mac OS"
This reverts commit
bf13290fbcdc603f532cb2b01685e9f8a77e77e9.
Change-Id: I4c58c6031fbc7d20814664b9877592101fbdb126
Shinwoo Kim [Wed, 22 Feb 2017 08:59:53 +0000 (17:59 +0900)]
Revert "[ecore_input] add ECORE_EVENT_JOYSTICK_BUTTON_PLAY"
This reverts commit
88c8ae2360d9a00b92f894552c7e2492ad1b264b.
Change-Id: I0e383028cbe9d6269576ef7e743dad65c52f94c9
Wonsik, Jung [Mon, 6 Mar 2017 05:56:06 +0000 (14:56 +0900)]
[EvasGL] Fix the bug as EvasGL can not find the config.
If the EvasGL's capability values are as the below, evas gl can not find the cfg.
Because depth, stencil and msaa values are reset by window's cfg unlimited.
So, this patch is that the reset work runs only once.
[Index] [Color Format] [------Depth Bits------] [----Stencil Bits---] [---Depth_Stencil---] [Samples]
0 GL_RGB 0 0 0 0
1 GL_RGB 0 GL_STENCIL_INDEX8 0 0
2 GL_RGB 0 0 GL_DEPTH_STENCIL_OES 0
3 GL_RGB GL_DEPTH_COMPONENT16 0 0 0
4 GL_RGB GL_DEPTH_COMPONENT24_OES 0 0 0
5 GL_RGBA 0 0 0 0
6 GL_RGBA 0 GL_STENCIL_INDEX8 0 0
7 GL_RGBA 0 0 GL_DEPTH_STENCIL_OES 0
8 GL_RGBA GL_DEPTH_COMPONENT16 0 0 0
9 GL_RGBA GL_DEPTH_COMPONENT24_OES 0 0 0
10 GL_RGB 0 0 0 2
11 GL_RGBA 0 0 0 2
12 GL_RGB 0 0 0 4
13 GL_RGBA 0 0 0 4
14 GL_RGB 0 0 0 8
15 GL_RGBA 0 0 0 8
Change-Id: I0cbbc6d7b5167884246f88eeef0958f163552c08
ayush.sriv [Sun, 5 Mar 2017 11:32:01 +0000 (17:02 +0530)]
[Ecore] Memory leak fixed in Ecore Wayland
Change-Id: I51fb6d380add79e55cb5acaf7f3b750c72a96d43
Signed-off-by: ayush.sriv <ayush.sriv@samsung.com>
Youngbok Shin [Sun, 26 Feb 2017 04:34:38 +0000 (13:34 +0900)]
evas: clean up GL images for emojis when GL context is free'd in shutdown process
If GL context is free'd before processing font shutdown,
textures for emoji glyph's GL images will be free'd without clean up its GL images.
It causes eina mempool infinite loop issue when emoji's GL images are free'd
in shutdown process.
So, the patch will make a list for emoji's GL images in context and clean up them
when the context is free'd. Just like font textures in context.
@tizen_fix
Change-Id: I3904f9aff74888e227a4f2143c4ff607ebb82415
(cherry picked from commit
cecaf12a3bea725b53041126031c58035d76dfd1)
Daekwang Ryu [Thu, 23 Feb 2017 04:43:17 +0000 (13:43 +0900)]
EvasGL: For depth&stencil&msaa, use renderbuffer instead of texture
glFramebufferTexture2DMultisampleEXT() supports color attachment only.
so depth&stencil attachment should be bound via renderbuffer not texture.
According to http://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_multisampled_render_to_texture.txt
In order to allow the use of multisampled depth and stencil buffers
when performing multisampled rendering to a texture, the extension
also adds the command RenderbufferStorageMultisampleEXT.
target, textarget, texture, and level correspond to the same
parameters for FramebufferTexture2D and have the same restrictions.
attachment must be COLOR_ATTACHMENT0.
Change-Id: I776a62027fb1987704d3c82b28d9452dd2cf427a
Daekwang Ryu [Thu, 23 Feb 2017 04:41:08 +0000 (13:41 +0900)]
evas gl: Partially fix MSAA for GLES 3 drivers
MSAA (multisampled_render_to_texture) support was implemented with
GLES 2 in mind, but for GLES 3 it comes as a core feature, not as
an extension. Also it relies on renderbuffers, not textures. GL
is awesome.
Note: MSAA still doesn't work!
Change-Id: I51d1588d2bdae49af31802735c0bd29fcb7acc1f
Youngbok Shin [Wed, 22 Feb 2017 01:49:33 +0000 (10:49 +0900)]
Revert "evas textblock: +1 to formatted width from Textblock"
This reverts commit
b609c40cbbfc5b9e864fb43875c691fa65eaa445.
This patch is replaced by
05eabd43deec80fef58fc6132418867662bba069.
There was a problem to handle x_bear value.
Change-Id: If0b185fb230a020588374e2987887685af12e50b
Daniel Hirt [Wed, 23 Mar 2016 09:53:53 +0000 (11:53 +0200)]
Evas font: fix width calc in last_up_to_pos
Width calculations should consider the x_bear. This has been leading to
inconsistent results between wrapping calculation during layout and the
final formatted size.
Also, we should stop our walk only when exceeding 'x', so changed "<="
to "<".
@fix
Change-Id: I697843f0a9832688c349760f3fc9e9c32ca1f715
Thiep Ha [Mon, 20 Feb 2017 03:16:41 +0000 (12:16 +0900)]
extn engine: move socket creation from ecore_con to ecore_evas extn engine
Since the socket creation in ecore_con makes the circular dependency,
it needs to move to ecore_evas extn engine.
This also sastifies the requirement from security team:
two applications cannot directly connect to the other using socket,
the only exception is using ELM_WIN_SOCKET_IMAGE.
@tizen_feature
Change-Id: Ie1815b44d4f7afc7bfecdb07cf8dadf0e5318427
Myoungwoon Roy, Kim [Sat, 18 Feb 2017 04:34:03 +0000 (13:34 +0900)]
Fix typos and some wrong expressions in Eina API reference doxygen.
Conflicts:
src/lib/eina/eina_matrix.h
Change-Id: I42f825f751208ceafd0942536bfcc40b189a5ef4
Myoungwoon Roy, Kim [Thu, 16 Feb 2017 08:52:29 +0000 (17:52 +0900)]
Fix typos and some wrong expressions in Edje and Eet API reference doxygen.
Change-Id: I94d4b406345346dbbabad90e5daeef43ce0681a2
Youngbok Shin [Thu, 16 Feb 2017 04:49:33 +0000 (13:49 +0900)]
evas, edje: Apply align according to paragraph_direction
It is a patch to keep backward compat with Tizen 2.4.
This feature should be replaced by align=locale feature.
Please, check the following upstream patch.
https://phab.enlightenment.org/D4664
@tizen_feature
Change-Id: I6d672ffbf133891279d55e5454e7f1e47c97e313
Youngbok Shin [Mon, 20 Feb 2017 09:12:35 +0000 (18:12 +0900)]
evas: clear the previous engine's data for color emoticon
Changing rendering engine in a running process could cause crash issues.
The image data for emoticons should be saved seperately or
should be refreshed when different engine is loaded.
@tizen_fix
Change-Id: I4ba98118cac8c69bdf722416443cd2141686bc5b
(cherry picked from commit
617a8c8793d1fff6ff3eb2bfb551e41c8b153c0b)
Youngbok Shin [Thu, 16 Feb 2017 04:24:52 +0000 (13:24 +0900)]
evas: add EVAS_BIDI_DIRECTION_ANY_RTL for evas_object_paragraph_direction_set API
The original patch is uploaded to EFL upstream.
Please, check the following link.
https://phab.enlightenment.org/D4663
@tizen_feature
Change-Id: I4c63be1d8323ed4fe12e18079e821b39d89ca47f
(cherry picked from commit
33abef086cb33862931f1394646f0eb028f75c9b)
Myoungwoon Roy, Kim [Mon, 13 Feb 2017 08:48:59 +0000 (17:48 +0900)]
Fix typos and some wrong expressions in API reference doxygen.
Change-Id: I26618f15b6ed0589f3538b860612ccfc3b63f31f
Joogab Yun [Fri, 17 Feb 2017 03:59:45 +0000 (12:59 +0900)]
[evas_tbmbuf] reset all tbm_buffer_info->age when changed total surface
number
Change-Id: I2bd21c44dd417823eca90a81575c426bf3c62e5a
Joogab Yun [Wed, 15 Feb 2017 07:03:31 +0000 (16:03 +0900)]
[evas_gl] calculate flip flag before rotating
Change-Id: Ib87ec907cac0ea3c3a776c43d4b1dac1221ce474
Daekwang Ryu [Thu, 16 Feb 2017 07:54:47 +0000 (16:54 +0900)]
evas_gl: Check bounds of num_fbo_fmts
Valid range of num_fbo_fmts is 0 ~ 100.
Max value comes from caps.fbo_fmts length.
Change-Id: I40349c5a412809ebb3bb9cebe0e12bde454a6eaf
Jongmin Lee [Wed, 18 Jan 2017 06:29:03 +0000 (15:29 +0900)]
remove test/debug executables in binary
Change-Id: Ic75ca8b4fbe5b2a64d635b2dad4e18e4076bbc07
Youngbok Shin [Wed, 15 Feb 2017 10:55:52 +0000 (19:55 +0900)]
evas: fix crash issue due to wrongly created new line
A line's min text pos could have previous invisible (visually deleted) item's text pos.
Because of this, Textblock could create empty new line. When Textblock's cursor tried to move
on the empty line, process will be crashed.
@tizen_fix
Change-Id: Id32f4d950839646ce7eda4804d7335762a4d6065
Myoungwoon Roy, Kim [Fri, 10 Feb 2017 04:10:15 +0000 (13:10 +0900)]
Fix typos, cacologique statements in API reference doxygen of ecore's audio, avahi, buffer, and con
Change-Id: Id5a3d71475adbcc8eb932cef2b38851e6586c61f
Jaehyun Cho [Wed, 15 Feb 2017 10:03:55 +0000 (19:03 +0900)]
ecore_wl_window: Fix not to update x/y in ecore_wl_window_move()
Since Wayland handles moving surfaces by itself so window geometry
should not be updated with specific x/y in ecore_wl_window_move().
Otherwise, window geometry x/y can be updated as 0 incorrectly by
elm_win_move_resize_start().
Change-Id: Ic3ecd9b9f0d5a847c91670295978ae60117080a3
Duna Oh [Mon, 13 Feb 2017 11:04:27 +0000 (20:04 +0900)]
ecore_wl: add codes to request set_geometry_hint when setting geometry hints according to the angle
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Icba756ac6e0ebec734c686032662f8b3c6958e2a
Joogab Yun [Mon, 13 Feb 2017 09:34:43 +0000 (18:34 +0900)]
[evas_tbmbuf] fixed svace issue about ALLOC_SIZE_MISMATCH
(WGID:175040 WID:
20231917)
Change-Id: I3440a0116e13f3000407043b2ad3b76b9bf7bd63
Myoungwoon Roy, Kim [Thu, 9 Feb 2017 04:23:01 +0000 (13:23 +0900)]
Fix typos, cacologique statements in API reference doxygen of Ecore_Getopt and Ecore_Legacy
Change-Id: I7f2602833740b8ea90cb0cc3a2ae51ccc36e4cb8
Myoungwoon Roy, Kim [Wed, 8 Feb 2017 06:48:45 +0000 (15:48 +0900)]
Fix typos, cacologigue statements in API reference doxygen of Ecore_Common
Change-Id: I654bd07cff192453627deef6154e8461570ff606
Joogab Yun [Thu, 9 Feb 2017 09:32:20 +0000 (18:32 +0900)]
[evas_gl_thread] change mode of glBindBuffer to finish
Change-Id: I655e6f82238d069fc053d737ab01b4c0a396f2f4
Joogab Yun [Thu, 9 Feb 2017 06:55:04 +0000 (15:55 +0900)]
[evas_thread_render] evas: (GL thread) Added GL thread renderer logics
based of SW thread renderer
Change-Id: I5979a6da431cceeb5e5ae1863b5eca70a2e3b445
Joogab Yun [Mon, 6 Feb 2017 03:42:51 +0000 (12:42 +0900)]
[wayland_shm] recalculate the buffer_age
Change-Id: Ifaa105937a86184bdfbd898285e613dac739b702
InHong Han [Tue, 7 Feb 2017 05:49:02 +0000 (14:49 +0900)]
ecore_imf: Add ecore_imf_context_keyboard_mode_get API
Because, there is no way to get keyboard mode manually.
Change-Id: I12cbdc52cbf650648b63c5864167343ba64fe635
Myoungwoon Roy, Kim [Tue, 7 Feb 2017 06:24:54 +0000 (15:24 +0900)]
Fix typo, cacologique expession in API reference doxygen documents.
Change-Id: I219335d3ea4f87868704e9178a65490381e32f86
Changyeon Lee [Fri, 3 Feb 2017 10:07:05 +0000 (19:07 +0900)]
ecore_buffer: refernece tbm_surface when alloc with tbm_surface
Change-Id: I625471815045e0dffdf916e25d608c97214aa5a9
Boram Park [Mon, 26 Dec 2016 05:41:10 +0000 (14:41 +0900)]
use tdm_layer_commit instead of tdm_output_commit
Change-Id: I9655184fcbf5807b58b07f118d9c4dde20f44c24
Youngbok Shin [Wed, 1 Feb 2017 10:49:41 +0000 (19:49 +0900)]
evas textblock: Fix RTL + LTR word wrap issue caused by wrong line start pos
@tizen_fix
Change-Id: I0bf6f796bfdb5162d94e0aa2009cd8100ec641ea
Minchul Lee [Wed, 1 Feb 2017 06:51:42 +0000 (15:51 +0900)]
add eclipse project filename to gitignore
Change-Id: I5b15b8a0273b47adfcfaf051eb248cb3ff2317c4
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
Seungbae Shin [Fri, 20 Jan 2017 09:29:58 +0000 (18:29 +0900)]
ecore_audio : fix to write as much as requested length
Change-Id: I7e7ee2333313ea3a2189dc5a633f6e229d91d0a0
(cherry picked from commit
13086f7f7a0422d6a3386394eee9ec31a2439395)
Duna Oh [Mon, 23 Jan 2017 11:36:28 +0000 (20:36 +0900)]
ecore_wl: call tizen_policy_set_parent if parent doesn't have xdg_surface
Isf-input-panel doesn't have a xdg_surface.
So, if isf subwindows request set_parent with isf-input-panel, ecore_wl calls
tizen_policy_set_parent instead.
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I426d85f30f0bfe36864e88b81e7b397eeefd4f54
Jaehyun Cho [Mon, 2 Jan 2017 10:25:45 +0000 (19:25 +0900)]
edje_cc_parse: Compile EDC file whose path contains space character.
Previously, edje_cc could not compile EDC file whose path contains space
character since edje_cc interpreted the EDC file as separate 2 inputs.
(i.e. "input file.edc" was interpreted as "input" and "file.edc")
This patch enables edje_cc to interpret above case correctly.
This patch also contains the following patch in upstream.
8cf38539a167ee9919f093708fd6f8b52b8b5911
(edje_cc_parse: Fix not to convert macros to a single string)
Change-Id: I5b800ccf166ef4df5d189ad60b52a7b5a0a89c7c
Aditya Raj [Wed, 18 Jan 2017 09:27:32 +0000 (14:57 +0530)]
evas_inline : Add safety checks
Summary : Add NULL check in evas_object_was_visible and evas_object_is_visible APIs to avoid segfault
@fix
Change-Id: I23e7dbe1d280bc4a466cc722af7e4abb588479c2
Signed-off-by: Aditya Raj <aditya1.raj@samsung.com>
Prateek Thakur [Fri, 18 Nov 2016 06:16:31 +0000 (11:46 +0530)]
eet: add NULL check to eet_connection_empty API to avoid segfault
Summary: porting of patch from upstream
commit
0b6e04d94fc3ff6447b6fbf0fcdbdd8b6958e621
Author: Artem Popov <artem.popov@samsung.com>
Date: Wed Nov 16 15:30:29 2016 -0800
eet: add NULL-check to eet_connection_empty API to avoid segfault
@fix
Summary:
Only eet_connection_empty hasn't checking on NULL and try to read from field of object.
Add NULL-check for connection and return result of empty connection.
Reviewers: jpeg, cedric, myoungwoon
Subscribers: t.naumenko, NikaWhite
Differential Revision: https://phab.enlightenment.org/D4399
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I90113cfa41635f35a6c6ef6d1e1497841f484ce7
Signed-off-by: Prateek Thakur <prateek.th@samsung.com>
Jean Guyomarc'h [Wed, 5 Oct 2016 10:00:38 +0000 (12:00 +0200)]
epp: fix memory corruption when using #warning and #error
The epp instructions #warning and #error would led to a segmentation
fault (invalid free) because the malloced buffer's base pointer was
moved.
@fix
Signed-off-by: Pankaj Mittal <m.pankaj@samsung.com>
Change-Id: I694688fedd6249c0ae34df31ebb8f9670aed847e
Awadhesh Singh [Fri, 6 Jan 2017 09:29:09 +0000 (14:59 +0530)]
Evas Text :Safety check to avoid crash
In many case eo_data_scope_get() will return NULL
Such as object is already free , invalid obj_id reference.
Added safety check to avoid crash
Change-Id: Ic509b63df19e3f1d5d8a6ed7a1985821fe835488
Signed-off-by: Awadhesh Singh <awadhesh1.s@samsung.com>
(cherry picked from commit
cd1adb59dad9df70f6e57858f8b750b5d87336a2)
Youngbok Shin [Wed, 18 Jan 2017 09:35:08 +0000 (18:35 +0900)]
evas: don't reinit fontconfig to destroy _fcConfig
FcInitReinitialize() function will destroy previous default(or current) _fcConfig.
If fontconfig is used outside of Evas, it can cause some crash issues.
@tizen_fix
Change-Id: Ied340277155832c802e5ce1f8f66a6c8be5ae115
(cherry picked from commit
0bc545d5555d30cfcb024ac52ad2e1f29457d3b7)
MinJeong Kim [Wed, 18 Jan 2017 07:01:34 +0000 (16:01 +0900)]
ecore_evas_wayland_common: do not check visible state when it's raised/lowered
Change-Id: Ib7260ac65b1420ffb609587f5c10f447b121d8fd
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Thiep Ha [Wed, 18 Jan 2017 23:50:44 +0000 (08:50 +0900)]
ecore_evas engine: correct the min, max value when rotate device
When rotate device, the min, max is incorrectly set:
- It is set after the size calculation, so the calculation uses
previous min value.
- The w and h are switched in function parameters, but they are switched
again before calling engine function. This makes wrong w, h value.
This patch correct it.
@tizen_fix
Change-Id: I1307358480e707efdf82a68fc4cdd4b9fbd98c8b
sunghyun kim [Mon, 16 Jan 2017 06:57:01 +0000 (15:57 +0900)]
[Extn_GL] Add changed_buffer for tizen remote surface
buffer_update callback will be deprecated next version
so add changed buffer and upgrade version 2 -> 3
Change-Id: Ia89723f823df91ad0ec7e3879ce82270d11c2c54
Youngbok Shin [Tue, 17 Jan 2017 07:52:37 +0000 (16:52 +0900)]
evas text: add "width" which includes advance
The advance value didn't consider bigger width cases.
@tizen_fix
Change-Id: Id1edc93efc303e60bf85bed6847cb9c4c0ec1725
(cherry picked from commit
fffe0924acb4ac03269e399ee66d853010084588)
Youngbok Shin [Tue, 17 Jan 2017 07:18:33 +0000 (16:18 +0900)]
evas text: remove duplicated code which can cause smaller ellipsis position
@tizen_fix
Change-Id: I8a1fa5389a87e454b8c7c5fb5d8948c70fcde4b4
(cherry picked from commit
e5b24963f20cf6594202080d9a8ffead1cca53cb)
Youngbok Shin [Tue, 17 Jan 2017 06:43:54 +0000 (15:43 +0900)]
evas textblock: +1 to formatted width from Textblock
Because, formatted width is always smaller than the given size,
Edje can't use formatted size as a Textblock part's size directly.
If formatted size is used directly, you will see narrower/taller Textblock part.
It replace the following patch.
commit
bbf5d78d385784f2e2dfdc0830808967a919d054
"edje_calc: give +1 width from calculated width of formatted_get"
@tizen_fix
Change-Id: I16532d6fdf94277b54b69629cca0f365cdc85538
(cherry picked from commit
b609c40cbbfc5b9e864fb43875c691fa65eaa445)
Youngbok Shin [Tue, 17 Jan 2017 05:55:24 +0000 (14:55 +0900)]
Revert "edje_calc: give +1 width from calculated width of formatted_get"
This reverts commit
bbf5d78d385784f2e2dfdc0830808967a919d054.
There was a side effect when "text.min: 0 1" is used.
Change-Id: I5edede90aabe2f9346829008f6189d7b5c038ea7
(cherry picked from commit
f54f1bbf4a719fec7704137a388ce58a5a41020b)
Jaehwan Kim [Tue, 17 Jan 2017 06:36:49 +0000 (15:36 +0900)]
Revert "Revert "edje_calc: round the scaled value when it is casted to int type.""
This reverts commit
d941d18076a51ba6a7a4ec45461699dba22bd27b.
Change-Id: Ide96edcd224dd064e1fbb378f0910d4e07f77653
Jee-Yong Um [Tue, 17 Jan 2017 01:57:04 +0000 (10:57 +0900)]
edje: set repeat_events of swallowed object only when the part has value
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I2b323825ec4d70a7d6209677eae4bb001a6b69d3
Gwanglim Lee [Thu, 12 Jan 2017 13:55:45 +0000 (22:55 +0900)]
ecore_wl: Fixed window move and resize.
The window with property of the focus skip can not receive the
wl_keyboard::enter event, so there is no way to find the wl_seat
resource needed for the window move or resize request.
To resolve this problem it has changed to use the first wl_seat
resource in the Ecore_Wl_Display when requesting the window move
or resize.
This modification may cause unknown problems, so the tizen extension
protocol that doesn't require wl_seat resource should be added.
Change-Id: I26589c75945bc8005441597ba4b192eec4abc55f
Wonsik, Jung [Thu, 5 Jan 2017 04:00:15 +0000 (13:00 +0900)]
[EvasGL] Add GL[u]int64 type in Evas_GL
To support khronos 64 bit type, this patch is made.
Change-Id: Ib72bd90e7606dba1dbc7797bdb67dc2289e28a55
Joogab Yun [Fri, 6 Jan 2017 08:09:19 +0000 (17:09 +0900)]
[evas_gl] Evas GL Render Threading Patch - 3
-- fixed mistake
Change-Id: I4cb665428b44017003710e6a035625eb62bfad46
Gwanglim Lee [Thu, 5 Jan 2017 07:59:17 +0000 (16:59 +0900)]
ecore_wayland: rotation interface versioning based on the version of server implementation.
Change-Id: Icfd6428cee2b7532b74310f730113fc409259519
Hosang Kim [Thu, 5 Jan 2017 03:54:06 +0000 (12:54 +0900)]
evas_events: fix build error.
Change-Id: Ie42f006664c6338405e6a829e0a1332aba3c435c
(cherry picked from commit
8634d16ae2b38a70351c5e8028eb9c18c4fca046)
Joogab Yun [Tue, 3 Jan 2017 04:45:48 +0000 (13:45 +0900)]
[evas_gl] Evas GL Render Threading Patch - 2
Change-Id: I856a0ba3a2ba57c6b09a9bb5803a6e2461f82cf7
Hosang Kim [Tue, 3 Jan 2017 12:30:35 +0000 (21:30 +0900)]
evas_events: fix mouse cancel logic.
add condition when touch point state is EVAS_TOUCH_POINT_STILL.`
Change-Id: I0d1022badfaaba9c988b63e24eef69d33ec5e861
(cherry picked from commit
d900031385eb3b0777decdb22e89c9f8b9e4e618)
Gwanglim Lee [Wed, 28 Dec 2016 11:55:48 +0000 (20:55 +0900)]
ecore_wayland, ecore_evas_wayland: add support for tizen_rotation v2
angle_change_with_resize event which is newly added to tizen_rotation
v2 clarifies the semantics of changing size of window while rotation.
The clients that receive this event can know exactly how much their
window size should be changed while rotating.
Change-Id: I6dcd0c7222b008b129ef174264c755de1dd42d44
Jongmin Lee [Fri, 30 Dec 2016 06:02:22 +0000 (15:02 +0900)]
Add deprecated comments to deprecated APIs
Change-Id: Id1c755182c695cf685fb1eb998bd4420da97756d
Joogab Yun [Fri, 30 Dec 2016 06:34:15 +0000 (15:34 +0900)]
[evas_gl] don't use a clip in case of the tbm surface type.
- problem)
message app -> new message -> attach -> camera -> change to front
camera -> recoding -> flip is operated which each a clip
Change-Id: I9c213e98c4b7c6f762aa5cd0fd0f52f9dd427a6e
Woochan Lee [Fri, 30 Dec 2016 03:42:27 +0000 (12:42 +0900)]
ecore_wl_dnd.c: Incresed the max size that can be copied.
@tizen_fix
Change-Id: I94382bf173acd740f3be084dd017e4ac43993005
Minkyoung Kim [Thu, 29 Dec 2016 05:34:48 +0000 (14:34 +0900)]
Evas GL:Bind texture to correct one.
If user bind textureA and want to use it continuously, do not call glBindTexture(textureA) again.
But expect that textureA will be binding.
So EvasGL sould not change binded texture silently.
Restore texture to previous bound one after allocating new texture.
And when destroy texture, reset texture to 0 if it is current bound texture.
[Model] Tizen3.0
[BinType] AP
[Customer] OPEN
[Issue#] P161220-02830
[Request] PLM
[Occurrence Version] APL7
[Problem] Collage preview is showing as black while changing the ratio.
[Cause & Measure] EvasGL change the binded texture to 0 in make current job. So resture previous binded texture after allocating new texture.
[Checking Method] Reproduce issue.
[Team] UI System
[Developer] Minkyoung Kim
[Solution company] Samsung
[Change Type] Self Test
Change-Id: Ib14c2be0d69cc4f1c88ace42fc1fb4518571afbf
Joogab Yun [Thu, 29 Dec 2016 07:16:38 +0000 (16:16 +0900)]
[evas_gl] EvasGL : Disable Partial Rendering On EvasGL
- webkit app -> scroll repeat -> sometimes display blink
- browser -> long press on web page -> Magnifer UI -> move ->
display empty
Change-Id: I78b6d80948c532382861c358e89e27468d582537
Joogab Yun [Thu, 29 Dec 2016 06:30:44 +0000 (15:30 +0900)]
[evas_gl] SVACE issue fixed
- It is void type function but it returned bool type
Change-Id: Ie3f7a90c3d589e6e9169ad58238aca32af122528
Youngbok Shin [Thu, 29 Dec 2016 05:45:56 +0000 (14:45 +0900)]
edje: fix to work color_class del for textblock styles
@tizen_fix
Change-Id: I7406eac6d5e986f442d78ae30a54acd252ccfdae
JEONGHYUN YUN [Thu, 29 Dec 2016 02:05:58 +0000 (11:05 +0900)]
ecore_wayland: insert exception code for SVACE issue
Change-Id: If5554e833ed3e0479885d14fc5acd0197f2acebc
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Shinwoo Kim [Thu, 7 May 2015 11:24:29 +0000 (20:24 +0900)]
[ecore_input] add ECORE_EVENT_JOYSTICK_BUTTON_PLAY
Change-Id: I946df16ab557c11e97af476557ef6236621b2b1c
DaeKwang Ryu [Wed, 28 Dec 2016 06:21:02 +0000 (15:21 +0900)]
[EvasGL] bugfix framebuffer_create function usage
_framebuffer_create function parameter is EvasGL Version.
Not Eina_Bool.
Change-Id: I2252561ad9d7d4c4d616cf4369af9dbb46607b24
DaeKwang Ryu [Tue, 27 Dec 2016 15:20:34 +0000 (00:20 +0900)]
[EvasGL] fix GLES 1.1 FBO creating
Depth and Stencil buffers of GLES 1.1 FBO were created with
GLES 2.0 capability test results.
But GLES 1.1 doesn't support OES_depth_texture.
Originally we need to test capability test with GLES 1.1 context.
Change-Id: I2e2979d126818f64bfef3e88f3447927e6281c7c
DaeKwang Ryu [Wed, 28 Dec 2016 06:28:31 +0000 (15:28 +0900)]
Revert "[EvasGL] Fix to OpenGLES 1.1 rendering issue."
This reverts commit
6c48fedaf3681a044a2ad993fb389de444da729e.
Change-Id: Ib572a074f0914cf37832bd73c47e18702ae5a560
DaeKwang Ryu [Wed, 28 Dec 2016 06:27:54 +0000 (15:27 +0900)]
Revert "[EvasGL] add to check opengles 1.1"
This reverts commit
3d823b6f5a0771719acd834efeb4bd1aa2d3d3dd.
Change-Id: Ia789c73416a6b972c4a33cf40b46691b8220e531
Youngbok Shin [Tue, 27 Dec 2016 06:21:56 +0000 (15:21 +0900)]
edje/entry: fix to get start position of selection from surrounding_cb
The cursor position when a entry has selection should be same from
_edje_entry_imf_retrieve_surrounding_cb and
_edje_entry_imf_event_delete_surrounding_cb functions.
@tizen_fix
Change-Id: Id3ea75e3ab574e1e99220ed826f3bfb0a02bb5a4
Minkyoung Kim [Tue, 27 Dec 2016 08:15:30 +0000 (17:15 +0900)]
Evas GL: Skip FBO creation when direct_mem_opt is set, unless direct fallback is set.
Summary:
When direct_mem_opt is set, FBO should not be created, unless
the render target for direct rendering is FBO.
There are cases where evas_gl_make_current is called outside
on pixel callback in webkit, and since they use direct_mem_opt,
FBO is repeatedly created/destroyed during switch from direct to indirect.
This should fix it.
[Model] Tizen3.0
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem] Webkit UI has a few second black screen on first time.
[Cause & Measure] Internal make current didn't work properly.
[Checking Method] Run email app and compose new mail.
[Team] UI System
[Developer] Minkyoung Kim
[Solution company] Samsung
[Change Type] Self Test
Change-Id: Ic37772b5ccf05c345d880714604ee21fd890ad4d
wonki kim [Wed, 28 Dec 2016 01:06:20 +0000 (17:06 -0800)]
Revert "evas_events: Fix to update clip area with more patch."
This reverts commit
25cdb5d702976c3c920fc64ac06df9e4a2799191.
Change-Id: I0fe6bd257d5255e806ae55515602b39a8d02bb30
wonki kim [Wed, 28 Dec 2016 01:06:17 +0000 (17:06 -0800)]
Revert "Evas_Render: upstream performance improvements port, so object map works now"
This reverts commit
60b2fe175ede63b944c4540470f657543ef0340c.
Change-Id: I3e7a2ff3c8efbf5cfc60bdf0cab5cbee0c9d239c
Wonki Kim [Tue, 27 Dec 2016 02:56:08 +0000 (11:56 +0900)]
Ecore_Input : Modify public structure member order
If public structure is changed, application which has been alread built
doesn't access to the member of structure properly unless developer
built it again with the new header.
the commit(
1c0707d8f297df00f703e16141de5a30d128ab31) changed Ecore_Iput
header then, I guess that make something wrong.
this commit modify public structure member order to keep ABI compet.
Change-Id: Ic9ddbd8ab9c1af1737e184a3545929870b6c7b46
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Hosang Kim [Tue, 27 Dec 2016 10:23:22 +0000 (19:23 +0900)]
evas_events: Fix to update clip area with more patch.
This patch fixes that image, which is clipped by precise image clipper
and covered by other object, does not receive mouse event.
This patch is a part of upstream commit
f6b3c31561276a6c7afc8fb56ae2e5363772782c.
(evas event handling3 - fix yet more corner cases for clipped objects)
addition:
evas event handling2 - fix incorrect object reporting
(
25d77bc1d24d9fd539c681fa58db976c1ca65051)
evas event handling4- fix more corner cases where bounding is bad
(
e57084d5c5b8b55a4823952ba43c61a15457e369)
Change-Id: I517fd3ac78dd08ef664cb0e1f97b83d0a2c6c40d
Prince Kumar Dubey [Mon, 11 Jul 2016 13:29:04 +0000 (22:29 +0900)]
If there is situation when server is closed prior to client, the client pointer pointing to server must be reset and check must be there during client deletion
Summary: During mobile product testing, we got a crash with callstack which suggest server is getting deleted prior to client. On valgrind analysis we found invalid write operation with same callstack. callstack is pasted in comment section.
Test Plan: create a situation where server got deleted prior to client.
Reviewers: raster, cedric
Subscribers: govi, rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D4152
Change-Id: I725b299b327311b8bbdaf75f79cef58c484c1d2c
Joogab Yun [Tue, 27 Dec 2016 01:48:57 +0000 (10:48 +0900)]
[evas_gl] GL program is setup without checking the previous one and
without updating current state in efl (i.e. gc->state.current.prog).
So when shader_array_flush is called, there is a state inconsistency
between GL and efl. Eventually it ends up in using wrong GL program
Change-Id: I140f9661e92232425cfb3e71a0e67380a5bef142
Jee-Yong Um [Fri, 23 Dec 2016 11:43:16 +0000 (20:43 +0900)]
Revert "evas_events: Fix to update clip area."
This reverts commit
c76101eef4baa375e0e63e3471aa3615f7e223cd.
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: Ibc329c68c971187887278dfd34407d21ec15985d
Joogab Yun [Tue, 27 Dec 2016 01:43:41 +0000 (10:43 +0900)]
[evas_gl] change merge mode from MERGE_SMART to MERGE_BOUNDING
- partial rendering issue happend
- My Files -> Device storage -> repeat scroll -> sometimes blink
Change-Id: Ib7f62b38caf3e363b5b25453a9bfd03aa83c8a79
Youngbok Shin [Mon, 26 Dec 2016 11:04:23 +0000 (20:04 +0900)]
edje: skip complex calculation for height with zero width
Getting formatted size from Evas Textblock with zero width
to get only its height is very wasteful in performance aspect.
The patch only ignore formatted size in the above cases.
It'll reduce about 100ms when launching a application which is
consisted with elm_toolbar, elm_naviframe and elm_layout.
@tizen_fix
Change-Id: I1c7fb14a7fc7c1fa2093e624b2af8cb1a98dfcdb
Youngbok Shin [Thu, 10 Nov 2016 07:21:05 +0000 (16:21 +0900)]
edje entry: keep cursor position on mouse down and move
When elm_entry takes focus by a mouse click event,
elm_entry needs to get new cursor position which is changed by mouse down/move/up.
But, elm_entry takes focus before updating the cursor of edje_entry.
It causes an issue about showing proper region.
So, the internal API will be used when elm_entry takes focus.
@tizen_fix
Change-Id: I951c79ed96cd96a4e3c71dbeafe5c51ae432d0af
Woochan Lee [Mon, 26 Dec 2016 06:25:25 +0000 (15:25 +0900)]
ecore_wl_dnd: Change buffer size to get big size of text than before.
The value(102441) was requested by web team. the previous max buffer size was (PATH_MAX = 4096).
There was no limitation In X environment, we should changed this to get text without limitation to
maintain backward compatibility.
@tizen_fix
Change-Id: I2f463ddac9d506c0b2046ec446784055d891c822
Hosang Kim [Mon, 26 Dec 2016 06:40:52 +0000 (15:40 +0900)]
evas_events: add more NULL check logic to source mouse event.
@fix
Change-Id: Iaffad086e1817b74a48dcf7fde337fc37dae7c92
Andrii Kroitor [Thu, 22 Dec 2016 11:15:42 +0000 (13:15 +0200)]
ethumb: rewrite slave input/output
Using stdio instead of low-level read and write because low-level API has
different behaviour on Linux and Windows.
Change-Id: Ibc202ffc3005b29efd3e4eb6a3b9d0c68e8501bd
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Andrii Kroitor [Thu, 22 Dec 2016 16:49:27 +0000 (18:49 +0200)]
ecore_exe: do not try to send 0 bytes
Summary: This action is meaningless when communicating with child process.
Reviewers: barbieri
Reviewed By: barbieri
Subscribers: jpeg, vtorri, cedric, raster
Differential Revision: https://phab.enlightenment.org/D4510
Change-Id: Ia78ab9e33081ab766df75212f005b6bff4a0851a
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Andrii Kroitor [Thu, 22 Dec 2016 12:38:26 +0000 (14:38 +0200)]
ecore_exe_win32: fix typo in input poll thread
Change-Id: Iefbb54961e0fa45d2990a743659ffcb0c2fb7cc9
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Andrii Kroitor [Thu, 22 Dec 2016 12:10:10 +0000 (14:10 +0200)]
ecore_exe: fix send on Windows
Check for bytes written only if more than 0 bytes were sent.
I don't know why some efl code is trying to send 0 bytes, but that works on
Linux and therefore should be fixed on Windows.
Conflicts:
src/lib/ecore/ecore_exe_win32.c
Change-Id: I80903a5ad5be4e6fd3314ed90e81a9b5ca6bcde3
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Andrii Kroitor [Wed, 21 Dec 2016 13:08:58 +0000 (15:08 +0200)]
ecore: fix wait for stdin on Windows
We can't directly wait on stdin handle because it is signaled imediatly even
if there is no new data on input stream.
Change-Id: Iec44c2944b2f638f4dd7b2fb184861f3913910fb
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Andrii Kroitor [Thu, 22 Dec 2016 02:10:42 +0000 (11:10 +0900)]
ecore_exe is broken on Windows
Summary:
T4938
diff from @raster
Aaaargh! There is no other way to get code from diff on phab..
Reviewers: vtorri
Subscribers: vtorri, i.furs, cedric, jpeg, raster
Differential Revision: https://phab.enlightenment.org/D4448
Conflicts:
src/lib/ecore/ecore_exe_private.h
src/lib/ecore/ecore_exe_win32.c
Change-Id: I922742bde863b06660f3c62660aa8bb53672901b
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Vitalii Vorobiov [Mon, 13 Jun 2016 12:31:48 +0000 (15:31 +0300)]
edje_calc: fix interpolate calculation of map colors
There were a problem when while swithcing between states
(because of program running in transition),
there is SIGSEV appearing when first state has
only one point color, and next state more than one.
Basically it looks like this:
....
part {
name: "rectangle";
type: RECT;
description { state: "default" 0.0;
map {
on: 1;
color: 3 255 90 0 255;
}
}
description { state: "moved" 0.0;
map {
on: 1;
color: 0 0 0 255 255;
color: 1 255 0 0 255;
color: 2 255 90 0 255;
color: 3 41 68 59 255;
}
}
}
<and program that change 'rectangle' state with transition>
....
@fix
Change-Id: I078f692cf1e8f959fed68dbf79b38357f6882764
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
Vyacheslav Reutskiy [Fri, 2 Dec 2016 09:48:14 +0000 (11:48 +0200)]
ecore_exe_win32: fix ecore_exe_send
Write to the child pipe corect data size.
@fix
Change-Id: I96dad8066e5d63a30eaeb466f4799af568458859
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>