platform/upstream/enlightenment.git
3 years agoe_comp_wl: use cdata instead of ec->comp_data at _e_comp_wl_surface_state_commit... 65/249465/3
SooChan Lim [Sat, 12 Dec 2020 06:05:00 +0000 (15:05 +0900)]
e_comp_wl: use cdata instead of ec->comp_data at _e_comp_wl_surface_state_commit function

Change-Id: Ib7220c67826dcb104bcd7bea658de32b4915643a

3 years agoe_policy_stack: check top is mapped when transient_for apply 52/249352/3
Junseok Kim [Thu, 10 Dec 2020 10:08:09 +0000 (19:08 +0900)]
e_policy_stack: check top is mapped when transient_for apply

Change-Id: I94f610d1b5c42d76cbafb022652a27f45dc64bae
Signed-off-by: Junseok Kim <juns.kim@samsung.com>
3 years agoe_comp_object: reset focus if focus_policy is not top_stack in _e_comp_smart_hide 40/249440/1 accepted/tizen/unified/20201214.124451 submit/tizen/20201211.120426
Doyoun Kang [Fri, 11 Dec 2020 12:00:12 +0000 (21:00 +0900)]
e_comp_object: reset focus if focus_policy is not top_stack in _e_comp_smart_hide

Change-Id: I67c11e86f9c986be700d4d4022e0892c683ca483

3 years agoe_comp_wl_tbm: add egl_image_buffer_get func to E_Comp_wl_Tbm_Funcs 13/249413/1
SooChan Lim [Fri, 11 Dec 2020 03:55:13 +0000 (12:55 +0900)]
e_comp_wl_tbm: add egl_image_buffer_get func to E_Comp_wl_Tbm_Funcs

egl_image_buffer_get func has to provide the tbm_surface_h for making the egl_image.

Change-Id: Ibf2b2720b322e5183d16200296fe20f69747396e

3 years agovideo: Fix errors in calculation of transform 68/248968/2
Seunghun Lee [Thu, 3 Dec 2020 22:59:24 +0000 (07:59 +0900)]
video: Fix errors in calculation of transform

It was discovered that change of video wasn't able to be applied with
the state, which was destination area out bound of screen with
WL_OUTPUT_TRANSFORM_90.

It turned out because of errors in calculation of transform. That error
made source(input) area empty and empty area cannot be applied.

The transform value which caused this issue was as follow:

wl_subsurface_set_position(840, 0)
wl_viewport_set_destination(1080, 1920)
wl_viewport_set_source(0, 1936, 1080, 2160)
wl_surface_set_buffer_transform(WL_OUTPUT_TRANSFORM_90)

* The state of output: size (1920x1080) transform (0)

Change-Id: I3134980d46305a03965076c843a568fd84f226d0

3 years agoviewport: Restore source area to entire area of buffer 78/248978/2 accepted/tizen/unified/20201207.123247 submit/tizen/20201206.010849
Seunghun Lee [Fri, 4 Dec 2020 03:22:00 +0000 (12:22 +0900)]
viewport: Restore source area to entire area of buffer

Source area has to be restored to entire area of buffer when client
requests to unset source area by setting width and height to -1.0
according to what wl_scaler of wayland-extension specification spelled
out.

This patch fixes it to follow the specification.

Change-Id: I0cc48f74e9850a59fca99137d8b5c381ddf53259

3 years agoe_policy_wl: change code for handling force_obscured window 44/248944/3
Doyoun Kang [Thu, 3 Dec 2020 08:55:58 +0000 (17:55 +0900)]
e_policy_wl: change code for handling force_obscured window

E_policy run uniconify_render process when the force_obscured ec is activated or uniconified.
The client window which requests activate or uniconify can get the iconic state change event.

Change-Id: I427edc2829a2e9a1f4646eda12dc947c3e726250

3 years agoe_policy: send iconify state change event when ec vis turn on and didn't send event. 29/248929/5
Junseok, Kim [Thu, 3 Dec 2020 06:12:04 +0000 (15:12 +0900)]
e_policy: send iconify state change event when ec vis turn on and didn't send event.

Added last_sent_type for store latest iconify_state_change event.
and send iconify_state_change event when ec turn to visibility on and didn't send the event.

Change-Id: I74c33b4ade57c095c2287273d54a4ae1237666c2
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_comp_wl: fix to return value properly 38/248938/1
Sung-Jin Park [Thu, 3 Dec 2020 09:53:19 +0000 (18:53 +0900)]
e_comp_wl: fix to return value properly

Change-Id: I58bd6967581bd552309fdca65083bf9c7a284780
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoe_service_quickpanel: add function pointer for quickpanel_type_get 23/248923/2
Doyoun Kang [Thu, 3 Dec 2020 07:59:30 +0000 (16:59 +0900)]
e_service_quickpanel: add function pointer for quickpanel_type_get

Change-Id: Idb6771d0ee083e3935411ea111219d67a17f6c54

3 years agoe_comp_wl: fix to send touch cancel event only when display turns off 06/248906/1
Sung-Jin Park [Thu, 3 Dec 2020 06:33:03 +0000 (15:33 +0900)]
e_comp_wl: fix to send touch cancel event only when display turns off

