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>
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>