platform/upstream/enlightenment.git
9 years agoe-pixmap/e-comp-wl: fixed the problem for multiple callbacks 39/51739/4
MinJeong Kim [Fri, 13 Nov 2015 09:43:49 +0000 (18:43 +0900)]
e-pixmap/e-comp-wl: fixed the problem for multiple callbacks

 The wayland client requests destroy of callback after recieved a callback
done event from enlightenment, and enlightenment removes the callback
resource from its managed list as response of the destroy request.

 So if there are multiple frame callbacks, the loop for sending frame done
event of those multiple frame callbacks is stopped by removal of target
node(target callback resource) by the destroy request of first callback
resource.

For resolve these problem, we have to use EINA_LIST_FOREACH_SAFE instead of
EINA_LIST_FREE to keep up works with the callback list.

@fix
Change-Id: I2722ecb80855eea680f2abb80aed3d64413a0a69

9 years agowl_drm: feed mouse-in event to drm canvas on init
Gwanglim Lee [Thu, 12 Nov 2015 02:27:51 +0000 (11:27 +0900)]
wl_drm: feed mouse-in event to drm canvas on init

Change-Id: Ic322f16fdbeeb13294b5d780d3cb8abc6e50ba30

9 years agowl_desktop_shell: fix implementation function's parameter for xdg_shell_get_xdg_popup
Gwanglim Lee [Wed, 11 Nov 2015 05:26:39 +0000 (14:26 +0900)]
wl_desktop_shell: fix implementation function's parameter for xdg_shell_get_xdg_popup

Change-Id: I7f82e7a13e42d85bc71bf1971efae76a79195cdd

9 years agoe_startup: notify efreet error using log domain instead of dialog
MinJeong Kim [Tue, 10 Nov 2015 03:48:33 +0000 (12:48 +0900)]
e_startup: notify efreet error using log domain instead of dialog

Change-Id: I9332ff8fb5d44967270ed56cb25f3499e1c47407

9 years agowl_desktop_shell: apply xdg_shell version 5
MinJeong Kim [Fri, 6 Nov 2015 13:36:12 +0000 (22:36 +0900)]
wl_desktop_shell: apply xdg_shell version 5

Change-Id: Iecd9dad8caa578b89bb6bb849e10bab5006f1aac

9 years agoe_comp_wl: trivial cosmetic change sandbox/tolszaksamsung/tizen accepted/tizen/mobile/20151111.232150 accepted/tizen/tv/20151111.232204 accepted/tizen/wearable/20151111.232220 submit/tizen/20151111.041156 submit/tizen/20151111.100518
Gwanglim Lee [Tue, 10 Nov 2015 12:26:04 +0000 (21:26 +0900)]
e_comp_wl: trivial cosmetic change

Change-Id: I3e2387738760b37a80d3c2a76e45fd6bf33354e6

9 years agoe_zone: added display state feature 08/51208/4 submit/tizen/20151109.131539 submit/tizen/20151110.023742 submit/tizen/20151110.050525 submit/tizen/20151110.074552
Doyoun Kang [Thu, 5 Nov 2015 08:27:25 +0000 (17:27 +0900)]
e_zone: added display state feature
- event type: E_EVENT_ZONE_DISPLAY_STATE_CHANGE
- APIs: e_zone_display_state_set/get
- added a value(display_state) in the E_Zone structure

Change-Id: I8a6ed17f0a4e623a1a1fdffa6ee598275c0bce23

9 years agoe_comp_wl: add win_type to E_Comp_Wl_Client_Data 59/49759/5 accepted/tizen/mobile/20151108.231207 accepted/tizen/tv/20151108.231226 accepted/tizen/wearable/20151108.231239 submit/tizen/20151108.083635
Duna Oh [Tue, 20 Oct 2015 05:29:15 +0000 (14:29 +0900)]
e_comp_wl: add win_type to E_Comp_Wl_Client_Data

Change-Id: I83dd733946982963c9773205968b3b46f3111594
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoFix to guarantee for E19 wayland compositor to send key press/release pair exactly... 18/50818/4 accepted/tizen/mobile/20151103.105647 accepted/tizen/tv/20151103.105656 accepted/tizen/wearable/20151103.105712 submit/tizen/20151103.080635
JengHyun Kang [Mon, 2 Nov 2015 11:57:40 +0000 (20:57 +0900)]
Fix to guarantee for E19 wayland compositor to send key press/release pair exactly to each wayland client

Change-Id: I65d18623394296cdba95bf6fa35e0d1622bfeb8a

9 years agoe_comp_wl: enable drag and drop 93/50293/1 accepted/tizen/mobile/20151029.085727 accepted/tizen/tv/20151029.085737 accepted/tizen/wearable/20151029.085756 submit/tizen/20151029.012747 submit/tizen/20151029.052907
MinJeong Kim [Tue, 27 Oct 2015 12:19:31 +0000 (21:19 +0900)]
e_comp_wl: enable drag and drop

Change-Id: I5cc1cb159c54375fee8dd011cc2d0f25445bdd53

