platform/upstream/efl.git
8 years agoecore_wayland: add ECORE_WL_WINDOW_TYPE_NOTIFICATION to enum values and support windo... 58/49758/7 accepted/tizen/mobile/20151108.231153 accepted/tizen/tv/20151108.231219 accepted/tizen/wearable/20151108.231232 submit/tizen/20151108.083635
Duna Oh [Tue, 20 Oct 2015 05:22:19 +0000 (14:22 +0900)]
ecore_wayland: add ECORE_WL_WINDOW_TYPE_NOTIFICATION to enum values and support window_type_set

Change-Id: I1156804200b304d5649a6d06ea91e7a43ac0769d
Signed-off-by: Duna Oh <duna.oh@samsung.com>
8 years agoRemove a dependency for ibus when wayland is used. 81/51181/4 accepted/tizen/mobile/20151106.045141 accepted/tizen/tv/20151106.045152 accepted/tizen/wearable/20151106.045159 submit/tizen/20151105.061154
Youngbok Shin [Thu, 5 Nov 2015 05:04:50 +0000 (14:04 +0900)]
Remove a dependency for ibus when wayland is used.

It prevents the following circular dependency in mobile/wearable/tv profiles.

   efl->ibus->gobject-introspection->cairo->efl

If ibus lib is needed in Tizen common or ivi profiles,
we need to remove the circular dependency from other packages.

Change-Id: I68f4a016f0a2cbebfeb9bd5367517f484264cba0

8 years agoMerge "edje: edje_edit - add getters/setters for a container item position" into...
Nikita Belyavskij [Thu, 29 Oct 2015 05:46:16 +0000 (22:46 -0700)]
Merge "edje: edje_edit - add getters/setters for a container item position" into tizen

8 years agoCall input_panel_geometry_event callback when input panel is shown or hidden 42/50042/1
Haifeng Deng [Fri, 23 Oct 2015 10:16:28 +0000 (18:16 +0800)]
Call input_panel_geometry_event callback when input panel is shown or hidden

Change-Id: I45a0cbcd3bcf4da6751744d7dc21e3f917a08759

8 years agoedje: edje_edit - add getters/setters for a container item position 24/50024/2
Vyacheslav Reutskiy [Mon, 21 Sep 2015 13:12:56 +0000 (16:12 +0300)]
edje: edje_edit - add getters/setters for a container item position

This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's

Change-Id: I27c3abbbbbc542073097f88de784b0e17c03f58a
origin: upstream

8 years agoedje: edje_edit - add getters/setters for a container item spans 72/49972/2
Vyacheslav Reutskiy [Mon, 21 Sep 2015 13:48:07 +0000 (16:48 +0300)]
edje: edje_edit - add getters/setters for a container item spans

This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's

Change-Id: I51362acfbe3a377a4892343c9d6c9d89aabe45dc
origin: upstream

8 years agoedje: edje_edit - add getters/setters for container padding 71/49971/2
Vyacheslav Reutskiy [Mon, 21 Sep 2015 12:47:27 +0000 (15:47 +0300)]
edje: edje_edit - add getters/setters for container padding

This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's.

Change-Id: I375bfa71abd18ba564138093d7cb016c5efb09d2
origin: upstream

8 years agoedje: edje_edit - add getters/setters for container align 70/49970/2
Vyacheslav Reutskiy [Mon, 21 Sep 2015 13:07:36 +0000 (16:07 +0300)]
edje: edje_edit - add getters/setters for container align

This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's.

Change-Id: I53691251154daa1fd4df6f0c62007f1af7592c96
origin: upstream

8 years agoedje: edje_edit - add getters/setters for min container size 69/49969/2
Vyacheslav Reutskiy [Mon, 21 Sep 2015 07:25:24 +0000 (10:25 +0300)]
edje: edje_edit - add getters/setters for min container size

This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's.

TODO:
 * separate edje_edit_state_container_padding_get/set
 * separate edje_edit_state_container_align_set/set
 * separate edje_edit_part_item_position_get/set
 * separate edje_edit_part_item_span_get/set

Change-Id: Ia5877049eab8fe4e5a8f24a36305b8d44c2e170d
origin: upstream

8 years agoedje: _check_recursive_reference reworked to fix segv in Edje_Edit. 68/49968/2
Andrii Kroitor [Tue, 5 May 2015 08:46:08 +0000 (10:46 +0200)]
edje: _check_recursive_reference reworked to fix segv in Edje_Edit.

Summary:
in some cases collections cache "ref" can be NULL and old code fails.
Replaced with reliable way of getting part list that was found in
_edje_edit_group_references_update

@fix

Reviewers: raster, Hermet, seoz, reutskiy.v.v, FurryMyad, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2450

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I464366aa6e0d9b14879ab5773f3d83acb3a19526
origin: upstream

8 years agoedje: add edje_edit_full_source_generate() as a public API. 67/49967/2
Maksym Volodin [Fri, 13 Mar 2015 07:33:04 +0000 (08:33 +0100)]
edje: add edje_edit_full_source_generate() as a public API.

Summary: added full source code generation as public API for Edje Editor application.

Reviewers: Hermet, seoz, raster, cedric

Reviewed By: cedric

Subscribers: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D2100

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: Iff515c3b0d59d33cee8158c9c35939840625d262
origin: upstream

8 years agoedje: Edje_Edit - add data items into generated code for the group. 66/49966/2
Mykyta Biliavskyi [Fri, 13 Mar 2015 08:43:11 +0000 (09:43 +0100)]
edje: Edje_Edit - add data items into generated code for the group.

Summary:
Include data items, that present in edje object.
Data items, which data ends with '\n' recognized as data.file item and not included into the generated source code.
@fix

Reviewers: Hermet, reutskiy.v.v, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D1858

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: Id3eaaba43238e96ff7c48c5f3083a56ffb5e50a0
origin: upstream

8 years agoEdje: new set/get API omogeneous, paddings and align for BOX/TABLE in Edje Edit 65/49965/2
Vitalii Vorobiov [Thu, 19 Feb 2015 14:57:17 +0000 (16:57 +0200)]
Edje: new set/get API omogeneous, paddings and align for BOX/TABLE in Edje Edit