Change-Id: I762841886e159d81a3a536274c011e0ea6ead582
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoe_policy/e_service_quickpanel: add e_policy_quickpanel_type_get API 74/248574/1 accepted/tizen/unified/20201201.124809 submit/tizen/20201130.065945
Doyoun Kang [Mon, 30 Nov 2020 06:29:25 +0000 (15:29 +0900)]
e_policy/e_service_quickpanel: add e_policy_quickpanel_type_get API

Change-Id: I8c34bcd0b3711cc5eec4005236b34da8394192e3

3 years agoe_policy/e_service_quickpanel: add E_EVENT_POLICY_QUICKPANEL_VISIBLE_STATE_CHANGE... 73/248573/1
Doyoun Kang [Mon, 30 Nov 2020 06:17:34 +0000 (15:17 +0900)]
e_policy/e_service_quickpanel: add E_EVENT_POLICY_QUICKPANEL_VISIBLE_STATE_CHANGE event

When a quickpanel window is shown or hidden, then e generates
E_EVENT_POLICY_QUICKPANEL_VISIBLE_STATE_CHANGE event to notify another module.

Change-Id: I00c86c53dba0e5302daa93b1bd4ee9d4d35206ea

3 years agoe_policy: move enumerations for quickpanel to e_policy.h file 71/248571/1
Doyoun Kang [Mon, 30 Nov 2020 06:07:27 +0000 (15:07 +0900)]
e_policy: move enumerations for quickpanel to e_policy.h file

Change-Id: Ifbe421df930b3bcc923f79c7abbb4c8258efbe40

3 years agoe_policy_wl: handle show/hide request for tizen_policy interface 04/248504/3 accepted/tizen/unified/20201127.130445 submit/tizen/20201127.083508
Doyoun Kang [Fri, 27 Nov 2020 07:26:24 +0000 (16:26 +0900)]
e_policy_wl: handle show/hide request for tizen_policy interface

This change is based on tizen_policy version 8.

Change-Id: I5b0936d2e22d2fc0238e6a36968e9707d3141553

3 years agoe_config/e_policy_wl: add raise_before_show config 03/248503/2
Doyoun Kang [Fri, 27 Nov 2020 07:18:48 +0000 (16:18 +0900)]
e_config/e_policy_wl: add raise_before_show config

if raise_before_show configuration is enabled, then window can raise before showing.

Change-Id: I344484cbf23e519f5787f785835e35c0f07177c3

3 years agoe_hwc_window: fix wrong transform of recover buffer 44/248344/1
Changyeon Lee [Wed, 25 Nov 2020 11:31:16 +0000 (20:31 +0900)]
e_hwc_window: fix wrong transform of recover buffer

if recover buffer is created by display buffer, recover buffer has
the transform normal
in case of window is rotated, recover buffer has wrong transform
so we add trnasform to window buffer and
set transform of display buffer to recover buffer.

Change-Id: I50bf4a12abfe50ec0b89d227ba441a7d9d179aeb

3 years agoRevert "e_comp_wl: use e_client_data_get" 19/248219/1 accepted/tizen/unified/20201124.123022 submit/tizen/20201124.042649
SooChan Lim [Tue, 24 Nov 2020 03:17:51 +0000 (12:17 +0900)]
Revert "e_comp_wl: use e_client_data_get"

This reverts commit f2fdb61ed951aec0441a50c71912af9f731e5a5b.

Change-Id: Ic398a6485f0450f209b0571afd2510735a61c1a9

3 years agoe_client: add e_client_cdata_new/free api. 49/248049/6 submit/tizen/20201120.053428
SooChan Lim [Fri, 20 Nov 2020 03:08:43 +0000 (12:08 +0900)]
e_client: add e_client_cdata_new/free api.

add creation/free functions for E_Comp_Wl_Client_Data and use them.

Change-Id: I541c280a7e228e318e087191b0a233a9d57a0077

3 years agoe_comp_wl: assign cdata to ec->comp_data 52/248052/1
SooChan Lim [Fri, 20 Nov 2020 04:50:02 +0000 (13:50 +0900)]
e_comp_wl: assign cdata to ec->comp_data

This patch fixes the crash issue

Change-Id: I33bee613da6d61689b1e3900c2cd1bc9b912e84c

3 years agoviewport: Raise errors when bad src or dst values are used.
Seunghun Lee [Thu, 12 Nov 2020 00:52:34 +0000 (09:52 +0900)]
viewport: Raise errors when bad src or dst values are used.

The detail error cases are described at 'scaler.xml' in
wayland-extension project.

Change-Id: Idff11a08ed8c0f4d2f95909fda6230b623e208d1

3 years agoe_comp_wl_capture: correct image size according to orientation of image. 78/247978/2 submit/tizen/20201119.103351
Seunghun Lee [Wed, 18 Nov 2020 06:28:05 +0000 (15:28 +0900)]
e_comp_wl_capture: correct image size according to orientation of image.

When try to capture the image of buffer to which the output transform
has been applied, should consider to swapping size.

Change-Id: Ib0d8946e5f66c65743facda60de73301ee78862b

3 years agoe_comp_wl_capture: Add tbm buffer type for video capture. 77/247977/2
Seunghun Lee [Wed, 18 Nov 2020 06:24:49 +0000 (15:24 +0900)]
e_comp_wl_capture: Add tbm buffer type for video capture.