9 years agoe_comp_wl: fix unit of wl_output's refresh value to be mHz 29/49629/1 accepted/tizen/mobile/20151017.101124 accepted/tizen/tv/20151017.101353 accepted/tizen/wearable/20151017.101801 submit/tizen/20151016.044438 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Gwanglim Lee [Fri, 16 Oct 2015 04:28:53 +0000 (13:28 +0900)]
e_comp_wl: fix unit of wl_output's refresh value to be mHz

Change-Id: I3a592f1c079b56341a8072bacd97ecabb351f20a

9 years agoremove executable permission bit of source files 16/49516/1
Gwanglim Lee [Wed, 14 Oct 2015 07:31:44 +0000 (16:31 +0900)]
remove executable permission bit of source files

Change-Id: Ib8e43ee3e32f0d389567f3b02547245ba9fe6f41

9 years agoe_module: check null accepted/tizen/mobile/20151014.043159 accepted/tizen/tv/20151014.043209 accepted/tizen/wearable/20151014.043226 submit/tizen/20151014.005721
Boram Park [Tue, 13 Oct 2015 13:12:52 +0000 (22:12 +0900)]
e_module: check null

Change-Id: I892ae022d42b73931a76f54504fd449e43aad6ef

9 years agoe_comp_wl_data: fix null pointer dereference 58/49358/1
Mun, Gwan-gyeong [Tue, 13 Oct 2015 02:42:22 +0000 (11:42 +0900)]
e_comp_wl_data: fix null pointer dereference

Change-Id: Idcf7366155973730236d313ac08d68e7cfe70f70

9 years agoe_comp_wl_data: fix resource leaks 57/49357/1
Mun, Gwan-gyeong [Tue, 13 Oct 2015 02:27:21 +0000 (11:27 +0900)]
e_comp_wl_data: fix resource leaks

Change-Id: Ib2d05461fe012b7ba8c685ed766835d47e57226c

9 years agoe_comp_object: fix null pointer dereference 47/49347/1
Boram Park [Tue, 13 Oct 2015 01:05:29 +0000 (10:05 +0900)]
e_comp_object: fix null pointer dereference

Change-Id: I7d53e30e8d4dc6b4484afca73173845d6b9697ff

9 years agoe_module: fix memory leak 46/49346/1
Boram Park [Tue, 13 Oct 2015 00:55:02 +0000 (09:55 +0900)]
e_module: fix memory leak

Change-Id: I66f6d6ca14d38a4c293885927391bb2742d91347

9 years agoe_module: fix null pointer dereference 45/49345/1
Boram Park [Tue, 13 Oct 2015 00:54:50 +0000 (09:54 +0900)]
e_module: fix null pointer dereference

Change-Id: Ibcf3b5b998a3a27713de25626a4c62493a174fb9

9 years agoe_module: fix secure coding getenv 44/49344/1
Boram Park [Tue, 13 Oct 2015 00:53:03 +0000 (09:53 +0900)]
e_module: fix secure coding getenv

Change-Id: Icbe0902d82c4243399da6438b3c8ac293d564b28

9 years agoe_menu: fix null pointer dereference 43/49343/1
Boram Park [Tue, 13 Oct 2015 00:52:22 +0000 (09:52 +0900)]
e_menu: fix null pointer dereference

Change-Id: I54935379af4eff54d80af3fcd6d0b39464264624

9 years agoe_main: fix secure coding getenv 42/49342/1
Boram Park [Tue, 13 Oct 2015 00:51:49 +0000 (09:51 +0900)]
e_main: fix secure coding getenv

Change-Id: I5cd9730430be577c277d6be87341ddacd745d6b2

9 years agobufferqueue: fix null pointer dereference 41/49341/1
Boram Park [Tue, 13 Oct 2015 00:16:53 +0000 (09:16 +0900)]
bufferqueue: fix null pointer dereference

Change-Id: Ibb01c1bddcd7225593b8916ed0db2f69e91c37a3

9 years agobufferqueue: fix memory leak 40/49340/1
Boram Park [Tue, 13 Oct 2015 00:16:17 +0000 (09:16 +0900)]
bufferqueue: fix memory leak

Change-Id: I4bfcc20b9dd4ef6f2e5fc5e314287d4fcc8a99f4

9 years agoe_comp: fix null pointer dereference 19/49319/2
Gwanglim Lee [Mon, 12 Oct 2015 12:48:10 +0000 (21:48 +0900)]
e_comp: fix null pointer dereference

Change-Id: I86787ac810e73132a701bad217aa405b4e08fb0b

9 years agoe_comp_wl: fixed null pointer dereference 24/49324/3
Mun, Gwan-gyeong [Mon, 12 Oct 2015 13:20:25 +0000 (22:20 +0900)]
e_comp_wl: fixed null pointer dereference

Change-Id: I57d71f0b21349b56630b4544c766461f0416b3cf

9 years agoe_info_client/server: fixed null dereference, using uninitialized value, resource... 21/49321/2
MinJeong Kim [Mon, 12 Oct 2015 13:08:33 +0000 (22:08 +0900)]
e_info_client/server: fixed null dereference, using uninitialized value, resource leak