Those include such functions like:
> edje_edit_state_table_homogeneous_set/get (function for TABLE only)
> edje_edit_state_container_padding_get
(container means that functions both for TABLE and BOX)
> edje_edit_state_container_align_get (also for TABLE and BOX)

@feature

Change-Id: I90100145d4e519b8853192ca0ceac5c50489cd0f
origin: upstream

8 years agoedje: edje_edit - fix group source generation of item 'weight' param 64/49964/2
Vitalii Vorobiov [Fri, 13 Feb 2015 16:40:38 +0000 (18:40 +0200)]
edje: edje_edit - fix group source generation of item 'weight' param

@fix

Change-Id: I1623d5225556b26ac349856134d2403454644373
origin: upstream

8 years agoedje: edje_edit - fix group source generation of box params 63/49963/2
Vitalii Vorobiov [Fri, 13 Feb 2015 16:43:04 +0000 (18:43 +0200)]
edje: edje_edit - fix group source generation of box params

Need to generate such params of box like align, padding, min and layouts
(both primary and alternative).

@fix

Change-Id: I1d03dfd9b8acd681373d329f0f5a5117a716020d
origin: upstream

8 years agoedje: Edje_Edit - functions to edit layouts of BOX parts 62/49962/2
Vitalii Vorobiov [Fri, 13 Feb 2015 16:47:56 +0000 (18:47 +0200)]
edje: Edje_Edit - functions to edit layouts of BOX parts

New functions for setting such BOX's params like primary and fallback layouts:
> edje_edit_state_box_layout_set
> edje_edit_state_box_layout_get
> edje_edit_state_box_alt_layout_set
> edje_edit_state_box_alt_layout_get

@feature

Change-Id: I7ba14f832eb3a8055f2236db628eea4afbe00b3f
origin: upstream

8 years agoEdje: edje_edit - fix Segmentation Fault on new BOX part 75/49775/2
Vitalii Vorobiov [Mon, 9 Feb 2015 16:58:26 +0000 (18:58 +0200)]
Edje: edje_edit - fix Segmentation Fault on new BOX part

After adding new part (with type BOX) there was a SIGSEV because
of structure that wasn't initialized.

@fix

Change-Id: If997b4cd494743b87b7fe957141498c23ca1f88e
origin: upstream

8 years agoMerge "eldbus: add eldbus_message_signal_new to public header" into tizen
Lukasz Stanislawski [Thu, 22 Oct 2015 13:32:00 +0000 (06:32 -0700)]
Merge "eldbus: add eldbus_message_signal_new to public header" into tizen

8 years agoeldbus: fix broken fallback interface. 24/49924/1
Lukasz Stanislawski [Mon, 21 Sep 2015 22:04:35 +0000 (00:04 +0200)]
eldbus: fix broken fallback interface.

Summary:
Previous implementation assumed that fallback interface path should be changed
on every method call. This is generally not needed since real request
path can be obtained directly from dbus message passed as method call
paremeter.

This patch reverts this behaviour and additionally fix broken Property and Introspect
interface handling of fallback interface.

Reviewers: raster, lucasdemarchi, cedric

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D3016

Change-Id: I9410f41972d679f3ce992413d87e37772361d547
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeldbus: add eldbus_message_signal_new to public header 23/49923/1
Lukasz Stanislawski [Mon, 24 Aug 2015 08:07:40 +0000 (10:07 +0200)]
eldbus: add eldbus_message_signal_new to public header

Test Plan: elementary tests

Reviewers: cedric

Subscribers: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D2772

Change-Id: I64d7adc7140ba1038cb9d01e8750f583bbe7bc02

8 years agoecore_imf/wayland: Add NULL check for text_input_manager. 98/49598/1 accepted/tizen/mobile/20151016.043519 accepted/tizen/tv/20151016.043533 accepted/tizen/wearable/20151016.043549 submit/tizen/20151015.111057 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Seunghun Lee [Thu, 15 Oct 2015 05:16:55 +0000 (14:16 +0900)]
ecore_imf/wayland: Add NULL check for text_input_manager.

Summary: this patch fixes crash caused by accessing the text_input_manager in wayland_im_context_add().

Test Plan: N/A

Reviewers: jihoon

Reviewed By: jihoon

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3176

Change-Id: I32f68c522d578aa1badae9bbe7c2fbd4ba36a38d

8 years agoecore_imf/wayland: Fix issue key event handler does not work in case ecore_imf_init... 26/49526/1 accepted/tizen/mobile/20151015.093226 accepted/tizen/tv/20151015.093248 accepted/tizen/wearable/20151015.093313 submit/tizen/20151015.024439
Jihoon Kim [Wed, 14 Oct 2015 09:59:11 +0000 (18:59 +0900)]
ecore_imf/wayland: Fix issue key event handler does not work in case ecore_imf_init () is not called in initial time

When ecore_imf_init () is called in runtime not initial time,
ecore event handler doesn't work as filter.
ecore_event_filter_add () will replace ecore_event_handler_add ()

Change-Id: I310956080b29068f864e9627dabd9e0980ef57d6

8 years agoecore_wayland: fix ecore wayland rotation geometry 39/49439/1 accepted/tizen/mobile/20151014.092629 accepted/tizen/tv/20151014.092641 accepted/tizen/wearable/20151014.092638 submit/tizen/20151014.010355
Mun, Gwan-gyeong [Wed, 7 Oct 2015 13:22:54 +0000 (22:22 +0900)]
ecore_wayland: fix ecore wayland rotation geometry
               when the tz_rotation interface is bound, apply rotation geometry

Change-Id: I431077770b52a5daccb955284a0adb9a37eb703e

8 years agoecore_wayland: add null check after realloc to avoid dereferencing a null pointer 20/49420/1
Gwanglim Lee [Tue, 13 Oct 2015 05:56:19 +0000 (14:56 +0900)]
ecore_wayland: add null check after realloc to avoid dereferencing a null pointer

Change-Id: Ie903e619cb990ecaf4cbfc028d4c79548b39891f

