platform/upstream/efl.git
7 years agoevas_gl: add creating a debug context 51/125851/3
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

7 years agoevas-gl: Implement GLES 3.2 20/120720/8
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

7 years agoefl: fix booting failure issue 71/125271/1 accepted/tizen/unified/20170419.163251 submit/tizen/20170414.092804 submit/tizen/20170418.072937 submit/tizen/20170418.085103
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

7 years agoRevert "ecore_wl: added Ecore_Wl_Event_Window_Pre_Visibility_Change event" 93/125193/2 submit/tizen/20170414.060354
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

7 years agoecore_wl: added Ecore_Wl_Event_Window_Pre_Visibility_Change event 63/125063/1
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

7 years agoRevert "ecore_drm: do not allocate the drm_dumb memory" 19/125019/1
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

7 years agoLicense: copy correct COPYING file for each pkg 31/121831/5
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>
7 years agoecore_imf: Add ecore_imf_context_prediction_hint_set API 40/124440/6 submit/tizen/20170413.080524
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

7 years agoefl.spec: add ecore-core.pc 66/124666/1
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>
7 years agoedje: use proper ellipsis API for textblock 24/124524/1
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

7 years agoecore_wl: deleted unused variable. 05/124505/1
Hosang Kim [Tue, 11 Apr 2017 11:17:32 +0000 (20:17 +0900)]
ecore_wl: deleted unused variable.

Change-Id: If0adf542f0f7ba16a75f530471e08b5fa115dea8

7 years agoecore: Remove condition about timeout in animator with vsync 99/123099/3
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

7 years agoedje: Add workaround for misuses of clip_set 85/124185/1
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

7 years agoevas filters: Fix a rare crash in text render (SW) 68/124168/1
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)

7 years agoevas_gl: skip DEPTH24_STENCIL8 for GLES 1.1 FBO 41/122741/3
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

7 years ago evas_clip: fix bug _clipper_del_cb function unset current clipper 72/123772/1
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

7 years agoedje_edit: add NULL check for eina_mempool_malloc in _edje_edit_state_alloc() 54/123754/1
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>
7 years agoedje: fix name check matching correctly 53/123753/1
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>
7 years agoedje_program: add NULL check for ed->callbacks in edje_program 52/123752/1
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>
7 years agoemile_image: add error handling code for ifd_offset value 64/123564/1
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>
7 years agoefl.spec: remove ecore-extra package 29/121529/2 submit/tizen/20170406.055746
Jongmin Lee [Tue, 28 Mar 2017 07:11:27 +0000 (16:11 +0900)]
efl.spec: remove ecore-extra package

Change-Id: I2ac3b3004ef896aaacebee46579e924e42fe8549

7 years ago[evas_gl_thread_egl] add return statement (WGID : 174077) 92/123492/2
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

7 years ago[evas_gl_thread_egl] add return statement (WGID : 174076) 89/123489/2
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

7 years ago[EXTN_GL] free bdata when _tizen_remote_surface_init is failed 79/123379/4
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

7 years ago[EXTN_GL] call tbm_surface_internal_unref() when buffer is released 78/123378/2
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

7 years ago[evas_gl] add null check before eina_mempool_malloc 85/123385/2
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

7 years ago[EXTN_GL] no 'wayland_tbm_client_init()' when ecore_evas use wayland_shm backend 77/123377/3
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

7 years ago[EXTN_GL] fix svace issue 76/123376/3
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

7 years ago[EXTN_GL] destroy wl_buffer when remote surface is released. 75/123375/2
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

7 years ago[EXTN_GL] release pre-buffer when plug window is iconified 60/123360/3
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

7 years ago[EXTN_GL] release tizen remote surface when ecore_evas_extn is freed. 59/123359/3
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

7 years agoeet: fix memory leak 72/114472/3
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>
7 years ago[evas]Remove unnessary condition for relayout of textblock 87/123387/2
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

7 years agoecore_evas: fix disappearing socket image 88/123388/1
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

7 years ago[evas_gl_engine] there is need render_op when does image 47/123247/3
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

7 years ago[evas_sw] add check for null 37/123237/4
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

7 years ago[evas_engine] SW backend : fixed tbm leak 33/123233/3
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

7 years ago[evas_object_image] changed concept custom ROI mode 32/123232/3
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

7 years ago[evas_engine] SW backend : fixed tbm leak 31/123231/3
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

7 years agoecore_con: Fix event issue with extn image 82/123282/2
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

7 years agoFix build error 80/123280/2
jiin.moon [Wed, 8 Mar 2017 09:09:16 +0000 (18:09 +0900)]
Fix build error

Change-Id: I9a7613630ad14c0f2e35d6bc0a182ee2436fbee0

7 years agoevas : Fix double clipping issue with map 78/123278/2
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

7 years agoevas: Fix masking issue with map on landscape mode 42/123342/2
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

7 years agoevas: fixed compile error with REND_DBG 77/123277/2
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

7 years agoecore: fixed wrong codes regarding ecore_anim_vsync 85/123085/2
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

7 years agoecore_wayland: To use vsync as custom source of animator 78/123078/2
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

7 years agoevas/software_generic: Round up merged rect to tile size 95/123195/1
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

7 years ago[evas_gl] GL_TEXTURE_EXTERNAL_OES also applies smooth flag. 89/123189/1
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

7 years ago ecore_evas_wayland: add fake damage code when app set manual rotation set 20/123020/2
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

7 years ago ecore_evas_extn: add shared lock mode to the ecore_extn. 19/123019/2
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

7 years ago ecore_evas_wayland: fix bug ee's width and height were updated wrong place. 16/123016/2
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

7 years ago ecore_evas_wayland_common: fix bug that window is not rotated when app request... 14/123014/2
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