Change-Id: I06c22ea8b3e5f5c89df84618deae448a5852c5c0

9 years agoe_config: fixed resource leak and out-of-bounds read 20/49320/2
MinJeong Kim [Mon, 12 Oct 2015 12:51:34 +0000 (21:51 +0900)]
e_config: fixed resource leak and out-of-bounds read

Change-Id: Ia91b78110896b4c6b730fca81c8df7dfccacf9e3

9 years agoe_comp_canvas: fixed null pointer dereference 11/49311/2
MinJeong Kim [Mon, 12 Oct 2015 12:05:33 +0000 (21:05 +0900)]
e_comp_canvas: fixed null pointer dereference

Change-Id: Ifdb4a1dbeafa3ad5e84a660953615350fd30a0c9

9 years agoe_comp: fixed null dereferences 10/49310/3
MinJeong Kim [Mon, 12 Oct 2015 11:59:13 +0000 (20:59 +0900)]
e_comp: fixed null dereferences

Change-Id: I6da981107a3681ccc19a6bd92aabbd498f30eabb

9 years agoe_client: fix memory illegal access 17/49317/2
Mun, Gwan-gyeong [Mon, 12 Oct 2015 12:19:59 +0000 (21:19 +0900)]
e_client: fix memory illegal access

Change-Id: I07dbf5b72d09e07aeb764c1fe6cc66da691f0679

9 years agoe_client: fix null pointer dereference 16/49316/2
Mun, Gwan-gyeong [Mon, 12 Oct 2015 11:57:30 +0000 (20:57 +0900)]
e_client: fix null pointer dereference

Change-Id: I6527c9f67407f793d4a7149acef925b01fc2faef

9 years agowl_screenshot: fix null pointer dereference 99/49299/2
Boram Park [Mon, 12 Oct 2015 10:57:51 +0000 (19:57 +0900)]
wl_screenshot: fix null pointer dereference

Change-Id: I1d35c115e0f207755f879f2454ee6cbe15fb38a3

9 years agowl_drm: fix secure coding getenv 98/49298/2
Boram Park [Mon, 12 Oct 2015 10:57:29 +0000 (19:57 +0900)]
wl_drm: fix secure coding getenv

Change-Id: If1e3fb317d1c13ef454fc31c757ab12393e4d0b9

9 years agowl_drm: fix null pointer dereference 97/49297/2
Boram Park [Mon, 12 Oct 2015 10:56:46 +0000 (19:56 +0900)]
wl_drm: fix null pointer dereference

Change-Id: I5fc150a379515062d8a358a6ad2671ef8cde738f

9 years agowl_desktop_shell: fix null pointer dereference 96/49296/2
Boram Park [Mon, 12 Oct 2015 10:56:34 +0000 (19:56 +0900)]
wl_desktop_shell: fix null pointer dereference

Change-Id: I5c643f4a7ced843eec3b0b705ec3922f0edb8210

9 years agoe_comp_wl: not sending keyevents if vkbd grabs key inputs 49/49049/3
Boram Park [Tue, 6 Oct 2015 00:52:24 +0000 (09:52 +0900)]
e_comp_wl: not sending keyevents if vkbd grabs key inputs

Change-Id: I7ff829cbeb4af1e73f88e74e8d9cbeb0ffdc39e2

9 years agoe_comp: fix null pointer dereference 88/49288/1
Gwanglim Lee [Mon, 12 Oct 2015 10:15:44 +0000 (19:15 +0900)]
e_comp: fix null pointer dereference

Change-Id: I695aae4862a99533dbebb7668cec0d9f2c2dab2f

9 years agoe_comp_wl: add aux_hint to E_Comp_Wl_Client_Data 98/48498/4 accepted/tizen/mobile/20151006.224756 accepted/tizen/tv/20151006.224810 accepted/tizen/wearable/20151006.224829 submit/tizen/20151006.071535
Duna Oh [Tue, 22 Sep 2015 07:43:56 +0000 (16:43 +0900)]
e_comp_wl: add aux_hint to E_Comp_Wl_Client_Data

Change-Id: Ib4f3aca1d4df081877bd20161415c5f84acc2aa3
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoreplace 'tizen_buffer_pool' interface with 'wayland-tbm' library 11/48311/1 accepted/tizen/mobile/20150921.090204 accepted/tizen/tv/20150921.090217 accepted/tizen/wearable/20150921.090255 submit/tizen/20150921.055555
Boram Park [Mon, 14 Sep 2015 00:43:03 +0000 (09:43 +0900)]
replace 'tizen_buffer_pool' interface with 'wayland-tbm' library

Change-Id: I7228283397aac9a546a536137f33c602cb756a19

9 years agowl_shell: set accepts_focus value to 1 when get a toplevel_set 42/48142/1 accepted/tizen/mobile/20150917.040843 accepted/tizen/tv/20150917.040855 accepted/tizen/wearable/20150917.040904 submit/tizen/20150916.011705
Duna Oh [Tue, 15 Sep 2015 02:44:31 +0000 (11:44 +0900)]
wl_shell: set accepts_focus value to 1 when get a toplevel_set