It's to support video capture which creates tizen_video_object but not
composited by hwc. In that case, buffer type will be
E_COMP_WL_BUFFER_TYPE_TBM.

Change-Id: Ibbe6eed5b30fc435fae70d773884141f1ec1fb8e

3 years agosubsurface: set below_object to pass events. 00/248000/2
Seunghun Lee [Thu, 19 Nov 2020 05:32:03 +0000 (14:32 +0900)]
subsurface: set below_object to pass events.

The event EVAS_CALLBACK_MOUSE_OUT cannot happen by creation
of below_obj.

This patch is to fix that Evas object associated with E_Client got
event of mouse_out unexpectedly because of creation of below_obj
even though cursor still remained on the window.

Change-Id: Ia5a5162c7f63f8f7578bdc1ad7bfec1485e3d387

4 years agoe_info_server: add -trace damage option 08/247808/2
Changyeon Lee [Tue, 17 Nov 2020 04:10:49 +0000 (13:10 +0900)]
e_info_server: add -trace damage option

if -trace damage is enabled, log of damage is printed by ELOGF
and green rectangle is rendered.

Change-Id: I783d9cfeae8363031b434d9a409c8b819c1bf043

4 years agoe_service_volume: use e_client_cdata_get 22/247622/1 submit/tizen/20201117.045823
SooChan Lim [Tue, 10 Nov 2020 06:29:53 +0000 (15:29 +0900)]
e_service_volume: use e_client_cdata_get

Change-Id: I6326776c777bf6ba7a8c5dcd53a4d98c2d849615

4 years agoe_service_launcher: use e_client_cdate_get 21/247621/1
SooChan Lim [Tue, 10 Nov 2020 06:22:48 +0000 (15:22 +0900)]
e_service_launcher: use e_client_cdate_get

Change-Id: I567aae2ff4fc9509401f239f3da9c2635f95ec99

4 years agoe_service_cbhm: use e_client_cdata_get 20/247620/1
SooChan Lim [Tue, 10 Nov 2020 06:21:31 +0000 (15:21 +0900)]
e_service_cbhm: use e_client_cdata_get

Change-Id: Icc427bf13f563e225f3f8fa2e45f68ae23d1cf96

4 years agoe_policy_wl: use e_client_cdata_get 19/247619/1 submit/tizen/20201119.232032
SooChan Lim [Wed, 11 Nov 2020 04:24:00 +0000 (13:24 +0900)]
e_policy_wl: use e_client_cdata_get

Change-Id: Id83f9afad0206633a64c6b4197953134b8527a81

4 years agoe_xdg_shell_v6: use e_client_cdata_get 18/247618/1
SooChan Lim [Wed, 11 Nov 2020 03:19:10 +0000 (12:19 +0900)]
e_xdg_shell_v6: use e_client_cdata_get

Change-Id: Iecee71a1e1e27a99dd7897569bf8edab57f26df8

4 years agoe_process: use e_client_cdata_get 17/247617/1
SooChan Lim [Wed, 11 Nov 2020 03:10:58 +0000 (12:10 +0900)]
e_process: use e_client_cdata_get

Change-Id: If9f57a5a17d85762f70b405655a214d4f00fc6f7

4 years agoe_desk_group: use e_client_cdata_get 16/247616/1
SooChan Lim [Wed, 11 Nov 2020 03:10:09 +0000 (12:10 +0900)]
e_desk_group: use e_client_cdata_get

Change-Id: I99a71663c216dcc66fe5925914554b89d4de6fa0

4 years agoe_desk: use e_client_cdata_get 15/247615/1
SooChan Lim [Wed, 11 Nov 2020 03:09:22 +0000 (12:09 +0900)]
e_desk: use e_client_cdata_get

Change-Id: If2a62f92387b7e68034f946b8d9ea4c7af813482

4 years agoe_slot: use e_client_cdata_get 14/247614/1
SooChan Lim [Wed, 11 Nov 2020 03:08:06 +0000 (12:08 +0900)]
e_slot: use e_client_cdata_get

Change-Id: I9bde01128cf56d930e9778849aef418c65b26034

4 years agoe_comp_wl: use e_client_data_get 13/247613/1 submit/tizen/20201119.231807
SooChan Lim [Wed, 11 Nov 2020 05:09:31 +0000 (14:09 +0900)]
e_comp_wl: use e_client_data_get

Change-Id: I87d2c906d50fd5ce7d2a89b18073c64cab5a6dbd

4 years agoe_comp_object: use e_client_cdata_get 12/247612/1 submit/tizen/20201119.231741
SooChan Lim [Wed, 11 Nov 2020 04:27:04 +0000 (13:27 +0900)]
e_comp_object: use e_client_cdata_get

Change-Id: I5192f2fbf8b17a955e94a8f664097d8e21dbe9e6

4 years agoe_client: use e_client_cdata_get 11/247611/1
SooChan Lim [Wed, 11 Nov 2020 00:42:43 +0000 (09:42 +0900)]
e_client: use e_client_cdata_get

Change-Id: I4b1bdb840b2d1a254d78c08b7616bd875f4e2a5f

4 years agoe_output: erase unnecessary null checking condition 14/246614/3
Junkyeong Kim [Mon, 2 Nov 2020 11:32:03 +0000 (20:32 +0900)]
e_output: erase unnecessary null checking condition

