jiin.moon [Wed, 8 Feb 2017 04:35:57 +0000 (13:35 +0900)]
ecore: fixed wrong codes regarding ecore_anim_vsync
1)If tick is 0, it means animator is pause.
But prev codes would be detected as error.
2)Svace issue
Remove wrong condition
Change-Id: Ic7210ef93b759f04bc1a6e6ff73c2841400a5776
jiin.moon [Fri, 13 Jan 2017 04:05:54 +0000 (13:05 +0900)]
ecore_wayland: To use vsync as custom source of animator
If user does not call "ecore_animator_source_set(ECORE_ANIMATOR_SOURCE_CUSTOM)",
animator would be working by timer.
it means this patch does not effect without setting by user.
I will check more regarding resource leak
Change-Id: I679dc43c6657d80ac5bdc424945c44fd0c050e6a
Joogab Yun [Thu, 23 Feb 2017 03:53:33 +0000 (12:53 +0900)]
evas/software_generic: Round up merged rect to tile size
Summary:
For some drivers, there is a limitation for partial rects that only
multiples of tile size width/height are allowed.
Currently, rects are merged based on the current rotation, so when
the rects are calculated based on 0 rotation it does not meet the above
requirement.
Add a rect rounding up routine after _merge_rects such that the rect
is rounded up to tile size based on 0 rotation.
Change-Id: I0ac0208e383332158dc7c3fa9fa5012e37bcf797
Joogab Yun [Mon, 20 Feb 2017 04:43:52 +0000 (13:43 +0900)]
[evas_gl] GL_TEXTURE_EXTERNAL_OES also applies smooth flag.
-> su - owner
-> camera_test -> 1 -> 2 -> 3 -> 0 -> 0
then front image quality is low (176x144)
Change-Id: Iabba83411119657bac38ed0a78d6a4f371fcb7a5
Jiyoun Park [Mon, 13 Mar 2017 02:29:08 +0000 (11:29 +0900)]
ecore_evas_wayland: add fake damage code when app set manual rotation set
Server has responsibility to show frame even though app not call render
,when app turns on manual rotation render feature.
until server add the code, client create fake damage.
Change-Id: I708acbba41f4d40bb206bbb1979ad1472c95e8cf
Jiyoun Park [Mon, 6 Mar 2017 04:33:10 +0000 (13:33 +0900)]
ecore_evas_extn: add shared lock mode to the ecore_extn.
Currently, ecore_evas_extn only use exclusive lock.
so if there are many ecore_extn_plugs , there is competition among the ecore_extn_plugs.
since the ecore_extn_plugs dont need to use exclusive lock, add the shred lock mode.
opensource_commit
a6c0e9b06718230d9bfebf8a4eb0fab812ee7458
Author: Jiyoun Park <jy0703.park@samsung.com>
Date: Mon Mar 6 12:39:53 2017 +0900
Change-Id: I34c52e97a0a1314b5b9ac1eeb201063740f92eb0
Jiyoun Park [Fri, 3 Mar 2017 02:11:05 +0000 (11:11 +0900)]
ecore_evas_wayland: fix bug ee's width and height were updated wrong place.
ecore evas manages the width and height using the ee->w/h and ee->req.w/h.
but sometimes only ee->req value can be updated.
opensource_commit
fb730c1fd747539875a91bc35b51c51df56709d9
Author: Jiyoun Park <jy0703.park@samsung.com>
Date: Fri Mar 3 10:27:00 2017 +0900
Change-Id: I05d104fd3a2a916e876dc1b9ec64e1ff5d533573
Jiyoun Park [Mon, 20 Feb 2017 03:22:06 +0000 (12:22 +0900)]
ecore_evas_wayland_common: fix bug that window is not rotated when app request rotate.
In landscape mode, width & height of evas are different with ecore's.
so diff is checked differently according to the portrait & landscape mode.
opensource_commit
78feb9decb91533775056a10f05647da7fb067dd
Author: Jiyoun Park <jy0703.park@samsung.com>
Date: Mon Feb 20 10:28:27 2017 +0900
Change-Id: I8348833c5f60390ddcbdcf01053f49ca8246877f
Jiyoun Park [Sat, 18 Feb 2017 13:09:15 +0000 (22:09 +0900)]
ecore_evas_wayland: rerender the ecore_evas when app already finish rotation.
1. app call the ecore_evas_rotation_with_resize_set.
2. display server call the roation change callback
display server wait the rotation done message and flush event.
but client already finished the rendering.
so we add the rerender code to the ecore_evas_wayland client code.
but display server should not wait frame commit like usual nopending case.
Change-Id: Ided6f38652b56880f63f2aa588af852ad4e7145d
Jiyoun Park [Sat, 18 Feb 2017 09:19:42 +0000 (18:19 +0900)]
ecore_evas_wayland: send rotate done message when disapay server's callback is called.
Currently, if app turns on the feature "app will control the roation" like camera,
there is problem which negotiate the rotation protocol with display server.
if app turns on "app will control the roation" feature
1. when app rotate the canvas using the elm_win_rotation_with_resize_set api,
efl client will not send rotation done message to display server.
2. when display server call the _ecore_wl_window_cb_angle_change,
efl client sends fake rotation done message.
Change-Id: If82de0b96f7dafc605be5d28aa2e33a377324dad
Jiyoun Park [Mon, 13 Feb 2017 02:25:45 +0000 (11:25 +0900)]
ecore_evas: remove useless pending_mode set code
this code is redundant.
Change-Id: I6e7b17bd889a408836d0a71f0e3d9a2f05c23be7
Jiyoun Park [Sun, 12 Feb 2017 06:54:22 +0000 (15:54 +0900)]
ecore_evas: Pend the rotation until app set the rotation.
Currently, camera use the elm_win_rotation_with_resize_set.
it rotate the canvas, and chage the win size also.
The reason why they use this api is to use the object rotation effect during the rotation.
If window server send rotation event during the rotation, or efl client deal with the rotation
during the app's rotation effect, it cause flickering.
Before, X backend , landscape rotation
1. set the available rotation set only 0
2. window server didn't send rotation effect
3. apps listen the devicd rotation callback
4. apps set elm_win_rotation_with_resize_set 90 or 270
5. efl client set the X property related with rotation
6. window server deals with the rotation by app side.
But now window server don't want to support this api , becuase client rotation causes the whole of rotation policy.
Opensource side, server need to support this situation, but we need to time to discuss.
to support compatibility, add this code until we find the final solution.
this concept is
1. app set pending rotation using aux_hint (it means app will deal with the rotation)
2. efl client doesn't deal with server's rotation
3. do the rotation job by app just like the server's rotation.
Change-Id: Iabe401a0277acc3a9e873a5745fc45c94f6c2c64
Jiyoun Park [Fri, 6 Jan 2017 06:45:27 +0000 (15:45 +0900)]
evas_image_main: fix memory leak
In gl engine, image objects try to unload image's pixel data after creating or updating the texture.
but image entry's reference is still 1, it is added to the pending_unloads list,
and it is cleaned when evas render function.
If elm image use preload feature, preload_done flag is true, so this image data cannot be removed from
pending_unloads list, it cause memory leak.
I think it is better to free image's pixel data in evas_cache_image_unload_data,
(not add to the pending_unloads list)
but it it complicated to modify.
so I'll remove the code to check preload_done flag in evas_common_rgba_pending_unloads_cleanup function.
this flag check was added because of gl preloading, but now gl preloading feature is disabled.
this flag is related with https://phab.enlightenment.org/D2823
I tested photocam, but crash doesn't occur anymore, even though removing flag check.
Change-Id: I0996cd5a35979535030c782a3b70afeb1c79365a
Sungtaek Hong [Tue, 4 Apr 2017 05:34:10 +0000 (14:34 +0900)]
eina_bt_log: fix memory leak in eina_btlog
@tizen_fix
Change-Id: Iebe3949bc2cd74ebb0c772389b8a468cc09bf87e
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
JengHyun Kang [Tue, 4 Apr 2017 07:01:07 +0000 (16:01 +0900)]
ecore_drm: add a space following the efl coding rule
Change-Id: If9862c39afdbc64c642e7b42133a36519bf219ca
JengHyun Kang [Mon, 6 Mar 2017 04:17:48 +0000 (13:17 +0900)]
ecore_drm: Get touch slots using slot not seat_slot
Change-Id: I32fc3187ff4becb1947129cbef791ea0aed3b2a8
Duna Oh [Wed, 22 Mar 2017 05:54:06 +0000 (14:54 +0900)]
ecore_wayland: fix bug - make sure to request set_geometry_hint when tizen_rotation resource is created
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I7e69507d44854ee325e72b7d483460fb3c9559ab
JengHyun Kang [Thu, 16 Feb 2017 09:01:22 +0000 (18:01 +0900)]
ecore_drm: Check a integer value's higher boundary
Change-Id: Ied5d5cbc5e07342b342428aa4ed1e14ef9449b51
JengHyun Kang [Thu, 16 Feb 2017 06:18:17 +0000 (15:18 +0900)]
ecore_drm: Fix a devices_num value's boundary check
Change-Id: I064bbada3d980d59d71177f6ce67c9dbaa1155b7
Godly T.Alias [Mon, 3 Apr 2017 10:22:09 +0000 (15:52 +0530)]
[Ecore] Set locale before doing float conversion
In some locale float representation will be different
and atof will return improper values
Change-Id: I95990576a9c990dedec1abea01d3586e8ff432ba
Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
MinJeong Kim [Fri, 3 Feb 2017 08:38:30 +0000 (17:38 +0900)]
ecore_wl_window: do not clear opaque region when alpha value is changed
Even though the surface has alpha value, surface can set its opaque
region.
Change-Id: I9045d1f61571096e4262dce70f69c96b0e6d529a
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
MinJeong Kim [Mon, 27 Feb 2017 12:52:21 +0000 (21:52 +0900)]
ecore_wl: add api to set data only mode for using clipboard
Change-Id: I9a560954ede7408da28ea53969a43d9a957280f4
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Shinwoo Kim [Fri, 17 Mar 2017 09:09:12 +0000 (18:09 +0900)]
ecore: not install systemd module.
The systemd module is not used on the Tizen platform.
Moreover, the dbus connection is created on launchpad side while it prepares an application
before the application gets proper SMACK label. And this could be a security problem.
Change-Id: I6f68ffedd2d7c422447e594d381f062ae146d3fe
Daekwang Ryu [Fri, 13 Jan 2017 08:45:28 +0000 (17:45 +0900)]
evas_gl: fix to generate GL Error
When tex_target is 0, it generate GL Error.
So we call glBindTexture with GL_TEXTURE_2D.
Change-Id: Ic32c4fdb5703876330d6602d8b2b28353c343026
Dongyeon Kim [Mon, 11 Jan 2016 01:11:58 +0000 (10:11 +0900)]
Evas GL: Reset current surface for all contexts to null when surface is destroyed
When evas gl surface is destroyed, not only the current surface for the current context
should be set to NULL, but current surface for all contexts should be reset.
Change-Id: I165a2614f600b935ba6a0c937e25a559d7d98767
Artem Popov [Thu, 23 Mar 2017 14:27:22 +0000 (16:27 +0200)]
Eina_Xattr: fix memory corruption
Summary:
There should be reallocation +1 (for last '\0') and also
checking >0, not !=0, because of getxattr can return -1 in case of error
@fix
Reviewers: cedric, raster, NikaWhite, jpeg
Reviewed By: NikaWhite
Subscribers: myoungwoon
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D4734
Change-Id: I13a7d90675a9a1068440cdd5669d0e8678edb396
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Youngbok Shin [Wed, 22 Mar 2017 05:36:38 +0000 (14:36 +0900)]
edje: fix crash issue when Edje tries to clean up fade object
@tizen_fix
Change-Id: Ib7a54a42826300ff74c5eac4760a10ed0942a5e4
Joogab Yun [Mon, 20 Mar 2017 04:42:59 +0000 (13:42 +0900)]
[Evas GL Thread 2] evas: (GL thread) Added GL thread renderer logics
based of SW thread renderer.
Change-Id: Id4eb8c3e10e8e2ca2c170f985118c4fa072e72ab
Joogab Yun [Wed, 15 Mar 2017 05:29:00 +0000 (14:29 +0900)]
[evas_gl_thread] If DIRECT rendering flag is on, evas gl thread
rendering is forced disable
Change-Id: Ic9a853c90872814751c52b510b40253cb4b5b0d1
Bowon Ryu [Mon, 20 Mar 2017 06:26:44 +0000 (15:26 +0900)]
efl.spec: split ecore package for efl building block.
Change-Id: I8df9b78402e8619664d8672f5e194f87d44e1b78
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Jeeyong Um [Mon, 20 Mar 2017 06:56:02 +0000 (15:56 +0900)]
docs: Change the group name of Edje.Object
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Ife2a9074881b2fc93354447d667fb382b94e3d17
Umesh Tanwar [Fri, 10 Mar 2017 10:01:30 +0000 (15:31 +0530)]
ecore_animator: improve comparision check for stopping animator.
Summary:
Time cmparision does not ensure the corrctness of posotion.
It is beacuse of double number calculation. Double number calculation
are not convertable.for example:
1/39 = 0.
02564102564;
but 0.
02564102564 * 39 = 0.
99999999996 != 1;
The addition check for pos ensure the pos to be reached at its correct
position. this ensures the last call with pos == 1.0.
there is a check on pos at gengrid side for pos == 1 which resets animation running flag.. is not getting reset. There can be more such widgets where decisions are made on the value of pos.
@fix
Change-Id: I44681bde2ac4a7e3c08363f823cd9ba5296ba8f5
Myoungwoon Roy, Kim [Sat, 25 Feb 2017 07:43:31 +0000 (16:43 +0900)]
docs: Fix typos and some wrong expressions in Ecore_Drm, Ecore_Evas, Ecore_File, Ecore_IMF, and Ecore_IMF_Evas API reference doxygen.
Change-Id: I37476b0c411abbd2a83c7ce6ef728255b8bc09d0
Myoungwoon Roy, Kim [Tue, 21 Feb 2017 09:35:00 +0000 (18:35 +0900)]
docs: Fix typos and some wrong expressions in Ecore API reference doxygen.
Change-Id: I56a13a062fa662f956b4d69563f3e38fd50811e9
Joogab Yun [Mon, 13 Mar 2017 07:06:53 +0000 (16:06 +0900)]
[evas_gl_thread_egl] seperate eglGetProcAddress into a gl thread
eglGetProcAddress is returned as null, for the gles1.1 extension
ex) like eglGetProcAddress("glIsRenderbufferOES")
Change-Id: I0a60f1241bd6d5f73b1b341c7d524224501ede49
Joogab Yun [Mon, 6 Mar 2017 02:05:48 +0000 (11:05 +0900)]
Evas GL:Bind texture to correct one.
add missed patch. refer "
36ad63213aab7b4209da308e0f2ba6388015e7f0"
Change-Id: Idec4eda09f84ea3dbc53e044e7bd1131e1af5643
Shinwoo Kim [Tue, 7 Mar 2017 07:59:43 +0000 (16:59 +0900)]
ecore_input: Remove warning message
ecore_input_joystick_init/shutdown are deprecated, and these are internal functions.
The deprecated declaration makes warning message because ecore_event_init/shutdown uses those internally.
@tizen_fix
Change-Id: Ie904bdd72d75627a99aceb6d43d26ed55834847b
Shinwoo Kim [Fri, 24 Feb 2017 04:18:52 +0000 (13:18 +0900)]
ecore_input: take care of ABI break
Upstream EFL does not have ECORE_EVENT_JOYSTICK_BUTTON_PLAY But Tizen has it.
We have to take care of ABI break even though it is not used anywhere.
Change-Id: I451e4ff692253968eb4f3d2db5f17f88b76fb315
Shinwoo Kim [Thu, 23 Feb 2017 08:52:46 +0000 (17:52 +0900)]
ecore_input: deprecate joystick_init/shutdown API
These APIs is deprecated.
The ecore_input_joystick_init/shutdown is called by default in ecore_event_init/shutdown.
Change-Id: Id2f32398ff32cb37b3c1a18cc75318ddf02c7ec5
Shinwoo Kim [Thu, 23 Feb 2017 09:36:52 +0000 (18:36 +0900)]
ecore_input: disable joystick on Windows/MacOS
Change-Id: Ieb27e643f27817f8590404e86ff6a480b62c6ce7
Benjamin Jacobs [Tue, 14 Jun 2016 09:15:49 +0000 (18:15 +0900)]
Eeze build ordering.
Summary: Fixes a libtool relinking issue due to the wrong build ordering.
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4042
Change-Id: Iefa306eb91515df66758cdcf317a074bf6666f58
Shinwoo Kim [Wed, 15 Feb 2017 04:00:13 +0000 (13:00 +0900)]
ecore_input: add API to set/get deadzone of joystick event for an axis.
Summary:
The axis type joystick event could occur without user's control if joystick is too sensitive.
The deadzone prevents this unnecessary event. The default value is 200.
The event value for an axis is a signed integer between -32767 and +32767.
Test Plan: Using example
Reviewers: raster, cedric, jpeg
Reviewed By: jpeg
Subscribers: stefan_schmidt
Differential Revision: https://phab.enlightenment.org/D4654
Change-Id: I9de3ae597610482386d5584c2b8d0c26d8de0b5c
Shinwoo Kim [Wed, 1 Feb 2017 07:33:52 +0000 (16:33 +0900)]
ecore_input: support Xbox One joystick
Add joystick mapper for Microsoft X-Box One pad (Covert Forces)
Change-Id: I4c8610bb76968ec3dfad347c7f266c76734a443c
Shinwoo Kim [Wed, 25 Jan 2017 13:31:03 +0000 (22:31 +0900)]
ecore_input: support PS4 joystick
Add joystick mapper for Sony Computer Entertainment Wireless Controller
Change-Id: Ic9a81f7404411c3aa1d4e964bbf62b032636d0d2
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