Toplevel windows should accept focus. Only then it can get keyboard events

Change-Id: Id9f9f8e2e137dd6f29888feeb881a603f43d5149
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoremoving ec from post_updates list when deleted. 65/48065/3 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150914.043103 accepted/tizen/mobile/20150914.123255 accepted/tizen/tv/20150914.043108 accepted/tizen/tv/20150914.123318 accepted/tizen/wearable/20150914.043119 accepted/tizen/wearable/20150914.123341 submit/tizen/20150914.005307 submit/tizen/20150914.121932 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Boram Park [Sat, 12 Sep 2015 09:43:30 +0000 (18:43 +0900)]
removing ec from post_updates list when deleted.

    When ec's ref_count is 0, _e_client_free() is called. However,
    e_comp->post_updates has the reference of ec. So it doens't make
    sense that _e_client_free calls e_comp_post_update_purge. To make
    ec's ref_count 0, we should call e_comp_post_update_purge first.
    Furthermore, we call e_comp_object_render_update_del(ec->frame)
    in _e_client_del. So _e_client_del seems the proper position to
    call e_comp_post_update_purge

Change-Id: I906101300dec08f7bf18f18428443efa47f7afec

9 years agoshould decrease ec's ref_count when removing ec from post_updates 64/48064/2
Boram Park [Sat, 12 Sep 2015 09:36:27 +0000 (18:36 +0900)]
should decrease ec's ref_count when removing ec from post_updates

  because we increase ec's ref_count when adding ec to post_updates.

Change-Id: I44e47edfc031ba93ce0b67be9e5ad689db5fc97b

9 years agoDecrease ec's ref_count also before decreasing cw->animating. 63/48063/2
Boram Park [Sat, 12 Sep 2015 09:30:37 +0000 (18:30 +0900)]
Decrease ec's ref_count also before decreasing cw->animating.

   When we increase cw->animating, we always increase the ec's
   ref_count. So we need to decrease ec's ref_count wherever
   decreasing cw->animating.

Change-Id: Id43e5ccee6d04ee0e7df854a807b10a5459f2a41

9 years agoe_comp_wl_tbm : do not build when the configuration is x11 08/48008/1 accepted/tizen/mobile/20150911.145329 accepted/tizen/mobile/20150914.120430 accepted/tizen/tv/20150911.145339 accepted/tizen/tv/20150914.120450 accepted/tizen/wearable/20150911.145350 accepted/tizen/wearable/20150914.120457 submit/tizen/20150911.055114 submit/tizen/20150914.114849
SooChan Lim [Fri, 11 Sep 2015 02:11:12 +0000 (11:11 +0900)]
e_comp_wl_tbm : do not build when the configuration is x11

Change-Id: Ie1e5289754883fbb180678e3f673ea0948b59d27

9 years agoe_comp_wl: lining up columns of codes 40/47540/3 submit/tizen/20150909.054149
Gwanglim Lee [Fri, 4 Sep 2015 10:12:05 +0000 (19:12 +0900)]
e_comp_wl: lining up columns of codes

Change-Id: Ia22e378575521c3df34549a0a8c4ac396ba3813e

9 years agoe_comp_wl_tbm: add e_comp_wl_tbm 49/47349/14
SooChan Lim [Tue, 25 Aug 2015 14:35:47 +0000 (23:35 +0900)]
e_comp_wl_tbm: add e_comp_wl_tbm

first implementation for wayland-tbm server

Change-Id: I06c44fb9211efaba208a1537af3c17360f7797fd

9 years agonot creating damage for ec that shows a underlay video accepted/tizen/mobile/20150908.004204 accepted/tizen/tv/20150908.004222 accepted/tizen/wearable/20150908.004213 submit/tizen/20150907.103405
Boram Park [Mon, 7 Sep 2015 01:50:10 +0000 (10:50 +0900)]
not creating damage for ec that shows a underlay video

Change-Id: I0a1aa92987088814319449a564137a753b540ad6

9 years agoshould remove a frame resource from pending.frames list 28/47428/1 accepted/tizen/mobile/20150903.233201 accepted/tizen/tv/20150903.233208 accepted/tizen/wearable/20150903.233217 submit/tizen/20150903.092011
Boram Park [Thu, 3 Sep 2015 09:00:28 +0000 (18:00 +0900)]
should remove a frame resource from pending.frames list

Change-Id: If7287b232f48d66684d21f266f27f56407539a1a

9 years agofixes sticky cursors 85/47185/2 accepted/tizen/mobile/20150903.000046 accepted/tizen/tv/20150903.000241 accepted/tizen/wearable/20150903.000518 submit/tizen/20150902.122230
Duna Oh [Tue, 1 Sep 2015 01:44:04 +0000 (10:44 +0900)]
fixes sticky cursors

- Add inside_check condition when gets MOUSE_OUT event
Even though ec->cur_mouse_action is not NULL, check if mouse is out of client and reset the cursor.
- Remove check for ec->mouse.in when get cursor_set.
ec->mouse.in could be FALSE when comp_grabbed is TRUE, then failed to set the client's cursor.
- Show canvas cursor when reset the cursor