Change-Id: I286383717255dba0e81c3ec157cb3dae2a489ab8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_explicit_sync: use e_client_cdata_get 81/247481/3 accepted/tizen/unified/20201112.124133 submit/tizen/20201111.090326
SooChan Lim [Wed, 11 Nov 2020 00:54:25 +0000 (09:54 +0900)]
e_explicit_sync: use e_client_cdata_get

Change-Id: Ib3d11e1cb06b5aa4452433b2820377d877b47f2f

4 years agoe_eom: use e_client_cdata_get 80/247480/3
SooChan Lim [Wed, 11 Nov 2020 00:53:57 +0000 (09:53 +0900)]
e_eom: use e_client_cdata_get

Change-Id: I1f1126332ffcf699b7a9a1d51b9e89382485e89b

4 years agoe_presentation_time: use e_client_cdata_get 79/247479/3
SooChan Lim [Wed, 11 Nov 2020 00:51:42 +0000 (09:51 +0900)]
e_presentation_time: use e_client_cdata_get

Change-Id: I2878ed830f78aa59b617f698cb7d0cfb96399209

4 years agoe_plane_renderer: use e_client_cdata_get 78/247478/3
SooChan Lim [Wed, 11 Nov 2020 00:50:56 +0000 (09:50 +0900)]
e_plane_renderer: use e_client_cdata_get

Change-Id: Ia94b11726d63b0ccfe49f279f2a7c45d134080b9

4 years agoe_plane: use e_client_cdata_get 77/247477/3
SooChan Lim [Wed, 11 Nov 2020 00:50:05 +0000 (09:50 +0900)]
e_plane: use e_client_cdata_get

Change-Id: I61a811b5f628dc912ccd66fc282d94c38fee92af

4 years agoe_hwc_windows: use e_client_cdata_get 76/247476/3
SooChan Lim [Wed, 11 Nov 2020 00:47:59 +0000 (09:47 +0900)]
e_hwc_windows: use e_client_cdata_get

Change-Id: I41f58c21cbae9e6d77ef3273e4704fa8dd0300a3

4 years agoe_hwc_window_queue: use e_client_cdata_get 75/247475/3
SooChan Lim [Wed, 11 Nov 2020 00:46:32 +0000 (09:46 +0900)]
e_hwc_window_queue: use e_client_cdata_get

Change-Id: I75a1eb03dc0416dccb8e4ce8d5ce3056dc87240a

4 years agoe_hwc_planes: use e_client_cdata_get 74/247474/3
SooChan Lim [Wed, 11 Nov 2020 00:45:34 +0000 (09:45 +0900)]
e_hwc_planes: use e_client_cdata_get

Change-Id: I1f5ccc05ff6557e20782f93f9d217b7b6f040634

4 years agoe_hwc_window: use e_client_cdata_get 73/247473/3
SooChan Lim [Wed, 11 Nov 2020 00:45:03 +0000 (09:45 +0900)]
e_hwc_window: use e_client_cdata_get

Change-Id: Ied0741907dee35971aa3072c6c1253daf3bb5eb0

4 years agoe_output: use e_client_cdata_get 72/247472/3
SooChan Lim [Wed, 11 Nov 2020 00:49:22 +0000 (09:49 +0900)]
e_output: use e_client_cdata_get

Change-Id: I2fe492cc4050285a48a83d6d4dcd5eeb9bc36cae

4 years agoe_comp_screen: use e_client_cdata_get 71/247471/3
SooChan Lim [Wed, 11 Nov 2020 00:43:12 +0000 (09:43 +0900)]
e_comp_screen: use e_client_cdata_get

Change-Id: Iabe0f01f65d3d73e39aa962f8973b22044df59db

4 years agovideo_buffer: Do not call memcpy() with the size greater than dest. 90/247490/1
Seunghun Lee [Mon, 26 Oct 2020 06:36:43 +0000 (15:36 +0900)]
video_buffer: Do not call memcpy() with the size greater than dest.

Calling memcpy() with the size greater than dest may lead to a segfault,
since this causes a buffer overrun.
The pitch size of src is not guaranteed to have the same size as dest.
So it should use min value.

Change-Id: I3b4125cc7faa02bfc52e904160ffe711dc354594

4 years agovideo: Do not free an instance in a handler of removing E_Client. 89/247489/1
Seunghun Lee [Wed, 14 Oct 2020 04:55:48 +0000 (13:55 +0900)]
video: Do not free an instance in a handler of removing E_Client.

Do not free an instance associated with tizen_video_object in a handler
of removing E_Client. The instance should be removed with wl_resource.

Change-Id: I6d3ac1ab81cc69a3b161415e84de41a20cf0520a

4 years agovideo: Remove unused variable. 88/247488/1
Seunghun Lee [Tue, 6 Oct 2020 05:39:10 +0000 (14:39 +0900)]
video: Remove unused variable.

Change-Id: I64ed366889acc86afd1da98486076f394af8f27f

4 years agovideo: Rename functions and variables more detail. 87/247487/1
Seunghun Lee [Tue, 6 Oct 2020 05:07:35 +0000 (14:07 +0900)]
video: Rename functions and variables more detail.