8 years agoecore_wayland: set default value to unitialized variable 'changed' in _ecore_wl_cb_co... 19/49419/1
Gwanglim Lee [Tue, 13 Oct 2015 05:52:16 +0000 (14:52 +0900)]
ecore_wayland: set default value to unitialized variable 'changed' in _ecore_wl_cb_conformant_area

Change-Id: Ia27539ee6601b2287ebd8841e69d33c0dfdddce3

8 years agoecore_wayland: add null check to fix dereference null pointer while setting up keygrab 16/49416/1
Gwanglim Lee [Tue, 13 Oct 2015 05:46:53 +0000 (14:46 +0900)]
ecore_wayland: add null check to fix dereference null pointer while setting up keygrab

Change-Id: I8b1626027efec510d02ccc423099e9fcf8e6c0eb

8 years agoecore_wayland: fix dereference null pointer after wl_surface_frame and remove unneces... 13/49413/1
Gwanglim Lee [Tue, 13 Oct 2015 05:41:28 +0000 (14:41 +0900)]
ecore_wayland: fix dereference null pointer after wl_surface_frame and remove unnecessary null checks

Change-Id: I01b1405879b1fd6c5735ed67e493a3e735b7adbd

8 years agoecore_wayland: fix dereference null pointer after wl_surface_frame 11/49411/1
Gwanglim Lee [Tue, 13 Oct 2015 05:34:32 +0000 (14:34 +0900)]
ecore_wayland: fix dereference null pointer after wl_surface_frame

Change-Id: Ib3d8d320081850c2a169e31b97b06f2ef27cfe6c

8 years agoecore_wayland: add check null after calling calloc 07/49407/1
Gwanglim Lee [Tue, 13 Oct 2015 05:22:23 +0000 (14:22 +0900)]
ecore_wayland: add check null after calling calloc

Change-Id: I057c2c80a65576103579b68fda92f1cd26bb6929

8 years agoecore_wayland: fix dereference null pointer after wl_region_add 05/49405/1
Gwanglim Lee [Tue, 13 Oct 2015 05:20:38 +0000 (14:20 +0900)]
ecore_wayland: fix dereference null pointer after wl_region_add

Change-Id: I3fba93b436c66e43c31e021af302a5ecefb784ef

8 years agoecore_wayland: fix dereference null pointer while setting up opaque region 04/49404/1
Gwanglim Lee [Tue, 13 Oct 2015 05:19:04 +0000 (14:19 +0900)]
ecore_wayland: fix dereference null pointer while setting up opaque region

Change-Id: I1459cc0f04b589ace7ca4f359c005b5fe6246bc0

8 years agoecore_wayland: fix dereference null pointer while creating ecore_wl_subsurf 03/49403/1
Gwanglim Lee [Tue, 13 Oct 2015 05:17:35 +0000 (14:17 +0900)]
ecore_wayland: fix dereference null pointer while creating ecore_wl_subsurf

Change-Id: I4c3a80a3bcdd8aac7a0911b1f6e60a6a0ad0fafd

8 years agoecore_wayland: fix dereference null pointer while creating ecore_wl_window 01/49401/1
Gwanglim Lee [Tue, 13 Oct 2015 05:13:38 +0000 (14:13 +0900)]
ecore_wayland: fix dereference null pointer while creating ecore_wl_window

Change-Id: Ie6bddb77705bfc83c0aa1c9f1ce702853e00ae4d

8 years agoecore_wayland: fix dereference null pointer in ecore_wl_window_surface_create 00/49400/1
Gwanglim Lee [Tue, 13 Oct 2015 05:11:02 +0000 (14:11 +0900)]
ecore_wayland: fix dereference null pointer in ecore_wl_window_surface_create

Change-Id: Ib9e9e2a60c915c9956cc125a61165d42c3d597f4

8 years agoecore_buffer: fix dereference null pointer 96/49396/1
Gwanglim Lee [Tue, 13 Oct 2015 05:06:51 +0000 (14:06 +0900)]
ecore_buffer: fix dereference null pointer

Change-Id: I7178a00526aba93042e9d31906933fb48de0ac05

8 years agoMerge "security: change to apply Tizen security policy." into tizen
Jaehwan Kim [Thu, 8 Oct 2015 07:47:41 +0000 (00:47 -0700)]
Merge "security: change to apply Tizen security policy." into tizen

8 years agoecore_wayland: Send 'get_supported_aux_hints' only when window calls 'elm_win_aux_hin... 32/49132/2 accepted/tizen/mobile/20151008.004311 accepted/tizen/tv/20151008.004323 accepted/tizen/wearable/20151008.004339 submit/tizen/20151007.074301
Duna Oh [Wed, 7 Oct 2015 05:30:21 +0000 (14:30 +0900)]
ecore_wayland: Send 'get_supported_aux_hints' only when window calls 'elm_win_aux_hint_add'

Change-Id: I926570d93078603d051b52182d6ff04076b267cc
Signed-off-by: Duna Oh <duna.oh@samsung.com>
8 years agosecurity: change to apply Tizen security policy. 87/48287/2
Jaehwan Kim [Thu, 17 Sep 2015 06:59:55 +0000 (15:59 +0900)]
security: change to apply Tizen security policy.

evas-cserve2 make the socket file in the /run/.efl
and ecore_evas_extn_buf make tmp file in that folder.
It has a authority of "User::App::Shared"

@tizen_feature

Conflicts:
packaging/efl.spec

Change-Id: Ie8baa503237204f7f484e8f2d305e1a3a9d05e96

8 years agoecore_wayland: resize the window when rotation geometry is different with allocated... 87/49087/1 accepted/tizen/mobile/20151006.225010 accepted/tizen/tv/20151006.225027 accepted/tizen/wearable/20151006.225041 submit/tizen/20151006.102239
Mun, Gwan-gyeong [Tue, 6 Oct 2015 08:30:42 +0000 (17:30 +0900)]
ecore_wayland: resize the window when rotation geometry is different with allocated window size.

Change-Id: Ibcc3909707a73daa008adea1f3a374129fc04333