Change-Id: I59430fd8c4d1b9fcd19dc6f92f00abb1156697b3
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoe_comp_wl: pull transformable window inside of canvas 24/47224/2
MinJeong Kim [Tue, 1 Sep 2015 06:27:13 +0000 (15:27 +0900)]
e_comp_wl: pull transformable window inside of canvas

pull transformable window inside of canvas when user tried to locate window
ouside of screen.

Change-Id: I7b4f1409d5539a8b4636bb4f7fae7dc5a0a4f88b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_comp_object: use correct macro 39/47039/1 accepted/tizen/mobile/20150901.001758 accepted/tizen/tv/20150901.001813 accepted/tizen/wearable/20150901.001826 submit/tizen/20150831.052721
MinJeong Kim [Fri, 28 Aug 2015 09:59:56 +0000 (18:59 +0900)]
e_comp_object: use correct macro

Change-Id: I7e9aebf323ab1eb91dba2392747dc0bc5889ed48
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_client: unset transform if it has original factors 38/47038/1
MinJeong Kim [Fri, 28 Aug 2015 09:58:30 +0000 (18:58 +0900)]
e_client: unset transform if it has original factors

Change-Id: Ieba27d12a9a25161949ff6bd579c1890d5de030e

9 years agoe_comp_wl: transform client object using mouse wheel 37/47037/1
MinJeong Kim [Fri, 28 Aug 2015 09:33:04 +0000 (18:33 +0900)]
e_comp_wl: transform client object using mouse wheel

Change-Id: I085215501dafc5ec2df0341c48bb01ab73fb641d
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_comp_wl_input: Do not move the pointer when get a configure 78/46778/1 accepted/tizen/mobile/20150829.025910 accepted/tizen/tv/20150829.030450 accepted/tizen/wearable/20150829.031235 submit/tizen/20150828.044757
Duna Oh [Wed, 26 Aug 2015 04:57:26 +0000 (13:57 +0900)]
e_comp_wl_input: Do not move the pointer when get a configure

When the pointer is mapped, The position of pointer is updated as current mouse position.
But after mapping, the pointer get a configure with previous x,y position (0,0).

Change-Id: I145e978d7f423773161aa0e7361e33b5836f9af8
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoFixed to render image with previous size 35/46735/1 accepted/tizen/mobile/20150826.020010 accepted/tizen/tv/20150826.015606 accepted/tizen/wearable/20150826.020217 submit/tizen/20150825.115612
MinJeong Kim [Tue, 25 Aug 2015 11:10:50 +0000 (20:10 +0900)]
Fixed to render image with previous size

Set size of image object to new buffer size when new buffer resource be
set. This patch fixes a problem to draw image object with size of previous
buffer that not rendered.