no functional changes

Change-Id: I1e506a2f535e8428d5618b1206b551e28eae8e12

4 years agovideo: Destroy hwc interface explicitly when rendering is failed. 86/247486/1
Seunghun Lee [Fri, 11 Sep 2020 08:33:01 +0000 (17:33 +0900)]
video: Destroy hwc interface explicitly when rendering is failed.

It's better to destroy interface explicitly at where it is created.
Therefore there is no need to return boolean value and leave an
extra description for how behavior will be changed according to
return value.

Change-Id: Ia0d828c9e16ce96556d46a2535ff9c1c1f9048b5

4 years agoe_hwc_windows: check visible of image object before obscured_by_target is set 24/247224/2 accepted/tizen/6.0/unified/20201111.064846 accepted/tizen/unified/20201110.125035 submit/tizen/20201109.083635 submit/tizen_6.0/20201110.082943
Changyeon Lee [Mon, 9 Nov 2020 07:02:47 +0000 (16:02 +0900)]
e_hwc_windows: check visible of image object before obscured_by_target is set

Change-Id: Ib06752c9ec9ca8e8332c610d2dce1c45b283349a

4 years agoe_hwc_windows: send discard feedback if commit ins't needed 88/247188/2
Changyeon Lee [Fri, 6 Nov 2020 10:16:00 +0000 (19:16 +0900)]
e_hwc_windows: send discard feedback if commit ins't needed

Change-Id: I4628e82556fcbe4e33df6a17401e0e61fc56883c

4 years agoe_hwc_windows: don' call sync callback if hwc needs re_evaluate 87/247187/2
Changyeon Lee [Fri, 6 Nov 2020 10:06:05 +0000 (19:06 +0900)]
e_hwc_windows: don' call sync callback if hwc needs re_evaluate

transition of hwc can be set false even if hwc_commit is needed.

Change-Id: I528deaebf748e6c6e2f09981c5d1611c61767848

4 years agosubsurface: Place sub-surface under parent even if it's in below_list. 41/246941/3
Seunghun Lee [Thu, 5 Nov 2020 07:58:44 +0000 (16:58 +0900)]
subsurface: Place sub-surface under parent even if it's in below_list.

E didn't handle the task required for placing below parent if
sub-surface was in below_list.
But to me, the name of this API seems to be supposed to make sub-surface
place below parent whenever it's invoked. And I think this way is more
reasonable.

Change-Id: I371fdb8fdd20a2a0b007cdfe1f00573d4a6a0e00

4 years agosubsurface: fix changing stack order of sub-surface with its parent. 40/246940/3
Seunghun Lee [Thu, 5 Nov 2020 07:47:49 +0000 (16:47 +0900)]
subsurface: fix changing stack order of sub-surface with its parent.

Sub-surface can be placed above or below of its parent by passing its
sub-surface with its parent as arguments to
wl_subsurface_place_above/below according to wl_subsurface description.

However, until now enlightenment seems not to have been supported this
operation correctly. In other words, enlightenment wasn't able to handle
stacking order of sub-surface in case wl_subsurface_place_above/below is
required with a parent of sub-surface.
This patch corrects it.

Change-Id: Icd65bf1759f1c7a3b950f6c9c222a41c9817a8ae

4 years agosubsurface: fix not inserting subsurface to pending state first. 35/246935/3
Seunghun Lee [Tue, 22 Sep 2020 05:08:38 +0000 (14:08 +0900)]
subsurface: fix not inserting subsurface to pending state first.

The z-order is double-buffered. So, subsurface has to be inserted to
pending list first, not to active list.

Change-Id: Id76563920c511f8321d11c3e44bdfd80fd605f62

4 years agosubsurface: Raise a protocol error for a bad parent. 34/246934/3
Seunghun Lee [Tue, 22 Sep 2020 04:52:01 +0000 (13:52 +0900)]
subsurface: Raise a protocol error for a bad parent.

This case should be failed noisily.

Change-Id: If20eadc7bab66696fe01f323b03bb3a7f9d7819e

4 years agosubsurface: Do not raise a protocol error for a reference surface as parent. 33/246933/3
Seunghun Lee [Tue, 22 Sep 2020 04:32:11 +0000 (13:32 +0900)]
subsurface: Do not raise a protocol error for a reference surface as parent.

According to a documentation of wl_subsurface, a parent surface can be a
reference surface for wl_subsurface.place_(above/below) interface.

Change-Id: Iafb202dce3a88e12e9be24809a61aca5746e1fc6

4 years agosubsurface: Raise a protocol error about wl_subsurface.place_(above/below). 32/246932/3
Seunghun Lee [Tue, 22 Sep 2020 02:59:22 +0000 (11:59 +0900)]
subsurface: Raise a protocol error about wl_subsurface.place_(above/below).

Check for bad sibling and raise the required error.

Change-Id: Iaa2af9818e35c62fbc8b15ed5222c4bc431eba2a

4 years agoRevert "e_hwc_windows: send discard feedback if commit ins't needed" 33/247033/1 accepted/tizen/unified/20201109.123502 submit/tizen/20201109.013958
Changyeon Lee [Fri, 6 Nov 2020 08:29:12 +0000 (17:29 +0900)]
Revert "e_hwc_windows: send discard feedback if commit ins't needed"