8 years agofix build error in 64 bit. 14/49014/1 accepted/tizen/mobile/20151005.232501 accepted/tizen/tv/20151005.232523 accepted/tizen/wearable/20151005.232531 submit/tizen/20151005.070132
Jaehwan Kim [Mon, 5 Oct 2015 06:45:03 +0000 (15:45 +0900)]
fix build error in 64 bit.

Change-Id: I125415ce04a49ccf3cae284512ee927d70ae26b6

8 years agoecore_wayland: support aux_hint(auxiliary hint) for wayland surface 96/48496/7 submit/tizen/20151005.020432
Duna Oh [Tue, 22 Sep 2015 07:39:02 +0000 (16:39 +0900)]
ecore_wayland: support aux_hint(auxiliary hint) for wayland surface

Change-Id: I0dfa12272295d2990bd33aff18ac604f583c901e
Signed-off-by: Duna Oh <duna.oh@samsung.com>
8 years ago[efl] remove unused daemon in binary 63/48963/1
Jongmin Lee [Sun, 28 Jun 2015 06:46:39 +0000 (15:46 +0900)]
[efl] remove unused daemon in binary

Conflicts:
packaging/efl.manifest
packaging/efl.spec

Change-Id: I2aef23e5c806166ed405a12a917333ad66ebadbf

8 years agoecore_imf/wayland: support private command protocol 47/48747/2 accepted/tizen/mobile/20150929.014355 accepted/tizen/tv/20150929.014415 accepted/tizen/wearable/20150929.014427 submit/tizen/20150926.121837
Jihoon Kim [Sat, 26 Sep 2015 12:07:42 +0000 (21:07 +0900)]
ecore_imf/wayland: support private command protocol

Change-Id: I141384fa44c9e6e438a9eb365a8acec83aaafe60

8 years agogl_common: evgl_native_surface_direct_opts_get() does nothing if native_surface is... 92/48592/1 accepted/tizen/mobile/20150925.012310 accepted/tizen/tv/20150925.012318 accepted/tizen/wearable/20150925.012327 submit/tizen/20150924.044428 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620
Boram Park [Wed, 23 Sep 2015 09:34:36 +0000 (18:34 +0900)]
gl_common: evgl_native_surface_direct_opts_get() does nothing if native_surface is EVAS_NATIVE_SURFACE_WL type.

Change-Id: If0ec0d9ec2e8a1085c58bb6e71a35995b5d7ed3f

8 years agoevas/gl_drm: Change EGL_WAYLAND definitions to EVAS_GL_WAYLAND. 32/48532/2
Mun, Gwan-gyeong [Tue, 22 Sep 2015 11:53:43 +0000 (20:53 +0900)]
evas/gl_drm: Change EGL_WAYLAND definitions to EVAS_GL_WAYLAND.

Change-Id: Ib6407db9269b83334b6f84f8e99bcdeac6c8f7e7

8 years agoEvas GL: Add definitions for EGL_WL_bind_wayland_display 31/48531/2
Mun, Gwan-gyeong [Tue, 22 Sep 2015 11:44:13 +0000 (20:44 +0900)]
Evas GL: Add definitions for EGL_WL_bind_wayland_display

Change-Id: I592bc09f2ca74e755a5908e0dfa43ebf706dc471

8 years agoMerge "ecore_imf/wayland: support to set input panel data" into tizen accepted/tizen/mobile/20150923.052338 accepted/tizen/tv/20150923.052350 accepted/tizen/wearable/20150923.052403 submit/tizen/20150923.002249
Jihoon Kim [Tue, 22 Sep 2015 11:21:02 +0000 (04:21 -0700)]
Merge "ecore_imf/wayland: support to set input panel data" into tizen

8 years agoecore_imf/wayland: support to set input panel data 24/48524/1
Jihoon Kim [Tue, 22 Sep 2015 11:10:30 +0000 (20:10 +0900)]
ecore_imf/wayland: support to set input panel data

Change-Id: I03331c671957fa0339a534118d1517d54fa5ed37

8 years agoecore_wayland: remove communicating of rotation_geometry_hint with display server. 88/47888/2 accepted/tizen/mobile/20150922.232717 accepted/tizen/tv/20150922.232732 accepted/tizen/wearable/20150922.232743 submit/tizen/20150922.084350
Mun, Gwan-gyeong [Wed, 9 Sep 2015 07:23:34 +0000 (16:23 +0900)]
ecore_wayland: remove communicating of rotation_geometry_hint with display server.
               when window got rotate event from display server , resize window size by itself policy.

Change-Id: I3f9437583ef06814de368a95b700887ae7050068

8 years agoevas/gl_drm: fix yinvert query with eglQueryWaylandBufferWL() 06/48506/1
Mun, Gwan-gyeong [Tue, 22 Sep 2015 08:12:42 +0000 (17:12 +0900)]
evas/gl_drm: fix yinvert query with eglQueryWaylandBufferWL()

Change-Id: Ic5cf335af92bb11ee12364ce0ea84fbcac0bb56d

8 years agoecore_imf/wayland: support to set the selection region 34/48334/1 accepted/tizen/mobile/20150920.232417 accepted/tizen/tv/20150920.232434 accepted/tizen/wearable/20150920.232447 submit/tizen/20150918.065348
Jihoon Kim [Fri, 18 Sep 2015 06:40:02 +0000 (15:40 +0900)]
ecore_imf/wayland: support to set the selection region

Change-Id: I41ea27b864976e864dae0125543972f9a850d5de

8 years agoevas: Add scale feature for embedded bitmap fonts. 49/48249/5 accepted/tizen/mobile/20150918.024713 accepted/tizen/tv/20150918.024727 accepted/tizen/wearable/20150918.024738 submit/tizen/20150917.071344
Youngbok Shin [Mon, 22 Jun 2015 10:45:58 +0000 (19:45 +0900)]
evas: Add scale feature for embedded bitmap fonts.

Change-Id: If53dbe417dae3e84a23e4e6875df0668382b62f4
Origin: spin