7 years agoecore_evas_wayland: rerender the ecore_evas when app already finish rotation. 13/123013/2
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

7 years agoecore_evas_wayland: send rotate done message when disapay server's callback is called. 11/123011/2
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

7 years agoecore_evas: remove useless pending_mode set code 10/123010/2
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

7 years agoecore_evas: Pend the rotation until app set the rotation. 09/123009/2
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

7 years agoevas_image_main: fix memory leak 08/123008/2
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

7 years agoeina_bt_log: fix memory leak in eina_btlog 56/122956/3
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>
7 years agoecore_drm: add a space following the efl coding rule 96/122996/1
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

7 years agoecore_drm: Get touch slots using slot not seat_slot 95/122995/1
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

7 years agoecore_wayland: fix bug - make sure to request set_geometry_hint when tizen_rotation... 17/122917/2
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

7 years agoecore_drm: Check a integer value's higher boundary 30/122930/1
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

7 years agoecore_drm: Fix a devices_num value's boundary check 29/122929/1
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

7 years ago[Ecore] Set locale before doing float conversion 23/122823/1
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>
7 years agoecore_wl_window: do not clear opaque region when alpha value is changed 98/122798/2
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>
7 years agoecore_wl: add api to set data only mode for using clipboard 97/122797/1
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>
7 years agoecore: not install systemd module. 37/121537/3
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

7 years agoevas_gl: fix to generate GL Error 96/120996/2
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

7 years agoEvas GL: Reset current surface for all contexts to null when surface is destroyed 94/120294/4
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

7 years agoEina_Xattr: fix memory corruption 41/120741/1
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>
7 years agoedje: fix crash issue when Edje tries to clean up fade object 01/120401/1
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

7 years ago[Evas GL Thread 2] evas: (GL thread) Added GL thread renderer logics 55/119755/2
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

7 years ago[evas_gl_thread] If DIRECT rendering flag is on, evas gl thread 97/118997/2
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

7 years agoefl.spec: split ecore package for efl building block. 89/119789/4
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>
7 years agodocs: Change the group name of Edje.Object 10/119810/1
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

7 years agoecore_animator: improve comparision check for stopping animator. 40/118440/3 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170315.125023 accepted/tizen/ivi/20170315.222048 accepted/tizen/mobile/20170315.221929 accepted/tizen/tv/20170315.221957 accepted/tizen/unified/20170316.015249 accepted/tizen/wearable/20170315.222022 submit/tizen/20170315.094151
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

7 years agodocs: Fix typos and some wrong expressions in Ecore_Drm, Ecore_Evas, Ecore_File,... 74/116574/2
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

7 years agodocs: Fix typos and some wrong expressions in Ecore API reference doxygen. 11/115811/5
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

7 years ago[evas_gl_thread_egl] seperate eglGetProcAddress into a gl thread 67/118567/2
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

7 years agoEvas GL:Bind texture to correct one. 79/117379/2
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

7 years agoecore_input: Remove warning message 26/117726/1 accepted/tizen/common/20170309.175613 accepted/tizen/ivi/20170310.031702 accepted/tizen/mobile/20170310.031358 accepted/tizen/tv/20170310.031515 accepted/tizen/unified/20170310.080710 accepted/tizen/wearable/20170310.031619 submit/tizen/20170309.095236 submit/tizen_unified/20170310.011402
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

7 years agoecore_input: take care of ABI break 63/117663/1
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

7 years agoecore_input: deprecate joystick_init/shutdown API 62/117662/1
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

7 years agoecore_input: disable joystick on Windows/MacOS 61/117661/1
Shinwoo Kim [Thu, 23 Feb 2017 09:36:52 +0000 (18:36 +0900)]
ecore_input: disable joystick on Windows/MacOS

Change-Id: Ieb27e643f27817f8590404e86ff6a480b62c6ce7

7 years agoEeze build ordering. 60/117660/1
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

7 years agoecore_input: add API to set/get deadzone of joystick event for an axis. 59/117659/1
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

7 years agoecore_input: support Xbox One joystick 58/117658/1
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

7 years agoecore_input: support PS4 joystick 57/117657/1
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

7 years agoecore-input: Check return fo ecore_main_fd_handler_fd_get 56/117656/1
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>
7 years agoEcore_Input: define data type for joysticks 55/117655/1
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

7 years agoRevert "[ecore_input] initial version of ecore joystick event" 54/117654/1
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

7 years agoRevert "ecore_input: dont try to build a joystick feature on window os." 53/117653/1
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

7 years agoRevert "ecore_input: disable joystick feature in Mac OS" 44/117644/1
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

7 years agoRevert "[ecore_input] add ECORE_EVENT_JOYSTICK_BUTTON_PLAY" 43/117643/1
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

7 years ago[EvasGL] Fix the bug as EvasGL can not find the config. 36/117436/2
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

7 years ago[Ecore] Memory leak fixed in Ecore Wayland 57/117457/1
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>
7 years agoevas: clean up GL images for emojis when GL context is free'd in shutdown process 10/116710/1
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)

7 years agoEvasGL: For depth&stencil&msaa, use renderbuffer instead of texture 35/116135/1 accepted/tizen/common/20170223.182518 accepted/tizen/ivi/20170224.064518 accepted/tizen/mobile/20170224.064322 accepted/tizen/tv/20170224.064353 accepted/tizen/unified/20170309.035253 accepted/tizen/wearable/20170224.064446 submit/tizen/20170223.104121 submit/tizen_unified/20170308.100412
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

7 years agoevas gl: Partially fix MSAA for GLES 3 drivers 34/116134/1
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

7 years agoRevert "evas textblock: +1 to formatted width from Textblock" 93/115893/2
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