This reverts commit de5d14338e6156fbd43974538ee5a7ab9425adbb.

Change-Id: I6b2b7ed1a1faea41579a5163c9de639aad0d3bcc

4 years agoe_desk: add log for setting/unsetting zoom 02/247002/2 accepted/tizen/unified/20201106.130127 submit/tizen/20201106.045540
Doyoun Kang [Fri, 6 Nov 2020 03:07:39 +0000 (12:07 +0900)]
e_desk: add log for setting/unsetting zoom

Change-Id: If1780377baafea967e15e430bfe6c42742b61eb3

4 years agoRevert "e_desk: run zoom-effect only if the zoom ratio is changed" 01/247001/2
Doyoun Kang [Fri, 6 Nov 2020 03:03:34 +0000 (12:03 +0900)]
Revert "e_desk: run zoom-effect only if the zoom ratio is changed"

This reverts commit ffef14549adfec917d47482ac829e6ce2e78e571.

Change-Id: I0dd273237e86843d6b7322fcdea2d434202e3093

4 years agoe_comp_wl_tizen_hwc: add timer to hwc_commit_feedback 65/246965/2
Changyeon Lee [Thu, 5 Nov 2020 09:47:52 +0000 (18:47 +0900)]
e_comp_wl_tizen_hwc: add timer to hwc_commit_feedback

Change-Id: Ib6abc7274281745b8374f233dce06c7f6514f2f4

4 years agoe_hwc_windows: send discard feedback if commit ins't needed 64/246964/2
Changyeon Lee [Thu, 5 Nov 2020 10:17:14 +0000 (19:17 +0900)]
e_hwc_windows: send discard feedback if commit ins't needed

Change-Id: Id2b40adfcf029a218d8268239bcf2b78296605be

4 years agoe_desk: run zoom-effect only if the zoom ratio is changed 66/246966/1
Doyoun Kang [Thu, 5 Nov 2020 10:49:36 +0000 (19:49 +0900)]
e_desk: run zoom-effect only if the zoom ratio is changed

Change-Id: I2fff406e18cff36a78ad93005a0c515044b4466c

4 years agoRevert "video: Destroy hwc interface explicitly when rendering is failed." 53/246853/1 accepted/tizen/unified/20201105.124332 submit/tizen/20201105.050753
Doyoun Kang [Wed, 4 Nov 2020 11:57:25 +0000 (20:57 +0900)]
Revert "video: Destroy hwc interface explicitly when rendering is failed."

This reverts commit 35e41776c77705c2c37fee10ef7ccbbb73514f93.

Change-Id: Ia462d44af3f7905d0745fe3b442fec9772e25c5a

4 years agoRevert "subsurface: Raise a protocol error about wl_subsurface.place_(above/below)." 52/246852/1
Doyoun Kang [Wed, 4 Nov 2020 11:56:36 +0000 (20:56 +0900)]
Revert "subsurface: Raise a protocol error about wl_subsurface.place_(above/below)."

This reverts commit 634a93f81bbafb5677918f77895d31fd64a9a165.

Change-Id: I7b5e86b9617a51c5c0ac444380495b725ebe1dd9

4 years agoRevert "subsurface: Do not raise a protocol error for a reference surface as parent." 51/246851/1
Doyoun Kang [Wed, 4 Nov 2020 11:56:08 +0000 (20:56 +0900)]
Revert "subsurface: Do not raise a protocol error for a reference surface as parent."

This reverts commit 29359d02eb4667384e599ba6baa0797d14f823ca.

Change-Id: I3321d170c72a97c8b80e7e1b6e794dafe5cbb01a

4 years agoRevert "subsurface: Raise a protocol error for a bad parent." 50/246850/1
Doyoun Kang [Wed, 4 Nov 2020 11:55:52 +0000 (20:55 +0900)]
Revert "subsurface: Raise a protocol error for a bad parent."

This reverts commit d3cbe02df50c847973c1ba147e0a112838af26c5.

Change-Id: Idf59aa2e6a94f6a53c24e2da4abaa161be6e6f44

4 years agoRevert "subsurface: fix not inserting subsurface to pending state first." 49/246849/1
Doyoun Kang [Wed, 4 Nov 2020 11:55:33 +0000 (20:55 +0900)]
Revert "subsurface: fix not inserting subsurface to pending state first."

This reverts commit 87d56cb63c49c94b9ecb25ecab4005bf4f688165.

Change-Id: If1c48b5f777c7e8aff4b237f17c2a88c782ccff1

4 years agoRevert "video: Rename functions and variables more detail." 48/246848/1
Doyoun Kang [Wed, 4 Nov 2020 11:54:54 +0000 (20:54 +0900)]
Revert "video: Rename functions and variables more detail."

This reverts commit 76563ffde2c4b5bf0be317b40145a1e47f43890f.

Change-Id: Idd6661c970e9ff0c205e3987490bdb1f7c389e84

4 years agoRevert "video: Remove unused variable." 47/246847/1
Doyoun Kang [Wed, 4 Nov 2020 11:54:29 +0000 (20:54 +0900)]
Revert "video: Remove unused variable."

This reverts commit 1b1659007bc040a244c98d487c443f2cc2f029fb.

Change-Id: I3041e729eb940f6eb213342301e36ce6fa0a3997