8 years agoevas: Add safety check for NULL pointer of clipper. 48/48248/4
Youngbok Shin [Tue, 24 Mar 2015 03:53:34 +0000 (12:53 +0900)]
evas: Add safety check for NULL pointer of clipper.

Summary: It caused crash when clipper is NULL and it makes evas test-suite fail.

Test Plan: Run evas test-suite. (make check)

Reviewers: woohyun, tasn, herdsman, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2215

Change-Id: I6cff95ff7ba807441c96a24c838d5891ea980e0f
Origin: upstream

8 years agoevas - font - new color bitmap support - rename funcs to match file 47/48247/4
Carsten Haitzler (Rasterman) [Fri, 20 Mar 2015 01:49:49 +0000 (10:49 +0900)]
evas - font - new color bitmap support - rename funcs to match file

Change-Id: I32f0464588a133bd8b442622a23717a3e75374a6
Origin: upstream

8 years agoMerge "evas: Support bitmap embedded color font." into tizen
Jaeun Choi [Thu, 17 Sep 2015 05:23:28 +0000 (22:23 -0700)]
Merge "evas: Support bitmap embedded color font." into tizen

8 years agoevas: Support bitmap embedded color font. 46/48246/3
Youngbok Shin [Thu, 19 Mar 2015 10:02:02 +0000 (19:02 +0900)]
evas: Support bitmap embedded color font.

Summary:
Add the code for getting bitmap buffers from embedded color font,
And draw the bitmap buffers as images.
For drawing the bitmap buffers as images,
evas_common_draw_context_font_ext_set internal API is changed to
pass additional gl engine functions.
T2139
@feature

Test Plan:
1. Set a bitmap embedded color font to textblock.
2. Set a unicode emoticon text.
3. See the result.

Please check the sample unicode in the following link.
http://www.fileformat.info/info/unicode/char/1f3af/index.htm
http://www.fileformat.info/info/unicode/char/1f555/index.htm
http://www.fileformat.info/info/unicode/char/2600/index.htm
http://www.fileformat.info/info/unicode/char/263a/index.htm

Reviewers: tasn, woohyun, jpeg, raster

Reviewed By: raster

Subscribers: herdsman, cedric

Differential Revision: https://phab.enlightenment.org/D2084

Change-Id: Ib0a11092c83b9f212783fcbb8db3ae42e7fc2722
Origin: upstream

8 years agoMerge "EvasGL : implement missed functions in wayland engine" into tizen submit/tizen/20150917.063024
DaeKwang Ryu [Thu, 17 Sep 2015 04:41:56 +0000 (21:41 -0700)]
Merge "EvasGL : implement missed functions in wayland engine" into tizen

8 years agoMerge "Evas GL: Add indirect surface fallback and yinvert callback" into tizen
ryu [Thu, 17 Sep 2015 04:41:47 +0000 (21:41 -0700)]
Merge "Evas GL: Add indirect surface fallback and yinvert callback" into tizen

8 years agoMerge "Evas GL: destroy egl image when surface is destroyed" into tizen
ryu [Thu, 17 Sep 2015 04:41:19 +0000 (21:41 -0700)]
Merge "Evas GL: destroy egl image when surface is destroyed" into tizen

8 years agoMerge "Evas GL: Add missed GLES 3.0 functions." into tizen
ryu [Thu, 17 Sep 2015 04:41:09 +0000 (21:41 -0700)]
Merge "Evas GL: Add missed GLES 3.0 functions." into tizen

8 years agoMerge "fallback configuration when mismatch depth/stencil buffer" into tizen
ryu [Thu, 17 Sep 2015 04:41:00 +0000 (21:41 -0700)]
Merge "fallback configuration when mismatch depth/stencil buffer" into tizen

8 years agoMerge "Evas GL: Wrap glGetString() for gles1.x." into tizen
ryu [Thu, 17 Sep 2015 04:40:51 +0000 (21:40 -0700)]
Merge "Evas GL: Wrap glGetString() for gles1.x." into tizen

8 years agoMerge "Evas GL: Add support for Evas GL 3.0" into tizen
ryu [Thu, 17 Sep 2015 04:40:41 +0000 (21:40 -0700)]
Merge "Evas GL: Add support for Evas GL 3.0" into tizen

8 years agoMerge "Evas GL: Use EGL image to share between Evas GL and GL backend" into tizen
ryu [Thu, 17 Sep 2015 04:40:30 +0000 (21:40 -0700)]
Merge "Evas GL: Use EGL image to share between Evas GL and GL backend" into tizen

8 years agoMerge "Evas GL: Add pixmap surface fallback for gles 1.x indirect rendering" into...
ryu [Thu, 17 Sep 2015 04:40:21 +0000 (21:40 -0700)]
Merge "Evas GL: Add pixmap surface fallback for gles 1.x indirect rendering" into tizen

8 years agoMerge "evas: fix error checking of eglBindAPI." into tizen
ryu [Thu, 17 Sep 2015 04:40:05 +0000 (21:40 -0700)]
Merge "evas: fix error checking of eglBindAPI." into tizen

8 years agoMerge "evas_gl: Add feature to set depth/stencil/msaa bit to window surface." into...
ryu [Thu, 17 Sep 2015 04:39:55 +0000 (21:39 -0700)]
Merge "evas_gl: Add feature to set depth/stencil/msaa bit to window surface." into tizen

8 years agoMerge "Evas GL: Add internal function to create GLES1 specific context" into tizen
Daekwang Ryu [Thu, 17 Sep 2015 04:39:41 +0000 (21:39 -0700)]
Merge "Evas GL: Add internal function to create GLES1 specific context" into tizen

8 years agoMerge "Evas GL: Add hidden flags instead of env vars" into tizen
Daekwang Ryu [Thu, 17 Sep 2015 04:39:31 +0000 (21:39 -0700)]
Merge "Evas GL: Add hidden flags instead of env vars" into tizen

8 years agoMerge "Evas GL: Fix Direct Rendering without Client-side rotation" into tizen
Daekwang Ryu [Thu, 17 Sep 2015 04:39:20 +0000 (21:39 -0700)]
Merge "Evas GL: Fix Direct Rendering without Client-side rotation" into tizen

