Youngbok Shin [Mon, 8 May 2017 01:00:38 +0000 (10:00 +0900)]
evas textblock: fix dereferenced after free issue for ellipsis item
Change-Id: I31d6fa6afb8cfba015ff2e024cc933b9ecb02081
sunghyun kim [Tue, 25 Apr 2017 05:31:17 +0000 (14:31 +0900)]
evas: change alloca->malloc for avoid stack overflow
when texture upload using memcpy case, sometimes crash happens in enlightenment.
it may be memory corruption problem when alloac is failed because of Stack overflow
so i replace alloca to malloc for avoid stack overflow
Change-Id: I20ad80df73d9e63d832acfdf4a281743841b6b46
Joogab Yun [Fri, 28 Apr 2017 08:20:15 +0000 (17:20 +0900)]
[evas_gl_thread] change mode of glTexImage2D to finish for GLES1.1
Change-Id: I23c0454645b134ab9041075fe4fde604f62c9749
Minchul Lee [Fri, 28 Apr 2017 09:17:18 +0000 (18:17 +0900)]
Revert "[Ecore] Memory leak fixed in Ecore Wayland"
This reverts commit
08c45aa4a87fba4c1b32ecc14a09acdf2dcaa280.
Change-Id: I53ad4f9d84e963b0bbc6834cf7bac039bb04da61
Minchul Lee [Fri, 28 Apr 2017 09:16:03 +0000 (18:16 +0900)]
Revert "ecore_wayland: free mime types after finish set_selection"
This reverts commit
51cdd3e7812970cb92e65553905a8ffc1118789d.
Change-Id: If95102db358657e4c967769c0893b56a46460227
Youngbok Shin [Fri, 28 Apr 2017 09:01:10 +0000 (18:01 +0900)]
evas font: Append global font path when Evas initializes Fontconfig
@tizen_fix
Change-Id: Ib7e218bbe0b0e74c304760c2fb9bdb376a58d36a
Youngbok Shin [Thu, 27 Apr 2017 08:00:51 +0000 (17:00 +0900)]
edje: fix clipper loop issue caused by clipper object for fade ellipsis
@tizen_fix
Change-Id: Idc984a01b763e3f63b64b88a7261d20b488f01aa
Minchul Lee [Thu, 27 Apr 2017 05:39:31 +0000 (14:39 +0900)]
ecore_wayland: free mime types after finish set_selection
When copy operation, device tried to access the mime types
which is already freed. Thus, crash happend. To deliver
them to DATA READY handler, duplicate them and free later.
Change-Id: I9b40a9070d9cc03fb2c3df57586b062d6db8afe6
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
jiin.moon [Thu, 27 Apr 2017 12:01:26 +0000 (21:01 +0900)]
Revert "ecore_evas: Changes the animator source to custom"
This reverts commit
30cd575bbc7571e258888d00b72a2682b543a261.
Change-Id: Id425bbd57f8f22b652cb0f5a51badd724d72c9d1
Boram Park [Thu, 13 Apr 2017 07:47:30 +0000 (16:47 +0900)]
ecore_wl: ignore_output_transform
Change-Id: Id7b3bf7e805f18ee1cbc3d41296b023f156b27ea
Boram Park [Fri, 17 Mar 2017 05:13:21 +0000 (14:13 +0900)]
gl_drm: fix the ecore_evas rotation behavior
Change-Id: Ib8e93484d0cb3abe870177efd7d1fa3d4f76573d
Boram Park [Fri, 17 Mar 2017 05:14:03 +0000 (14:14 +0900)]
ecore_evas_drm: implementation for ecore_evas rotation
Change-Id: If72d3849a06660c27feb4bb87798e95d28fee6e2
Boram Park [Fri, 17 Mar 2017 04:55:34 +0000 (13:55 +0900)]
ecore_evas_wayland: consider output_rotation to manage evas.
Change-Id: I38885a7e507d8f7480fafaa458401262d622eaae
Boram Park [Fri, 17 Mar 2017 04:43:05 +0000 (13:43 +0900)]
ecore_evas_wayland: register the handler to detect the output transform change
Moreover, I added output_rotation to ee becuase ee->rotation is already used as
the window rotation value. It can't include the output rotation value. ee should
be able to distinguish between the window rotation value and the output rotation
value because ee have to hide the output rotation information from the clients.
Change-Id: I432babf0859f8795766e3f6ac0673641e54c03a3
Boram Park [Fri, 17 Mar 2017 04:37:22 +0000 (13:37 +0900)]
ecore_wl: add output_find, buffer_transform_set, transform_get functions
Change-Id: I3f3c62bfd6ada530914d34533c46fad33966b0d0
Boram Park [Fri, 17 Mar 2017 04:34:26 +0000 (13:34 +0900)]
ecore_wl: add ECORE_WL_EVENT_OUTPUT_TRANSFORM event
Change-Id: I265a270587810991e065ff15c297e6b304337484
Boram Park [Fri, 17 Mar 2017 03:10:42 +0000 (12:10 +0900)]
ecore_drm: check if dpms is on
Change-Id: I7666a6554dfc5fd95773eef44062d9a116e64bfa
InHong Han [Thu, 20 Apr 2017 07:02:07 +0000 (16:02 +0900)]
Added a detailed description in ecore_imf_context_prediction_hint_set()
Change-Id: Ia31fca596e08874bbe18a66886113fe6731e5203
Jaeun Choi [Wed, 26 Apr 2017 11:27:14 +0000 (20:27 +0900)]
evas: consider clipper when handling mouse event
when an object is clipped,
mouse event area should be clipped as well.
this commit comes from upstream patches
f6b3c31561276a6c7afc8fb56ae2e5363772782c: basic logic for clipper
afbe8ade6b7f99d5158be931a13971bb0681509f: added logic for mapped objects
Change-Id: I385552a44c2e4424c7f5104e70d14c5d0d410d1b
Joogab Yun [Wed, 26 Apr 2017 08:51:14 +0000 (17:51 +0900)]
[evas_gl_thread] provide disable render thread option for webkit
webkit directly uses egl context in main thread then evas can't handle
at evas render thread side
so provide disable render thread option
when this option is 1, the render thread is turned off.
Change-Id: I196e60b7caef0311570d855097514a60811cef06
Daekwang Ryu [Wed, 26 Apr 2017 05:15:46 +0000 (14:15 +0900)]
evas_gl: add Related Features in evas_gl.h
New features were added in Tizen.
http://tizen.org/feature/opengles.version.3_1
http://tizen.org/feature/opengles.version.3_2
Change-Id: I01887c7cb294fad99d68b72670587154845c9d92
jiin.moon [Mon, 24 Apr 2017 11:55:30 +0000 (20:55 +0900)]
ecore_evas: Changes the animator source to custom
Default source is custom(vsync) same as tizen 2.4
Change-Id: If52ae08e23353ba83533a9160e68b0a442347463
Youngbok Shin [Sun, 23 Apr 2017 06:22:42 +0000 (09:22 +0300)]
evas: round glyph's advance before adding it to pen_x
Summary:
Rounding the sum of glyph's advance could cause inconsistency of
each glyph's positions. When Evas enables Harfbuzz library,
Each glyph's position has to be handled by only nearby glyphs.
But, currently, totally unrelated glyph's advacne could change
other glyphs positions.
ex) 1. "connect."
2. "Tap here to connect."
You can see different gap between "c" and "o" of word "connect".
It should be same even if there was a different text before the word "connect".
@fix
Test Plan: N/A
Reviewers: raster, herdsman, jpeg
Reviewed By: raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D4782
Change-Id: I6124eeb7cbe48f355dd5628a84e87a03b4a2b261
Youngbok Shin [Mon, 10 Apr 2017 03:15:19 +0000 (12:15 +0900)]
evas: give width offset when Evas tries to find ellipsis position
Summary:
If the last item before ellipsis item has bigger width than its advance,
evas_common_font_query_last_up_to_pos() function can find wrong ellipsis position.
When Evas finds a position for non last item, Evas must care about additionally
available space for glyph's width of the given x position.
ex) the last item's glyph before ellipsis item has a tail to draw above the ellipsis item.
@fix
Test Plan:
Test case will added as comment.
(Becasue of font license problem.)
Reviewers: herdsman, raster, jpeg, woohyun
Subscribers: cedric, Blackmole
Differential Revision: https://phab.enlightenment.org/D4727
Change-Id: Ie6dbec6c3dcc98ff0919d88e40969d0551dd898e
Joogab Yun [Tue, 18 Apr 2017 07:46:39 +0000 (16:46 +0900)]
[evas_thread_render] enhancement render thread.
1. Apply async finish mode
2. change the finish and flush mode for some egl/gl calls
Change-Id: Ia0f7178212e23d22897215bb7db17a7ade999660
Jeeyong Um [Fri, 21 Apr 2017 06:23:21 +0000 (15:23 +0900)]
edje_cc: Keep lookups for removed program
================================================================================
commit
a6c1c2d08fe10f63911c5dd3880eadbb4ae4316b
Author: Jee-Yong Um <jc9.um@samsung.com>
Date: Wed Jan 4 11:14:46 2017 +0900
edje_cc: Keep lookups for removed program
Summary:
Program lookups triggered by removed edje program should be removed when removing
edje program, but program lookups for removed program should be kept to check
exitence of removed program.
This patch keeps lookups for removed program.
Reviewers: cedric, jpeg
Reviewed By: jpeg
Differential Revision: https://phab.enlightenment.org/D4544
================================================================================
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: I527d2cf98225e5d1c3409e95f861c8a546b2c0c3
Jeeyong Um [Fri, 21 Apr 2017 02:39:00 +0000 (11:39 +0900)]
edje_cc: Keep script block during group inheritance
Currently, script block is removed when an edje group inherits from other group
after defining its own script block.
group { "somegroup";
script {
...
}
parts {
...
}
inherit: "othergroup"; // <= previous script block is removed here.
}
If parent group doesn't have script block, it doesn't need to overwrite previous
one. This will keep script block and print warning when script block is overwritten.
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Ie49c4e5c1378658d16bf33e61586f8d5a3a7cd14
Jeeyong Um [Mon, 3 Apr 2017 09:32:00 +0000 (18:32 +0900)]
Evas.Table: Apply mirrored correctly when align is set
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: I087571bcb956eb1fb8a1ee61a90a6116aa54eca9
Gwanglim Lee [Fri, 21 Apr 2017 01:52:35 +0000 (10:52 +0900)]
Revert "Revert "ecore_wl: added Ecore_Wl_Event_Window_Pre_Visibility_Change event""
This reverts commit
ddf7d134c3615e9cad1fdbb50ddadc83d8b80ef6.
Change-Id: I1243f9a1e3062024f471dbeca010035d1d805b4f
Daekwang Ryu [Fri, 21 Apr 2017 01:39:49 +0000 (10:39 +0900)]
evas_gl: remove colons of doxygen
Change-Id: I37184178562f6a29c4f87380106d1f0119046b35
Youngbok Shin [Tue, 4 Apr 2017 09:36:41 +0000 (18:36 +0900)]
evas textblock: fix top/bottom valign tag reversed issue
Summary:
valign tag is for handling vertical align according to line's height and
text's height. But, it worked in a line which has only one font and
one font size, too. And the result was abnormal depending its font.
The line's height is [ascent + descent]. But, Textblock uses max ascent and
items's height(could be used max ascent + max descent according to its position)
when Textblock calculates item's yoff.
So, If Textblock calculate yoff based on line's height,
it should use only ascent and descent instead of max ascent and max descent.
@fix
Test Plan: Will attached in comment section.
Reviewers: raster, herdsman, jpeg, woohyun
Reviewed By: raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D4760
Change-Id: I05a552f230dc821d8d749fc05139967c7c82e81a
Youngbok Shin [Mon, 11 Jul 2016 08:57:36 +0000 (17:57 +0900)]
Evas textblock: Apply scale factor to <linesize>, <linegap> formats
Summary:
Font size is scaled according to scale factor.
The linesize, linegap formats also have to be scaled properly.
@fix
Test Plan:
Test cases are included.
Run "make check"
Reviewers: woohyun, Jieun, tasn, herdsman
Reviewed By: tasn
Subscribers: raster, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3688
Change-Id: Ice06d3200017434ec2ee14215478f0a4d4c9f2f0
Shinwoo Kim [Tue, 18 Apr 2017 10:14:22 +0000 (19:14 +0900)]
Revert "efl: fix booting failure issue"
This reverts commit
df239644950339622d50fdc54ed6c33d201bb46c.
The root cause is fixed by following patch set.
https://review.tizen.org/gerrit/#/c/125523/
Change-Id: I050fa5cab670b037a2747508aa519ce9ddcc76fa
InHong Han [Wed, 19 Apr 2017 08:07:14 +0000 (17:07 +0900)]
Changed the parameter type in ecore_imf_context_prediction_hint_set()
Change-Id: I1ce5cb1fb17f481da877f3cae8aa336f7e555fda
Daekwang Ryu [Wed, 19 Apr 2017 06:07:27 +0000 (15:07 +0900)]
evas_gl: add creating a debug context
When users create a debug context,
have to check EGL_KHR_create_context extension with
evas_gl_string_query().
Change-Id: I1ebdca515e59c02dcaf315c638e4ee04723387c1
Daekwang Ryu [Thu, 16 Feb 2017 05:35:44 +0000 (14:35 +0900)]
evas-gl: Implement GLES 3.2
add a wrapper function for glFramebufferTexture.
Change-Id: I7ab75d749148553c0559bfd042ca19ec5a937983
Youngbok Shin [Fri, 14 Apr 2017 09:12:49 +0000 (18:12 +0900)]
efl: fix booting failure issue
The ecore systemd module was removed from package to fix a SMACK issue
from the following commit. But, it caused booting failure issue in Tizen 4.0.
The SMACK issue and this patch should be handled again.
commit
108f99eda7245a7529578b5801c296973f4612f1
Author: Shinwoo Kim <cinoo.kim@samsung.com>
Date: Fri Mar 17 18:09:12 2017 +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: I0c35b5138bf02c5f87d52d858bdc993a7e40c6d4
Woochan Lee [Fri, 14 Apr 2017 05:53:51 +0000 (14:53 +0900)]
Revert "ecore_wl: added Ecore_Wl_Event_Window_Pre_Visibility_Change event"
It has build dependency with other module.
This reverts commit
e9b73972441d8697eb19ba558dde973f810984bd.
Change-Id: I063ca46b6e81815b737e3047aeecd13eb6510a57
Gwanglim Lee [Thu, 13 Apr 2017 12:47:40 +0000 (21:47 +0900)]
ecore_wl: added Ecore_Wl_Event_Window_Pre_Visibility_Change event
The compositor sends this event to the client before the window
is shown on the screen. And it needs tizen_policy version 5 which
contains new pre_unobscured event for the tizen_visibility interface.
Change-Id: I50d0dc33b287987f1eaa71208cbd459c666892de
SooChan Lim [Thu, 13 Apr 2017 09:16:39 +0000 (18:16 +0900)]
Revert "ecore_drm: do not allocate the drm_dumb memory"
This reverts commit
802392303aa0c4225d6356e33fe9b287329ff1ad.
Change-Id: I368d7435286336ed77ac8dbf2f071ad12111f5a4
Sungtaek Hong [Wed, 29 Mar 2017 06:56:55 +0000 (15:56 +0900)]
License: copy correct COPYING file for each pkg
Change-Id: Ia03f19714bb484682ac77942ffd6c04059be3254
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
InHong Han [Wed, 29 Mar 2017 06:34:32 +0000 (15:34 +0900)]
ecore_imf: Add ecore_imf_context_prediction_hint_set API
Change-Id: Ic3edb895e8c0ce95eff4672b85ef0540e90b0358
Bowon Ryu [Wed, 12 Apr 2017 04:44:37 +0000 (13:44 +0900)]
efl.spec: add ecore-core.pc
Change-Id: Ia8f2b01351586de5d49b5250cc8b9697fba837ec
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Youngbok Shin [Tue, 11 Apr 2017 12:14:12 +0000 (21:14 +0900)]
edje: use proper ellipsis API for textblock
@tizen_fix
Change-Id: I093006356a2580a120a9f975d3f818511a1b3483
Hosang Kim [Tue, 11 Apr 2017 11:17:32 +0000 (20:17 +0900)]
ecore_wl: deleted unused variable.
Change-Id: If0adf542f0f7ba16a75f530471e08b5fa115dea8
jiin.moon [Mon, 3 Apr 2017 09:56:46 +0000 (18:56 +0900)]
ecore: Remove condition about timeout in animator with vsync
Change-Id: Ie8a68d1346e6b8641ca9dfb0af57ce750ea0cf69
jiin.moon [Mon, 10 Apr 2017 11:21:57 +0000 (20:21 +0900)]
edje: Add workaround for misuses of clip_set
Author: Jean-Philippe Andre <jp.andre@samsung.com>
AuthorDate: Mon Apr 10 16:01:28 2017 +0900
Commit: Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Mon Apr 10 16:14:45 2017 +0900
edje: Add workaround for misuses of clip_set
An unfortunately very common misuse of clip is as follows:
- Layout A is created (edje object / elm_layout)
- Object B is swallowed inside A
- Clipper C is set to clip B
This is a invalid usage, as layout A takes control over the clip
property of B (just like it does for geometry, visibility, color...).
Since
75ec3a7338c9c2406d4 edje_recalc resets the clip at every calc
loop, as it can change between states.
In the past, edje_recalc did not reset the clip so anyone could
(wrongly) swallow an object and then change its clip from C to modify
its color, mask it, blend it, etc... Even though this was not proper
use of the API, this is not very clearly documented, and since it
worked, it has been (ab)used a lot already.
The result now is that a clipper set from C will become visible
as an opaque white rectangle covering the entire UI. Booh.
This patch is a workaround that should have no impact on well
written applications. As a bonus this avoids an extra call to
clip_set() from edje.
@fix
Change-Id: I30f18a34a1812afa54b980222a51c9988374d805
Jean-Philippe Andre [Mon, 10 Apr 2017 07:56:14 +0000 (16:56 +0900)]
evas filters: Fix a rare crash in text render (SW)
There are reports of crashes when y < 0. This case seems
abnormal in case of filters, as I don't know how to reproduce it,
but it's happened.
Thanks Youngbok Shin for the report.
@fix
Change-Id: I75eda197ba035a9508395623bc9f23007b69857d
(cherry picked from commit
01320470baf234b61365272675e6d64624b8a400)
Daekwang Ryu [Mon, 3 Apr 2017 07:43:03 +0000 (16:43 +0900)]
evas_gl: skip DEPTH24_STENCIL8 for GLES 1.1 FBO
cap_test is tested on GLES 2.0.
GLES 1.1 doesn't support DEPTH24_STENCIL8.
Change-Id: Idc3bb244e5c4f9c6a8a4d192fa95cfaf3de4b940
Jiyoun Park [Fri, 7 Apr 2017 02:43:35 +0000 (11:43 +0900)]
evas_clip: fix bug _clipper_del_cb function unset current clipper
old_clipper = evas_object_clip_get(objA);
evas_object_clip_unset(obj_A);
evas_object_clip_set(obj_A, new_clipper);
evas_object_del(old_clipper);
when old_clipper deleted, _clipper_del_cb unset the current new_clipper of obj_A.
opensource_commit:
258b42b47be4cda891c2c92a8be13b6cef199063
Author: Jiyoun Park <jy0703.park@samsung.com>
Date: Fri Apr 7 11:35:55 2017 +0900
Change-Id: Ibc2f494f1d1243116b1ea15804a4222463ee90df
JEONGHYUN YUN [Fri, 7 Apr 2017 02:01:44 +0000 (11:01 +0900)]
edje_edit: add NULL check for eina_mempool_malloc in _edje_edit_state_alloc()
Summary: Pointer eina_mempool_malloc return value may have NULL value when
module aren't properly installed. This reduce the chance of a crash and increase
the likelyness of properly handling the failure.
Reviewers: jpeg, jypark
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4763
Change-Id: Ibe66a7b3217449a965022c94c9eee4ba8e90717d
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
JEONGHYUN YUN [Fri, 7 Apr 2017 01:58:47 +0000 (10:58 +0900)]
edje: fix name check matching correctly
This could lead to a crash as we were checking against NULL on
the wrong pointer.
@fix
Reviewers: jpeg, jypark
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4762
Change-Id: Ie26265ea080dd3ae9f965ff73467d689cf1efd6d
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
JEONGHYUN YUN [Fri, 7 Apr 2017 01:55:49 +0000 (10:55 +0900)]
edje_program: add NULL check for ed->callbacks in edje_program
Summary: Pointer ed->callbacks may have NULL value in callback add functions.
This reduce the chance of continue to kind of work for longer in case of memory
constrain. Maybe using Eina macro would be better.
Reviewers: jpeg, jypark
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4761
Change-Id: I4f4dda9d4eb1da1fa4d584239078fabbd84532df
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
JEONGHYUN YUN [Thu, 6 Apr 2017 06:08:57 +0000 (15:08 +0900)]
emile_image: add error handling code for ifd_offset value
Change-Id: I498e1b8cdb979c3139e83a2599a21b7d8aca16c3
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Jongmin Lee [Tue, 28 Mar 2017 07:11:27 +0000 (16:11 +0900)]
efl.spec: remove ecore-extra package
Change-Id: I2ac3b3004ef896aaacebee46579e924e42fe8549
Joogab Yun [Thu, 6 Apr 2017 00:57:55 +0000 (09:57 +0900)]
[evas_gl_thread_egl] add return statement (WGID : 174077)
Change-Id: I766723e31ce327dacf704482eceec6aa92adfa28
Joogab Yun [Thu, 6 Apr 2017 00:42:26 +0000 (09:42 +0900)]
[evas_gl_thread_egl] add return statement (WGID : 174076)
Change-Id: I3e232d7020241ffda7033e88ae21ab583f345b2c
sunghyun kim [Wed, 5 Apr 2017 08:01:16 +0000 (17:01 +0900)]
[EXTN_GL] free bdata when _tizen_remote_surface_init is failed
when _tizen_remote_surface_init() is failed, bdata need to free memory.
Change-Id: I5e94ac5b7130a0e5f84c2f6906a48dd99c4f78f1
sunghyun kim [Fri, 31 Mar 2017 05:35:32 +0000 (14:35 +0900)]
[EXTN_GL] call tbm_surface_internal_unref() when buffer is released
when tizen_remote_surface is released, ref count also need to down.
so call tbm_surface_internal_unref() when buffer is released.
Change-Id: Ieb93f9e47130cc0cd568481944cac0369c1cc144
Joogab Yun [Wed, 5 Apr 2017 09:50:51 +0000 (18:50 +0900)]
[evas_gl] add null check before eina_mempool_malloc
WGID : 167385
Change-Id: If6ee39fcaed610234f621cd00cd59bb9d3e41b10
sunghyun kim [Wed, 22 Mar 2017 10:22:13 +0000 (19:22 +0900)]
[EXTN_GL] no 'wayland_tbm_client_init()' when ecore_evas use wayland_shm backend
In wayland_shm backend, they call wayland_tbm_client_init/deinit.
if ecore_evas_extn call again for tizen_remote_surface, some rendering issue will be shown.
so if plug application use wayland_shm backend, just get tbm_client from wayland_shm backend.
Change-Id: If128dfffe9a030334c0ae551414808ff99583a92
sunghyun kim [Mon, 20 Mar 2017 02:01:38 +0000 (11:01 +0900)]
[EXTN_GL] fix svace issue
if bdata is null, iconify function need to return.
and return type also need to change void->bool.
Change-Id: Icccf07d0ceb30f8ef570affaaca6602237731420
sunghyun kim [Wed, 15 Mar 2017 07:41:12 +0000 (16:41 +0900)]
[EXTN_GL] destroy wl_buffer when remote surface is released.
wl_buffer need to destory when tizen remote surface is released.
Change-Id: If0c55e38d2a7e121de29c55efadc72dc15969515
sunghyun kim [Wed, 8 Mar 2017 09:44:46 +0000 (18:44 +0900)]
[EXTN_GL] release pre-buffer when plug window is iconified
1.when plug window is iconified, plug can't release pre-buffer because they don't need to rendering.
so add release code for iconified plug window.
2. some application is hide status, so they don't need change iconify status.
in these cases, extn not call redirect.
Change-Id: I597be013101681f10b80c86512ec25979ca442bc
sunghyun kim [Mon, 6 Mar 2017 02:02:38 +0000 (11:02 +0900)]
[EXTN_GL] release tizen remote surface when ecore_evas_extn is freed.
tizen remote surface need to free when ecore_evas_extn is freed.
Change-Id: I58119e4e38bb15c51b49df6c2ecf4a8b60620c69
Jiwon Kim [Mon, 13 Feb 2017 10:28:08 +0000 (19:28 +0900)]
eet: fix memory leak
Fix memory leak about eet_mesh, eet_header
@tizen_fix
@27269, 168392, 168579
Change-Id: I9229482bcbb8a80fb9dd5720349ad70dd01e47ea
Signed-off-by: Jiwon Kim <jiwon177.kim@samsung.com>
jiin.moon [Mon, 13 Feb 2017 05:25:17 +0000 (14:25 +0900)]
[evas]Remove unnessary condition for relayout of textblock
The _relayout_if_needs api already has enough condition
for whether relayout is required(included this condition).
Rather because of this condition, can't do relayout even if it's required
Change-Id: Ic6b0c7a830bded298d39e23449e85a8e6c0d4a1f
jiin.moon [Wed, 2 Dec 2015 22:22:35 +0000 (14:22 -0800)]
ecore_evas: fix disappearing socket image
Summary:
In case there is connection between a server and some client,
show/hide does not work properly.
If there are clients need to show,
this patch make it hide operation will not work even if get the hide signal
@fix
Reviewers: jypark, Hermet, cedric
Subscribers: Hermet, cedric
Differential Revision: https://phab.enlightenment.org/D2962
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: Ibaf017330e640fd2ae514f0b918812c33519003f
Joogab Yun [Tue, 4 Apr 2017 07:42:52 +0000 (16:42 +0900)]
[evas_gl_engine] there is need render_op when does image
draw
this fixes evas_object_image_save after changing the orientation for
an image with alpha value
Change-Id: Iab9eba03f4f1c74d52ddd6e982dc83e8c7dea8dc
Joogab Yun [Fri, 24 Mar 2017 01:34:26 +0000 (10:34 +0900)]
[evas_sw] add check for null
there was no null check for native value
Change-Id: If01700f430a1c5f2ec0519f25a5dc45ca2a55d6e
Joogab Yun [Wed, 22 Mar 2017 08:40:02 +0000 (17:40 +0900)]
[evas_engine] SW backend : fixed tbm leak
if native surface set NULL, func.free is not called
Change-Id: I82dc6e79c09324a3d334ed2d6b354cc4c6321a30
Joogab Yun [Fri, 10 Mar 2017 06:37:12 +0000 (15:37 +0900)]
[evas_object_image] changed concept custom ROI mode
change ROI operation in the same as wayland sink, by request of mmfw.
Change-Id: If1395664ffcc90f9fd2f2ca4e86c28a2b265ce32
Joogab Yun [Fri, 10 Mar 2017 06:43:47 +0000 (15:43 +0900)]
[evas_engine] SW backend : fixed tbm leak
if native surface set NULL, func.free is not called
Change-Id: I687e494d68ccbf06e8577fa752f25f9a3139e0fa
jiin.moon [Tue, 7 Mar 2017 11:45:50 +0000 (20:45 +0900)]
ecore_con: Fix event issue with extn image
If extn image has event by MOUSE_EVENT, wait READ or WRITE event from FD descriptor.
But FD handler does not process about WRITE flag if READ flag has set.
Change-Id: If4602f2727ea0f7d9ce64c2dd660dc6d212d170e
jiin.moon [Wed, 8 Mar 2017 09:09:16 +0000 (18:09 +0900)]
Fix build error
Change-Id: I9a7613630ad14c0f2e35d6bc0a182ee2436fbee0
jiin.moon [Thu, 2 Mar 2017 09:32:35 +0000 (18:32 +0900)]
evas : Fix double clipping issue with map
Author: jiin.moon <jiin.moon@samsung.com>
AuthorDate: Thu Mar 2 15:53:03 2017 +0900
Commit: Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Thu Mar 2 16:43:47 2017 +0900
evas: Fix double clipping issue with map
If object's parent has map and object also has map, the evas
clip would be applied twice.
The context already applied clip area when drawing on map_surface.
So don't need more clipping when drawing map_image.
Also, make sure to apply the framespace clip when drawing the map
surface onto the final canvas. Thanks @jiin.moon for the initial
patch (see D4694).
@fix
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Change-Id: Icc41d0109f86a8d26369fdfcd7aba29cd4350c9d
jiin.moon [Wed, 5 Apr 2017 08:07:22 +0000 (17:07 +0900)]
evas: Fix masking issue with map on landscape mode
The rotation_id flag should be 0 when map/proxy has set.
Change-Id: Iaf0d5a22cc5a6516e02c9d0b778d5b4a6c56bbbd
jiin.moon [Tue, 14 Feb 2017 02:16:27 +0000 (11:16 +0900)]
evas: fixed compile error with REND_DBG
If REND_DBG is enable, compile error happen becasue of missing ';'
Change-Id: I902cdbdc682d301d783998754b62a5782d3c72f9
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>