4 years agoRevert "video: Do not free an instance in a handler of removing E_Client." 46/246846/1
Doyoun Kang [Wed, 4 Nov 2020 11:54:02 +0000 (20:54 +0900)]
Revert "video: Do not free an instance in a handler of removing E_Client."

This reverts commit 2c80683703923f54749a81f410cea50f4d772a3b.

Change-Id: Ic2d4371635a9e4019e9390aae297c113eb08c90c

4 years agoRevert "subsurface: Handles restack event only for topmost parent of sub-surface." 45/246845/1
Doyoun Kang [Wed, 4 Nov 2020 11:53:31 +0000 (20:53 +0900)]
Revert "subsurface: Handles restack event only for topmost parent of sub-surface."

This reverts commit 0ce9e1e920050692e28c75cd1cfc3cc38cc0be2e.

Change-Id: I1398b077e061c5ee1bacdece7292bdcd3e43e85b

4 years agoRevert "e_client: Checks if it's valid operation for sub-surface." 44/246844/1
Doyoun Kang [Wed, 4 Nov 2020 11:53:10 +0000 (20:53 +0900)]
Revert "e_client: Checks if it's valid operation for sub-surface."

This reverts commit 1cf2f111f9ff9a1043cde8c0f201ee53d74ef0a4.

Change-Id: Id3b909374118cec52d862cf0ad03272c0db8f1a7

4 years agoRevert "subsurface: Do not update stacking order of entire sub-surface tree." 43/246843/1
Doyoun Kang [Wed, 4 Nov 2020 11:52:08 +0000 (20:52 +0900)]
Revert "subsurface: Do not update stacking order of entire sub-surface tree."

This reverts commit 3d028b1c348ab53170b4f6e70ebe0794de14ff8d.

Change-Id: Id5f8d6ee29e289119fc107c6977b431139389664

4 years agoRevert "subsurface: Remove some unnecessary internal API for sub-surface." 42/246842/1
Doyoun Kang [Wed, 4 Nov 2020 11:51:24 +0000 (20:51 +0900)]
Revert "subsurface: Remove some unnecessary internal API for sub-surface."

This reverts commit f8193c22fa299e2eacdca44fe660545ceaa67c47.

Change-Id: Id45c14e22c74276ee1a0cc3461d8dedb4413b751

4 years agoRevert "video_buffer: Do not call memcpy() with the size greater than dest." 41/246841/1
Doyoun Kang [Wed, 4 Nov 2020 11:51:00 +0000 (20:51 +0900)]
Revert "video_buffer: Do not call memcpy() with the size greater than dest."

This reverts commit a31a94ee5394230d1d0902a30ff299a6dec919ec.

Change-Id: I4cd67474dc9dd73243d8aaf53b5309ba37c23dec

4 years agoRevert "subsurface: Add a function to link sub-surface to its parent." 40/246840/1
Doyoun Kang [Wed, 4 Nov 2020 11:49:20 +0000 (20:49 +0900)]
Revert "subsurface: Add a function to link sub-surface to its parent."

This reverts commit 04f8ba7a72e18f4bc7113b654a0fa9dae4cabbd2.

Change-Id: Ia6bd0fa8146a65ecec1d8cba8a5ab2f200614c2b

4 years agoRevert "subsurface: fix not being able to update stack by place_below_parent." 39/246839/1
Doyoun Kang [Wed, 4 Nov 2020 11:45:09 +0000 (20:45 +0900)]
Revert "subsurface: fix not being able to update stack by place_below_parent."

This reverts commit c1e727fb2bd951f4fdca2da87418d2047d5fe0ba.

Change-Id: Idba380e97acc07c733eb7fd429b572b314a13fe4

4 years agoe_policy_visibility: check iconify_by_client during uniconify children 74/246674/1
Junseok, Kim [Tue, 3 Nov 2020 04:30:14 +0000 (13:30 +0900)]
e_policy_visibility: check iconify_by_client during uniconify children

Change-Id: Ibbe212d5b247cbdbcb3feb81fb4bc7835b758bcd
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoe_policy_visibility: check iconify_by_client during activate children 16/246616/2 accepted/tizen/unified/20201103.123330 submit/tizen/20201103.033023
Junseok, Kim [Mon, 2 Nov 2020 11:54:55 +0000 (20:54 +0900)]
e_policy_visibility: check iconify_by_client during activate children

Change-Id: I81ab7785bf34529e137172c755cd1cb377659c44
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoRevert "e_client: use e_client_cdata_get instead of using ec->comp_data." 70/246670/1
SooChan Lim [Tue, 3 Nov 2020 02:27:50 +0000 (11:27 +0900)]
Revert "e_client: use e_client_cdata_get instead of using ec->comp_data."

This reverts commit 7f6b3211a4fd1b6b9ea2d76ae0264fdba3156f4a.

Change-Id: I9cc60c45d2d11b9bbd57942672dd3ea7ac7656ba

4 years agoRevert "e_comp_wl_shell: do not check if cdata is null" 69/246669/1
SooChan Lim [Tue, 3 Nov 2020 02:25:32 +0000 (11:25 +0900)]
Revert "e_comp_wl_shell: do not check if cdata is null"