8 years agoMerge "Evas GL: Try to find the best matching config for GLES1" into tizen
Daekwang Ryu [Thu, 17 Sep 2015 04:39:07 +0000 (21:39 -0700)]
Merge "Evas GL: Try to find the best matching config for GLES1" into tizen

8 years agoMerge "Evas GL: Create XPixmap for GLES 1 indirect rendering" into tizen
Daekwang Ryu [Thu, 17 Sep 2015 04:38:55 +0000 (21:38 -0700)]
Merge "Evas GL: Create XPixmap for GLES 1 indirect rendering" into tizen

8 years agoMerge "1. Evas: Add Evas GL helper macros for GLESv1 and GLESv2 2. Evas GL: Add OpenG...
Daekwang Ryu [Thu, 17 Sep 2015 04:38:43 +0000 (21:38 -0700)]
Merge "1. Evas: Add Evas GL helper macros for GLESv1 and GLESv2 2. Evas GL: Add OpenGL ES 1 bit to all surfaces" into tizen

8 years agoEvasGL : implement missed functions in wayland engine 63/48163/3
DaeKwang Ryu [Tue, 15 Sep 2015 09:48:32 +0000 (18:48 +0900)]
EvasGL : implement missed functions in wayland engine

The functions is implemented in GL_X11 engine, not in wayland engine.
So added in wayland engine.

Change-Id: I1cc9263ba1739ee435bfddf0105b17ace9f54f10

8 years agoEvas GL: Add indirect surface fallback and yinvert callback 49/47449/4
Dongyeon Kim [Fri, 17 Apr 2015 06:56:14 +0000 (15:56 +0900)]
Evas GL: Add indirect surface fallback and yinvert callback

Summary:
When either FBO or EGL image from texture extension is not supported,
we can use pixmap surface as indirect surface fallback.
Since native pixmaps have (0,0) in the upper left while
FBOs have (0,0) in the lower left, we should invert the y coordinates
when native pixmaps are used as the render target.
To accomodate run-time y-invert check we add a new callback for
EVAS_NATIVE_SURFACE_EVASGL type.

Change-Id: I7d7dcb0b96589692f1171ad01b14de4804d28d83

8 years agoEvas GL: destroy egl image when surface is destroyed 48/47448/4
Dongyeon Kim [Thu, 16 Apr 2015 05:34:31 +0000 (14:34 +0900)]
Evas GL: destroy egl image when surface is destroyed

Summary:
We should destroy egl image when surface is destroyed
to avoid memory leak.
Fix direct_mem_opt and direct_override flag setting.

Change-Id: Icf82ae78d4de394542cd41f66c3becd6cb95f589

8 years agoEvas GL: Add missed GLES 3.0 functions. 47/47447/4
mythri.venugopal [Tue, 24 Mar 2015 17:11:53 +0000 (17:11 +0000)]
Evas GL: Add missed GLES 3.0 functions.

Change-Id: Ic4448f3537af94f142eee9a2a63b16f00916c773

8 years agofallback configuration when mismatch depth/stencil buffer 46/47446/4
Wonsik Jung [Wed, 18 Mar 2015 07:08:23 +0000 (16:08 +0900)]
fallback configuration when mismatch depth/stencil buffer

This patch is downstream and implemented by JP.

Change-Id: Ie22c587316df8fdefad340dbc8b625dd1d174bf5

8 years agoEvas GL: Wrap glGetString() for gles1.x. 45/47445/4
Minkyoung Kim [Wed, 18 Mar 2015 08:14:41 +0000 (17:14 +0900)]
Evas GL: Wrap glGetString() for gles1.x.

This is backport from upstream :

  commit 9a0f5913144da3def33e246e0438c8529f367298
  Author: Minkyoung Kim <mer.kim@samsung.com>
  Date:   Tue Feb 24 19:32:35 2015 +0900

      Evas GL: Wrap glGetString() for gles1.x.

      Summary:
      - Implement glGetString() wrapper func in the same way as gles2.x.
      - Small bug fix glGetString() for gles2.x.

Change-Id: I54569c5d239fde17b17d7cc8334bca1fc67edc0e

8 years agoEvas GL: Add support for Evas GL 3.0 44/47444/4
mythri.venugopal [Fri, 13 Mar 2015 19:19:44 +0000 (19:19 +0000)]
Evas GL: Add support for Evas GL 3.0

This is a unified backport from upstream efl containing:

commit 56c9919d0080df6fb7630068229c992443728078
Author: Dongyeon Kim <dy5.kim@samsung.com>
Date:   Mon Mar 9 17:17:19 2015 +0900
    Evas GL: change function naming and small bug fixes
    Summary:
    Remove gles1 prefixes for functions that are also used by gles3.
    Refactor evgl_make_current a little bit.
    Destroy indirect context properly.
    Some log message changes and typo fixes.
    Test Plan: Local tests on desktop PC
    Reviewers: jpeg
    Subscribers: mythri, mer.kim, wonsik, cedric
    Differential Revision: https://phab.enlightenment.org/D2104

commit f3bbc602ac30a66dac50a1e8eddaf2ac3710cdc0
Author: Jean-Philippe Andre <jp.andre@samsung.com>
Date:   Thu Mar 5 18:16:05 2015 +0900
    Evas GL: Fix list of extensions with GLESv1
    EGL/EvasGL extensions are also valid with GLESv1.
    This means evasglCreateImage could be used.

commit 8f465c0b104df73affc12e42e67cd25e6cc5d1d0
Author: Jean-Philippe Andre <jp.andre@samsung.com>
Date:   Thu Mar 5 17:20:57 2015 +0900
    Evas GL: Fix logic in debug check

commit 4817103b8c5217179055a130e20452b7e85b14e8
Author: Jean-Philippe Andre <jp.andre@samsung.com>
Date:   Thu Mar 5 15:57:14 2015 +0900
    Evas GL: Fix build errors and warnings from previous commit