The problem mentioned above is derived from current buffer management process.
because the process doesn't ensure to render all committed buffer, it means
there are buffers never rendered(even if those buffers changes size of image
object already it's possible to be skip rendering). In the future, new process
is considerable that manage new attached buffer resources with pending list
if previous buffer is not rendered yet to resolve the skip problem.

Change-Id: Ia4bc7296c9770a1a2a28f7872f1c7ef1225a712b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_comp_object: fix infinite loop during resizing a smart object. 18/46718/2
Boram Park [Tue, 25 Aug 2015 08:29:12 +0000 (17:29 +0900)]
e_comp_object: fix infinite loop during resizing a smart object.

   If wl_surface han no wl_buffer, reszing a comp smart object occurs
   infinite loop. In wayland, when a wl_buffer is attached to a surface,
   e_client_util_move_resize_without_frame will be called in _e_comp_wl_
   surface_state_commit. And it makes sure that ec and ec->frame have
   correct size.

Change-Id: I9c3540c94baa0b1f22b0732650f8cee63c3c4d59

9 years agoe_drm_buffer: creating a wl_buffer resource before referencing a tizen_buffer in... 26/46626/1 accepted/tizen/mobile/20150825.060835 accepted/tizen/tv/20150825.060848 accepted/tizen/wearable/20150825.060854 submit/tizen/20150824.055555
Boram Park [Mon, 24 Aug 2015 07:58:45 +0000 (16:58 +0900)]
e_drm_buffer: creating a wl_buffer resource before referencing a tizen_buffer in backend side

Change-Id: I614b2e168745c95aebd6b4d5a70cd338491680fc

9 years agoe_comp_wl: set parent's layer to subsurface accepted/tizen/mobile/20150824.002732 accepted/tizen/tv/20150824.002744 accepted/tizen/wearable/20150824.002757 submit/tizen/20150822.055555
Boram Park [Sat, 22 Aug 2015 09:20:39 +0000 (18:20 +0900)]
e_comp_wl: set parent's layer to subsurface

Change-Id: If2e6c7dd0b5395f523d0d6d584805b46d192c3d1

9 years agoapply map to subsurface and black bg_rect also 82/46582/1
Boram Park [Sat, 22 Aug 2015 06:49:18 +0000 (15:49 +0900)]
apply map to subsurface and black bg_rect also

Change-Id: I13e6763144a36e2cfc4c7827cfc11b2ead05e8a0

9 years agomove below subsurfaces when parent ec is moved 81/46581/1
Boram Park [Sat, 22 Aug 2015 06:46:42 +0000 (15:46 +0900)]
move below subsurfaces when parent ec is moved

Change-Id: I715525ebe3b95295f04c88924aefaa9ebf519743

9 years agoe_client: move transformed client using right center postion 48/46548/1
MinJeong Kim [Fri, 21 Aug 2015 11:39:44 +0000 (20:39 +0900)]
e_client: move transformed client using right center postion

Change-Id: I29b55fe3a6d95a9c57e4efff4c3ee83b3be06123
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_client: added transform APIs 02/46502/1
MinJeong Kim [Fri, 21 Aug 2015 05:30:15 +0000 (14:30 +0900)]
e_client: added transform APIs

Change-Id: I684aee7ed034e3819bbfeb9611940335cfc62e21
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoshow below_bg_rectangle if ec->frame is already mapped 71/46271/1
Boram Park [Wed, 19 Aug 2015 02:17:28 +0000 (11:17 +0900)]
show below_bg_rectangle if ec->frame is already mapped

Change-Id: Iac16149f9e71e014830a65ac707fec68a6cc5ca8

9 years agoe_comp_wl: fixed build warning 06/46206/1
Gwanglim Lee [Tue, 18 Aug 2015 04:42:59 +0000 (13:42 +0900)]
e_comp_wl: fixed build warning

Change-Id: Id83c1454f2526ed842328046dd4a690d7c8c5a22

9 years agodemo: transform with zoommed object 02/46202/1
MinJeong Kim [Tue, 18 Aug 2015 01:59:49 +0000 (10:59 +0900)]
demo: transform with zoommed object

Change-Id: I44ff1e3d8247f36a17a72372c4d97316538bc13e
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoDemo: recalculate x, y position when resizing(w/ transformed) ends 52/46152/1
Duna Oh [Mon, 17 Aug 2015 08:25:03 +0000 (17:25 +0900)]
Demo: recalculate x, y position when resizing(w/ transformed) ends

Change-Id: I6886688f6eb2f1a8683d62db967c9cd6a04afad7
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoe_comp: added new E_EVENT_COMPOSITOR_FPS_UPDATE event type accepted/tizen/mobile/20150816.062243 accepted/tizen/tv/20150816.062355 accepted/tizen/wearable/20150816.062546 submit/tizen/20150815.135314
Gwanglim Lee [Sat, 15 Aug 2015 13:52:49 +0000 (22:52 +0900)]
e_comp: added new E_EVENT_COMPOSITOR_FPS_UPDATE event type

Change-Id: I4f36c584a024847bc9359f1e83be6dd0b15d1004

9 years agoDemo: sync size of transform object with new commited buffer 97/46097/1
MinJeong Kim [Sat, 15 Aug 2015 06:42:04 +0000 (15:42 +0900)]
Demo: sync size of transform object with new commited buffer

Change-Id: I2cba64a6f9e9d609d7df519c82a196269ee33dd3
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agosend x,y pos in surface-relative coordinate 79/46079/2 accepted/tizen/mobile/20150815.071836 accepted/tizen/tv/20150815.072131 accepted/tizen/wearable/20150815.072555 submit/tizen/20150814.123636
Boram Park [Fri, 14 Aug 2015 04:48:31 +0000 (13:48 +0900)]
send x,y pos in surface-relative coordinate

Change-Id: I5cae6f76c18b6139362cb3f12664fae4971e45cd

9 years agoe_comp_wl_input: resize cursor's geometry when get a configure 78/46078/1
Duna Oh [Fri, 14 Aug 2015 02:15:41 +0000 (11:15 +0900)]
e_comp_wl_input: resize cursor's geometry when get a configure

Change-Id: I63d8a1855e4bd8967c49360971a0e9ef57a8f7fa
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoe_client: refacto function for visibility calculation 55/45955/1 accepted/tizen/mobile/20150813.083506 accepted/tizen/tv/20150813.083516 accepted/tizen/wearable/20150813.083527 submit/tizen/20150813.023548
Gwanglim Lee [Wed, 12 Aug 2015 13:29:36 +0000 (22:29 +0900)]
e_client: refacto function for visibility calculation
and fix focus problem that top visible window can't get focused.

Change-Id: I0607a5efcbf8dca4dd16a1b936d0e778ae0562b5

9 years agoe_pointer: check cursor whether it is by client or not 47/45847/1
MinJeong Kim [Wed, 12 Aug 2015 02:35:05 +0000 (11:35 +0900)]
e_pointer: check cursor whether it is by client or not

Change-Id: I4ec68dd1abde798650377ae571e3efb726d4d151
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_pointer: do not set type for resize mode 88/45788/1
MinJeong Kim [Tue, 11 Aug 2015 09:01:45 +0000 (18:01 +0900)]
e_pointer: do not set type for resize mode

If there is a cursor which is set by client, to switch cursor for new resize
mode is also client's role.

Change-Id: I8a9ad9b77d93ba6ece2a91ad6efb1bb0bd8399d9
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoDemo: fixed unwanted move while transformed client is resizing 69/45769/1
MinJeong Kim [Tue, 11 Aug 2015 05:06:07 +0000 (14:06 +0900)]
Demo: fixed unwanted move while transformed client is resizing

Change-Id: I7a1334d5c1be0055e0c721e03dba0dfd0e8631a0
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoDemo: Do not transform_unset during transforming(mouse draged) 26/45726/1 submit/tizen/20150811.074955
Duna Oh [Tue, 11 Aug 2015 01:15:54 +0000 (10:15 +0900)]
Demo: Do not transform_unset during transforming(mouse draged)

Change-Id: Ica57fffcb5961d0766aa98a304f271081fd7a2a5
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoDemo: support mouse move for resizing transformed client 12/45712/1
MinJeong Kim [Mon, 10 Aug 2015 12:56:09 +0000 (21:56 +0900)]
Demo: support mouse move for resizing transformed client

Change-Id: I07a960572822208ffac6fe750f4a86d1fd2b3ca9
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoDemo: apply transform_set from zero degree not from transformed degree 06/45706/1
Duna Oh [Mon, 10 Aug 2015 12:48:13 +0000 (21:48 +0900)]
Demo: apply transform_set from zero degree not from transformed degree

Change-Id: Ief614107b41ce0245b173a427ee664e31c8829de
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoremove subc from subsurface list of parent when subc destoryed 81/45681/1 accepted/tizen/mobile/20150811.013621 accepted/tizen/tv/20150811.013633 accepted/tizen/wearable/20150811.013649 submit/tizen/20150810.055113
Boram Park [Mon, 10 Aug 2015 08:20:46 +0000 (17:20 +0900)]
remove subc from subsurface list of parent when subc destoryed

Change-Id: Iedc5ab225da7940f35d67b41c0794ea554b90512

9 years agoif no e_demo ec, give focus to the topmost ec 36/45636/4
Boram Park [Mon, 10 Aug 2015 05:08:41 +0000 (14:08 +0900)]
if no e_demo ec, give focus to the topmost ec

Change-Id: I044bb1ff9bd630ca7febec5e9ca855ac3272e87c

9 years agoDemo: sync size and position 31/45631/1
MinJeong Kim [Mon, 10 Aug 2015 04:01:12 +0000 (13:01 +0900)]
Demo: sync size and position

Change-Id: I4f0a1efbbb0cbd9b8cbc0f420bb77b17f82fa14c
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_client: use appropriate coordinate to set resize mode 27/45627/3
MinJeong Kim [Mon, 10 Aug 2015 03:39:59 +0000 (12:39 +0900)]
e_client: use appropriate coordinate to set resize mode

Change-Id: I9a8376b64e5feaafd29b6c231f9f4bd4883bc213
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoDemo: apply transform_set when drags mouse (pressed and moved) 22/45622/2
Duna Oh [Mon, 10 Aug 2015 02:28:00 +0000 (11:28 +0900)]
Demo: apply transform_set when drags mouse (pressed and moved)

Change-Id: I31d7f51b2bbd60a9a0f0a32ec0ae7c76fbe6a933
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agocreate below_bg_rectangle object if ec is "video" window 28/45628/3
Boram Park [Mon, 10 Aug 2015 02:35:25 +0000 (11:35 +0900)]
create below_bg_rectangle object if ec is "video" window

   Without subsurface, there is a problem that we can see below-window
   through video window.

Change-Id: Iff029c753b583f49e0c484543d512d3b50f6ba4c

9 years agoDemo: use stored output x, y position instead of transformed position 07/45607/1 accepted/tizen/mobile/20150809.064315 accepted/tizen/tv/20150809.064325 accepted/tizen/wearable/20150809.064339 submit/tizen/20150808.055555
MinJeong Kim [Sat, 8 Aug 2015 08:46:12 +0000 (17:46 +0900)]
Demo: use stored output x, y position instead of transformed position

Change-Id: I9777b16e2a78a7a792946b00d7b7cfb6be78ff61
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agodemo: modified transformed x, y position in output coordinate, not canvas coordinate... 04/45604/2
Gwanglim Lee [Sat, 8 Aug 2015 07:43:41 +0000 (16:43 +0900)]
demo: modified transformed x, y position in output coordinate, not canvas coordinate only if transform is enabled

Change-Id: Ia81245541792222fe387239aab8241701a0f8565

9 years agoRevert " Demo: modified transformed x, y position in output coordinate, not canvas... 02/45602/2
Gwanglim Lee [Sat, 8 Aug 2015 07:15:45 +0000 (00:15 -0700)]
Revert " Demo: modified transformed x, y position in output coordinate, not canvas coordinate"

This reverts commit c09a6ffc94dec1905e3ca6a8c17583ef32bda6a3.

Change-Id: Ifd9c5a64ad7efd3da858e96cea90b4df1cf9ff51

9 years agoMerge " Demo: modified transformed x, y position in output coordinate, not canvas...
Gwanglim Lee [Sat, 8 Aug 2015 07:14:28 +0000 (00:14 -0700)]
Merge " Demo: modified transformed x, y position in output coordinate, not canvas coordinate" into tizen

9 years agonot giving focus automatically to e_demo window when moving mouse 00/45600/1
Boram Park [Sat, 8 Aug 2015 07:01:23 +0000 (16:01 +0900)]
not giving focus automatically to e_demo window when moving mouse

Change-Id: I3ff64064a4ca4dbd35f81fb4f1facf2832d16346

9 years ago Demo: modified transformed x, y position in output coordinate, not canvas coordinate 97/45597/1
Duna Oh [Sat, 8 Aug 2015 06:23:27 +0000 (15:23 +0900)]
 Demo: modified transformed x, y position in output coordinate, not canvas coordinate

Change-Id: Id4ac12e9d36bfbcc62007d74fa4ee45f33c032cb
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoadd opaque_state to support efl_util_set_window_opaque_state() 59/45559/1 submit/tizen/20150807.102244
Boram Park [Fri, 7 Aug 2015 08:07:14 +0000 (17:07 +0900)]
add opaque_state to support efl_util_set_window_opaque_state()

Change-Id: I2eca25ad7752938981eb231cb6bb93b4e434731f

9 years agoDemo: get the current Evas_Map and apply 30 degree rotation each time 07/45507/1
Duna Oh [Fri, 7 Aug 2015 03:54:39 +0000 (12:54 +0900)]
Demo: get the current Evas_Map and apply 30 degree rotation each time

Change-Id: I629f2901b4a2a5fcf5c3f3fd9f9d5ff592c1a835
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agounset alpha to HW underlay video e_client. 04/45504/1
Boram Park [Fri, 7 Aug 2015 02:25:10 +0000 (11:25 +0900)]
unset alpha to HW underlay video e_client.

Change-Id: I5f2e6084d714e81298e3f257c5d2de637c129761

9 years agoDemo: added transform protocol for transform(rotator) mode 22/45422/2 accepted/tizen/mobile/20150806.065733 accepted/tizen/tv/20150806.065742 accepted/tizen/wearable/20150806.065756 submit/tizen/20150806.024618
MinJeong Kim [Thu, 6 Aug 2015 02:19:34 +0000 (11:19 +0900)]
Demo: added transform protocol for transform(rotator) mode

Change-Id: I473569f40201202cd859dad5188960090c7f3d2d

9 years agoe_log: changed e_log_dom to be exported 08/45408/1
Gwanglim Lee [Wed, 5 Aug 2015 23:41:33 +0000 (08:41 +0900)]
e_log: changed e_log_dom to be exported

Change-Id: I9c32fb32a9a8bc3da238f2c19f043023efa1c1ff

9 years agoe_client: added E_Transient to support various transient_fortype 51/45351/2
MinJeong Kim [Wed, 5 Aug 2015 05:52:29 +0000 (14:52 +0900)]
e_client: added E_Transient to support various transient_fortype

- The enum E_Transient indicates transient_for type.

  E_TRANSIENT_ABOVE : stack a client above its parent
  E_TRANSIENT_BELOW : stack a client below its parent
- Restack transients with transient_policy

Change-Id: I433927c7504f46bc13ac2a68fa380581e170fcfd
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_log: added ELOG and ELOGF macros to support formatted log message 54/45354/4
Gwanglim Lee [Wed, 5 Aug 2015 06:06:22 +0000 (15:06 +0900)]
e_log: added ELOG and ELOGF macros to support formatted log message

Change-Id: I55929316156846d3d51d5188e0bdcdfcf02b1d81

9 years agoe_comp_wl: check if ec is destroyed 68/45168/1 accepted/tizen/mobile/20150803.094017 accepted/tizen/tv/20150803.094107 accepted/tizen/wearable/20150803.094041 submit/tizen/20150803.050034
Boram Park [Mon, 3 Aug 2015 08:37:24 +0000 (17:37 +0900)]
e_comp_wl: check if ec is destroyed

Change-Id: Id0e0afff18d042b5370349f3aadf0718fec4b59b

9 years agoremove tizen_surface_extension protocol 40/45140/1
Boram Park [Mon, 3 Aug 2015 03:38:41 +0000 (12:38 +0900)]
remove tizen_surface_extension protocol

Change-Id: I456d49f87eeb5263e6c525977e1dd8550f6aa2ed

9 years agoremove tizen_transient_for protocol 39/45139/1
Boram Park [Mon, 3 Aug 2015 03:29:10 +0000 (12:29 +0900)]
remove tizen_transient_for protocol

Change-Id: If3fce63c871bb725275b1b12fadea1affb0c88cf

9 years agoremove tizen_subsurface protocol 38/45138/1
Boram Park [Mon, 3 Aug 2015 01:39:16 +0000 (10:39 +0900)]
remove tizen_subsurface protocol

Change-Id: I1c726b6e62c2edbfee90badedcfee05e026d8d1c