This reverts commit 1678a6c3e4adb923f28809dffd51f60e74efe4e7.

Change-Id: I7baef2c1f5ac53918d00628fc0d98bd716a7692c

4 years agoRevert "e_client: use e_client_mapped_get() instead of cdata->mapped." 68/246668/1
SooChan Lim [Tue, 3 Nov 2020 02:25:20 +0000 (11:25 +0900)]
Revert "e_client: use e_client_mapped_get() instead of cdata->mapped."

This reverts commit bb8e727c1a0d539bc179bf274096abf42ce107b6.

Change-Id: Ifebdcb01720bfcf20f178761b857941433fa17dd

4 years agoRevert "e_client: use e_client_first_mapped_get() function instead of ec->first_mapped" 67/246667/1
SooChan Lim [Tue, 3 Nov 2020 02:24:52 +0000 (11:24 +0900)]
Revert "e_client: use e_client_first_mapped_get() function instead of ec->first_mapped"

This reverts commit a3c87d6c955548848b2a3f8351c9f4ffde4c8915.

Change-Id: I7673e23f79be45238c1ac9dea07eb01d4badc047

4 years agoRevert "e_client: use e_client_mapped_set() function" 66/246666/1
SooChan Lim [Tue, 3 Nov 2020 02:24:33 +0000 (11:24 +0900)]
Revert "e_client: use e_client_mapped_set() function"

This reverts commit f5e6e1fc8f2a65774233529ced93d06ab5d191a5.

Change-Id: Id73e777960fe9a46dffa8dbcfb81d578873e49fb

4 years agoRevert "subsurface: fix mistake caused by previous patch." 65/246665/1
SooChan Lim [Tue, 3 Nov 2020 02:23:48 +0000 (11:23 +0900)]
Revert "subsurface: fix mistake caused by previous patch."

This reverts commit a1cc2617a4c8c9d38e25fe5c5603a41e60a39ef8.

Change-Id: Ibd488f567dab0edba993053ae7a46690997c6479

4 years agoRevert "subsurface: fix unreachable code." 64/246664/1
SooChan Lim [Tue, 3 Nov 2020 02:23:42 +0000 (11:23 +0900)]
Revert "subsurface: fix unreachable code."

This reverts commit 34419db7788634f34bb3e819dfb8ba6c4a46a1d3.

Change-Id: I2c4c286a74de94c1782c8d9391ff6255a6ee2584

4 years agoRevert "e_comp_wl_input: check ec's cdata before accessing it" 63/246663/1
SooChan Lim [Tue, 3 Nov 2020 02:23:08 +0000 (11:23 +0900)]
Revert "e_comp_wl_input: check ec's cdata before accessing it"

This reverts commit 59202013a86d14b7eee5a38eb3927d63f59b6716.

Change-Id: I59f0d3b63cf26b755b9c457bb07205919531a0f3

4 years agoRevert "e_policy_wl: fix resource leak" 62/246662/1
SooChan Lim [Tue, 3 Nov 2020 02:23:02 +0000 (11:23 +0900)]
Revert "e_policy_wl: fix resource leak"

This reverts commit 55306931a567e31a843c766a151500cb7aa95e5e.

Change-Id: I053c64ad5214ec9b439a286073bc3d367fadc4ad

4 years agoRevert "e_comp_wl: remove unreached code." 61/246661/1
SooChan Lim [Tue, 3 Nov 2020 02:22:56 +0000 (11:22 +0900)]
Revert "e_comp_wl: remove unreached code."

This reverts commit 386494e639ba141a7a47f2cc11eb522bb5615c69.

Change-Id: I729e624264299e913f059b46c3e449f0d24bb12b

4 years agoRevert "e_client: fix the dereferenced data" 60/246660/1
SooChan Lim [Tue, 3 Nov 2020 02:22:51 +0000 (11:22 +0900)]
Revert "e_client: fix the dereferenced data"

This reverts commit b40e2c03385173a36e20563e39e900c10b5fc08c.

Change-Id: Ie726329b3c346114f6d84ba4a2865e0611c08073

4 years agoRevert "e_comp_object: fix the unreached code" 59/246659/1
SooChan Lim [Tue, 3 Nov 2020 02:22:49 +0000 (11:22 +0900)]
Revert "e_comp_object: fix the unreached code"

This reverts commit 51a780029c06abc0b6777ae3bfeaacdea660bd3b.

Change-Id: I0d2cad881f585a45b38fc01f3095494fcc97b171

4 years agoRevert "e_xdg_shell_v6: fix the dereferenced data" 58/246658/1
SooChan Lim [Tue, 3 Nov 2020 02:22:46 +0000 (11:22 +0900)]
Revert "e_xdg_shell_v6: fix the dereferenced data"

This reverts commit 51784681bdb849b97982f0335dd197c6715e467c.

Change-Id: I4a45a7685457b42096ca9dcde09aeeed319867fb

4 years agoRevert "e_policy_wl: add null check code" 57/246657/1
SooChan Lim [Tue, 3 Nov 2020 02:22:44 +0000 (11:22 +0900)]
Revert "e_policy_wl: add null check code"

This reverts commit 28a0b5ece733d06ca2540c3ede8edd3f59ea1338.

Change-Id: I91a3eeac3dff2ba0100964d41124e9ebd5e31f91