commit 2245cc12a47da9fe826f29a19ddb1874e18f7eb4
Author: mythri.venugopal <mythri.venugopal@samsung.com>
Date:   Thu Mar 5 15:36:35 2015 +0900
    Evas GL: Add support for Evas GL 3.0
    Summary:
    This should enable applications to use GLES 3.0 through evas gl.

Change-Id: Ia73473a9d705d970b0f7ddbc55f510f3c112bb81

8 years agoEvas GL: Use EGL image to share between Evas GL and GL backend 43/47443/4
mythri.venugopal [Fri, 13 Mar 2015 17:50:20 +0000 (17:50 +0000)]
Evas GL: Use EGL image to share between Evas GL and GL backend

Summary:When the context version between Evas GL and GL backend differs,
        we cannot share texture between them. So, when the driver
        has support for KHR_gl_texture_2D_image extension,
        use EGL image to share between Evas GL and GL backend

Change-Id: Ifffadb8f13e71b1f3889508ea21b83a25f85e2f3

8 years agoEvas GL: Add pixmap surface fallback for gles 1.x indirect rendering 42/47442/4
mythri.venugopal [Wed, 11 Mar 2015 15:56:12 +0000 (15:56 +0000)]
Evas GL: Add pixmap surface fallback for gles 1.x indirect rendering

Merge from upstream patch
https://phab.enlightenment.org/rEFLa14492ef73c9267042c5bf505080d0e90af394de

Automatically fallback to indirect rendering on FBO or X11 Pixmap
if the Evas Object Image is not marked as dirty. This should
improve the performance and/or power consumption in those
rare cases where this area of the canvas needs to be redrawn
but the GL content has not changed.

and

- when dirty set is not called but has direct rendering,
   evas gl should render to a fallback surface and use that as texture
 - for gles 1.x, this fallback surface should be a pixmap surface,
   so it uses EVAS_NATIVE_SURFACE_X11 type
 - from now, both EVAS_NATIVE_SURFACE_OPENGL and EVAS_NATIVE_SURFACE_X11
   can be passed for direct rendering

Change-Id: I8aefb55c2b42dc90d4440bfaaa59f3824828b1cd

8 years agoevas: fix error checking of eglBindAPI. 41/47441/4
Minkyoung Kim [Mon, 16 Mar 2015 01:58:04 +0000 (10:58 +0900)]
evas: fix error checking of eglBindAPI.

If eglGetError sequencially called, second eglGetError() doesn't give the information of real Error.

Change-Id: Ifcb677e0675768b1b1c79e5e1000bbd2ffc39eec

8 years agoevas_gl: Add feature to set depth/stencil/msaa bit to window surface. 40/47440/4
Joogab Yun [Wed, 17 Jun 2015 05:34:30 +0000 (14:34 +0900)]
evas_gl: Add feature to set depth/stencil/msaa bit to window surface.

    Summary:
    When Evas GL runs with direct rendering, it can not set depth, stencil and msaa to Window surface.
    This patch is possible to use "option" input paramater of ecore_evas_gl_x11_options_new.
    So, new API is not needed.

    The other patch is in elementary. The elementary patch will be used this patch.

    Test Plan: Test elm gl veiw in elementary_test and JP's test app.

    Differential Revision: https://phab.enlightenment.org/D2144

Change-Id: If854ffae327fdd81e52fde44c79aea2e7c98b39e

8 years agoEvas GL: Add internal function to create GLES1 specific context 39/47439/4
Daekwang Ryu [Wed, 11 Mar 2015 07:30:55 +0000 (16:30 +0900)]
Evas GL: Add internal function to create GLES1 specific context

This context will be used for GLES 1 indirect rendering.
The problem is the following:
eglMakeCurrent( fails with EGL_BAD_MATCH when switching to an
X Pixmap surface for GLES1 indirect rendering because
the EGL configuration for the surface and the context don't match.
The EGLConfig for the context is the sam as that of the window,
while the surface requires the EGL_PIXMAP_BIT flag, as well as other depth,
stencil & msaa flags. (on most drivers, the pixmap bit is not a big deal,
but depth, stencil and msaa are very important).
Thus, the EGLConfig for the surface does't match.
In order to make them match, we need to create another context
to use for GLES1 indirect rendering, that will have the same configuration
as the surface.
In the case of GLES2 we con't have this problem because  GLES2 surfaces
created by Evas GL are not actual EGL surfaces, but simply FBOs and
eglMakeCurrent( is called using the canvas window surface.))

Change-Id: I939d58f5c576781a9972b23067f0e954ddea88a7

8 years agoEvas GL: Add hidden flags instead of env vars 38/47438/4
Daekwang Ryu [Tue, 3 Mar 2015 12:09:25 +0000 (21:09 +0900)]
Evas GL: Add hidden flags instead of env vars

For Direct Override and Memory Optimization.
This commit includes a lot of changes, but most of them
are directly related to moving the global var into the surface.
In particular, we must keep track of the DR surfaces, so we
add them to a hash indexed by texture id.

Change-Id: Iea696e279eac7e4ab4d130adb748936f2d97488c

8 years agoEvas GL: Fix Direct Rendering without Client-side rotation 37/47437/4
Daekwang Ryu [Tue, 3 Mar 2015 10:55:00 +0000 (19:55 +0900)]
Evas GL: Fix Direct Rendering without Client-side rotation

Introduce Evas function gl_surface_direct_renderable_get(
This lets the image object know if the underlying surface is
directly renderable, based on rotation, client-side rotation and
direct rendering flags.
I've introduced this because the image object only knows this
surface is a candidate for direct rendering, but can't decide
whether rotation is allowed or not (it doesn't have access to
the client_side_rotation flag).
List traversal is not optimal but considering real-life use cases
(ie. only one big GLView), it should be good enough.
This should finally fix the problems with direct rendering
and pre-rotation VS. client_side_rotation.)

Change-Id: I477dc6092328f3e5cea5ab60df1928c373ff92cc

8 years agoEvas GL: Try to find the best matching config for GLES1 36/47436/4
Daekwang Ryu [Tue, 3 Mar 2015 08:16:06 +0000 (17:16 +0900)]
Evas GL: Try to find the best matching config for GLES1

When configuring an EGL surface, it is important to match
EGL and X Visual infos. In this commit, we list all
compatible EGL modes (wrt. color, depth, stencil & msaa),
and then find the matching visuals in X land.

Change-Id: I0c4fb527b17bafbc9adb104d89eee9d9deff82d7

8 years agoEvas GL: Create XPixmap for GLES 1 indirect rendering 35/47435/4
Daekwang Ryu [Tue, 3 Mar 2015 06:44:28 +0000 (15:44 +0900)]
Evas GL: Create XPixmap for GLES 1 indirect rendering

Change-Id: I130cb12104ca3716243ca926372af4b67ee04d1c

8 years ago1. Evas: Add Evas GL helper macros for GLESv1 and GLESv2 34/47434/4
Daekwang Ryu [Wed, 4 Mar 2015 07:12:56 +0000 (16:12 +0900)]
1. Evas: Add Evas GL helper macros for GLESv1 and GLESv2
2. Evas GL: Add OpenGL ES 1 bit to all surfaces

Change-Id: I6697acad8a63fc67dc7e4e0e033f4c32707593cb

8 years agoecore_wayland: add code to deal with keyboard map event for keygrab 61/48161/1 accepted/tizen/mobile/20150917.040722 accepted/tizen/tv/20150917.040728 accepted/tizen/wearable/20150917.040742 submit/tizen/20150915.095532
Ji-Youn Park [Tue, 15 Sep 2015 09:10:17 +0000 (17:40 +0830)]
ecore_wayland: add code to deal with keyboard map event for keygrab

keygrab api only available after keyboard map event.
keygrab wait until wayland disply dequeues the job of default queue

Change-Id: I69fe4f86673a0d7876a9bde56b72102065e24a9b

8 years agoecore_wayland: Change keyevent handler to pass event even though window is not exist 02/48002/2 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150911.145209 accepted/tizen/tv/20150911.145222 accepted/tizen/wearable/20150911.145231 submit/accepted/tizen_mobile/20150911.023538 submit/tizen/20150911.051348 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Ji-Youn Park [Fri, 11 Sep 2015 01:37:19 +0000 (10:07 +0830)]
ecore_wayland: Change keyevent handler to pass event even though window is not exist

@tizen_feature

Change-Id: I87bb2ca85b9e743a3cf976c597f15819f07f5bd4

8 years agofixed lots of warnings 08/47808/2 accepted/tizen/mobile/20150909.140524 accepted/tizen/tv/20150909.140354 accepted/tizen/wearable/20150909.134930 submit/tizen/20150909.054258
Gwanglim Lee [Wed, 9 Sep 2015 05:02:52 +0000 (14:02 +0900)]
fixed lots of warnings

Change-Id: I02ac5247744022feb23e4257978314fa3d3ca21f

8 years agoevas: fix build failure with old version freetype. 55/47755/3
Youngbok Shin [Fri, 20 Mar 2015 04:24:31 +0000 (13:24 +0900)]
evas: fix build failure with old version freetype.

Summary:
Fix build failure with old version freetype.
It is caused for supporting colored font.

Reviewers: raster, jpeg, woohyun, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2200

Change-Id: Id127d393567186b855a99910ff104769f39be4e7
Origin: upstream

8 years agoecore_wayland: Add rotation geometry hint 19/45219/5
Mun, Gwan-gyeong [Fri, 24 Jul 2015 05:26:04 +0000 (14:26 +0900)]
ecore_wayland: Add rotation geometry hint
               implement manual_rotation_done

Change-Id: I3db849f8601e77727d3fa96d50de131ae0a7baf8

8 years agoecore_evas_extn: change the lock file path. 17/47717/1 accepted/tizen/mobile/20150908.231451 accepted/tizen/tv/20150908.231518 accepted/tizen/wearable/20150908.231504 submit/tizen/20150908.071056
Jaehwan Kim [Tue, 8 Sep 2015 06:55:23 +0000 (15:55 +0900)]
ecore_evas_extn: change the lock file path.

The lock file can be accecced by any application.
But in Tizen, it needs SMACK rule.

@tizen_feature

Change-Id: I6daf97702e736e34ec0fc2b80ec247ca39e91239

8 years agoMerge "EvasGL: [bugfix] It creates a directory in root." into tizen accepted/tizen/mobile/20150908.073540 accepted/tizen/tv/20150908.073621 accepted/tizen/wearable/20150908.073601 submit/tizen/20150908.011933
DaeKwang Ryu [Tue, 8 Sep 2015 01:15:20 +0000 (18:15 -0700)]
Merge "EvasGL: [bugfix] It creates a directory in root." into tizen

8 years agoecore_wayland: added Ecore_Wl_Event_Window_Lower event to notify that window lower... 57/47657/1
Gwanglim Lee [Mon, 7 Sep 2015 13:20:18 +0000 (22:20 +0900)]
ecore_wayland: added Ecore_Wl_Event_Window_Lower event to notify that window lower request is occurred.

Change-Id: I2065dc4741f116cd158086055101983670948491

8 years agoEvasGL: [bugfix] It creates a directory in root. 59/47659/1
DaeKwang Ryu [Mon, 7 Sep 2015 13:19:27 +0000 (22:19 +0900)]
EvasGL: [bugfix] It creates a directory in root.

It creates a directory with a weird name in the root path.
Because There are uninitialized string variables.

Change-Id: I7cd9201c60cf6aece1e72033d38fa8053370d399

8 years agoevas: add image orient set/get API in software backend for now. 18/47618/1
kabeer khan [Wed, 11 Feb 2015 16:30:49 +0000 (17:30 +0100)]
evas: add image orient set/get API in software backend for now.

Summary:
Added API's to rotate(0, 90, 180, 270), flip(horizontal, vertical, transpose, transverse)
evas image object. Also added example to demonstrate this.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: raster, stephenmhouston, cedric

Subscribers: stephenmhouston, cedric

Differential Revision: https://phab.enlightenment.org/D1950

Change-Id: If7ca7376d9123b992097d0f91b1196423239b10f
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Origin: upstream