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
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
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
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
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
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
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
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
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
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
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
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
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
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>
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>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
SooChan Lim [Tue, 3 Nov 2020 02:22:42 +0000 (11:22 +0900)]
Revert "e_xdg_shell: add null check code"
This reverts commit
be3a76a570cf8794cfae96528b3cfccf320269db.
Change-Id: Ibfacc3c412b1b1a81433b2fee878234499080ab6
Doyoun Kang [Mon, 2 Nov 2020 10:00:12 +0000 (19:00 +0900)]
e_xdg_shell: add null check code
Change-Id: Icfb405598ca852255e7cac356db37518aaaafb29
Doyoun Kang [Mon, 2 Nov 2020 09:59:52 +0000 (18:59 +0900)]
e_policy_wl: add null check code
Change-Id: I61a5bd5b9dbdfc1cf012a2d2c02acaa75b77b139
SooChan Lim [Mon, 2 Nov 2020 09:02:01 +0000 (18:02 +0900)]
e_xdg_shell_v6: fix the dereferenced data
Change-Id: Iac5e1c349df5930d8411b23f7915c5f55e57cb56
SooChan Lim [Mon, 2 Nov 2020 08:53:42 +0000 (17:53 +0900)]
e_comp_object: fix the unreached code
Change-Id: Ib0ed0c1461d8a7efe44f8b0de5c667c0d124b160
SooChan Lim [Mon, 2 Nov 2020 08:51:58 +0000 (17:51 +0900)]
e_client: fix the dereferenced data
Change-Id: I2bc1cfe11eaa80b96b27086dfffd194c934e5b90
SooChan Lim [Mon, 2 Nov 2020 08:48:26 +0000 (17:48 +0900)]
e_comp_wl: remove unreached code.
Change-Id: Ia614dc818a09fe3034b8fa1834b450282a592194
Doyoun Kang [Mon, 2 Nov 2020 08:35:45 +0000 (17:35 +0900)]
e_policy_wl: fix resource leak
Change-Id: Id581a191ddc29a8693c63e0bbdd89b7767190322
Doyoun Kang [Mon, 2 Nov 2020 08:26:32 +0000 (17:26 +0900)]
e_comp_wl_input: check ec's cdata before accessing it
Change-Id: I8795c6fbd2e7f67987c659eb9f71afba85816e92
Doyoun Kang [Mon, 2 Nov 2020 08:07:41 +0000 (17:07 +0900)]
e_policy_wl: raise window which is not set lock_user_stacking in e_policy_wl_activate
Change-Id: I3f541f1bcf3e1e473e7a7ffc3d4eaf43d94ea1ad
Seunghun Lee [Fri, 30 Oct 2020 03:08:10 +0000 (12:08 +0900)]
subsurface: fix not being able to update stack by place_below_parent.
This problem was caused by the following patch I made for the reason that
described in the commit message.
===
commit
3d028b1c348ab53170b4f6e70ebe0794de14ff8d
Author: Seunghun Lee <shiin.lee@samsung.com>
Date: Thu Oct 22 13:41:18 2020 +0900
subsurface: Do not update stacking order of entire sub-surface tree.
===
The stacking order of sub-surface should be actually updated when state
of its immediate parent is applied according to the wl_subsurface
description.
However, 'tizen_policy.subsurface_place_below_parent' seems not to be
designed like that. So, just let 'tizen_policy.subsurface_place_below_parent'
update the stacking order immediately.
Otherwise I think this protocol can't support backward comatibility.
Clients of wayland server must be assuming that changing stacking order by
this protocol will be applied regardless of state of its parent.
Change-Id: I11a7644d16431f612a5674851a40964a48d97bbf
Seunghun Lee [Fri, 30 Oct 2020 04:13:37 +0000 (13:13 +0900)]
subsurface: fix unreachable code.
this problem caused by mistake in previous commit.
Change-Id: I8e8d7dbe42c96817df853b8d8d290efa90cf63f0
Seunghun Lee [Fri, 30 Oct 2020 02:19:54 +0000 (11:19 +0900)]
subsurface: fix mistake caused by previous patch.
It has to raise a protocol error to sub-surface, not its sibling surface.
Change-Id: I6bbe55801807fd1a35eb45d17ff9910e87086c14
Doyoun Kang [Thu, 29 Oct 2020 06:00:14 +0000 (15:00 +0900)]
e_policy_visibility: check above's rot.pending_show flag in _e_vis_ec_above_visible_type
Change-Id: I61fdf81684bb6caa6754a7b85e33364753d34b0d
SooChan Lim [Thu, 29 Oct 2020 07:40:45 +0000 (16:40 +0900)]
e_comp_wl_tizen_hwc: add ec to the log
Change-Id: I71cb1af5061e460e9a66283b216185bfb332113e
SooChan Lim [Thu, 29 Oct 2020 03:26:40 +0000 (12:26 +0900)]
e_client: use e_client_mapped_set() function
Change-Id: I473c8bf1c97de00bbe67ed82f6e13af985158914
SooChan Lim [Thu, 29 Oct 2020 03:19:04 +0000 (12:19 +0900)]
e_client: add e_client_mapped_set() function
Change-Id: Iecdcff771d1be8fba9f1605ae65dc0f8d521f2f5
SooChan Lim [Thu, 29 Oct 2020 03:14:22 +0000 (12:14 +0900)]
e_client: use e_client_first_mapped_get() function instead of ec->first_mapped
Change-Id: I1ad41755ef726e3bb99501a4b26689df4252328e
SooChan Lim [Thu, 29 Oct 2020 00:54:00 +0000 (09:54 +0900)]
e_client: use e_client_mapped_get() instead of cdata->mapped.
use e_client_mapped_get() api to avoid the direct access of ec->cdata->mapped
Change-Id: If3def60bcd4e6bedd371b6c5cc53885cf61652cd
SooChan Lim [Thu, 29 Oct 2020 00:44:09 +0000 (09:44 +0900)]
e_client: add e_client_mapped_get() function.
Change-Id: I01604ba714dc2726ccc389a6e011ab213cc13318
SooChan Lim [Thu, 29 Oct 2020 00:54:21 +0000 (09:54 +0900)]
e_comp_wl_shell: do not check if cdata is null
Change-Id: I49014c62752ef010f646f44eaccbacf08231ea9b
SooChan Lim [Thu, 24 Sep 2020 01:07:45 +0000 (10:07 +0900)]
e_comp_wl: change the variable name of E_Comp_Wl_Data type from cdata to wl_cdata
E20 is going to use the naming rule for E_Comp_Wl_Data and E_Comp_Client_Wl_Data below.
The local var_name for E_Comp_Wl_Data is wl_cdata.
The local var_name for E_Comp_Client_Wl_Data is cdata.
Change-Id: I8a7051d9829670ea5bac4252c64a2859586160a2
SooChan Lim [Thu, 24 Sep 2020 00:00:44 +0000 (09:00 +0900)]
e_client: use e_client_cdata_get instead of using ec->comp_data.
E20 can gets the E_Comp_Wl_Client_Data of E_Client by e_client_cdata_get function.
Change-Id: Ib4b825871ad82251384dc2d44b9a16b5b6e2a498
SooChan Lim [Wed, 23 Sep 2020 23:57:11 +0000 (08:57 +0900)]
e_client: add e_client_cdata_get function
The e_client provides e_client_cdata_get() function.
A user can get the ec->comp_data with this function.
Change-Id: I2c5206d4b2d311d283303478a66016cc1cacb7ca
SooChan Lim [Wed, 23 Sep 2020 23:52:42 +0000 (08:52 +0900)]
e_pixmap: use E_Comp_Wl_Client_Data instead of E_Comp_Client_Data.
E_Comp_Client_Data will be deprecated.
Change-Id: Ia9b1b25114fbae8cb4c52b5c94109f66dc5f7871
SooChan Lim [Wed, 23 Sep 2020 23:47:26 +0000 (08:47 +0900)]
e_client: use E_Comp_Wl_Client_Data instead of E_Comp_Client_Data.
E_Comp_Client_Data will be deprecated.
Change-Id: I6a9193edef91cc4731dd1a6784ff07d485538ed7
SooChan Lim [Wed, 23 Sep 2020 23:43:47 +0000 (08:43 +0900)]
e_comp: E_Comp_Wl_Client_Data is used instead of E_Comp_Client_Data.
E_Comp_Client_Data will be deprecated. E_Comp_Client_Data is the same definition as E_Comp_Wl_Client_Data.
Use E_Comp_Wl_Client_Data intead of this.
Change-Id: I330f131efc1982fa8b65add043e32a32166bb42e
Junkyeong Kim [Thu, 8 Oct 2020 08:06:20 +0000 (17:06 +0900)]
e_output: set output's dpms state to off if silent boot mode
Change-Id: Ib178fc8631b5763c0b31460f5c93a7951e59015d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 7 Oct 2020 11:09:42 +0000 (20:09 +0900)]
video: do not use pp if tdm pp does not support csc or rotation
Change-Id: I29e80bfc7ee8b81e29820abe05fee3fc45abf33b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junseok, Kim [Wed, 28 Oct 2020 09:21:09 +0000 (18:21 +0900)]
e_policy_wl: check E_Appinfo is already exist when appinfo_register_pid
Change-Id: I6db38984b178a11fc84a3bb798d09d03175c507b
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
Junseok, Kim [Tue, 27 Oct 2020 07:35:38 +0000 (16:35 +0900)]
e_appinfo: Delete E_Appinfo at compositor unbind instead of tzpol, tzlaunch_appinfo unbind.
The tizen_policy and tizen_launch_appinfo unbind can called by client when the client launching.
Since the E_Appinfo is removed at this time and re-created later, the base_output_resolution could not work properly.
For fix this issue, delete E_Appinfo when the compositor unbind callback called.
And added the E_Appinfo_Owner for recognize the E_Appinfo is created by client or server.
The E_Appinfo that created by client, will be destroyed at deregister_pid/appid request callback.
The others that created by server, will be destroyed at compositor unbind.
Change-Id: Id97ab328bc7a8a7ff97455d33f8b72c720b3b56b
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
Junseok, Kim [Tue, 27 Oct 2020 07:34:26 +0000 (16:34 +0900)]
e_appinfo: remove duplicated E_Appinfo when pid/appid set
Change-Id: I5b2f2e20dcf566a54e4f25532ededdf8cbb19e8e
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
Changyeon Lee [Tue, 27 Oct 2020 07:56:33 +0000 (16:56 +0900)]
e_hwc_windows: support TDM_HWC_COMMIT_INTERVAL_VBLANK
if tdm_backend set TDM_HWC_COMMIT_INTERVAL_VBLANK, enlightenment call
tdm_hwc_commit per vblank.
Change-Id: I34e8689aab1f463797c6eb2b9ee733f17ebc8c11
Changyeon Lee [Mon, 12 Oct 2020 06:42:16 +0000 (15:42 +0900)]
e_comp_wl_tbm: use capturable buffer at capture to file
Change-Id: I13b28b64196d58fe066e6ed82dbdd3c78e72172b
Changyeon Lee [Mon, 12 Oct 2020 06:41:24 +0000 (15:41 +0900)]
e_comp_wl_tbm: add module func set/unset
add capturable_buffer_get func and
e_comp_wl_tbm_capturable_buffer_get api
Change-Id: I5b95351b514858e44d807513bbfe5f99a9ff2890
Changyeon Lee [Thu, 8 Oct 2020 05:23:41 +0000 (14:23 +0900)]
e_hwc_windows: don't commit after dpms is set OFF
Change-Id: I83605aa4d979e73090f9c406947b88b30383950b
Seunghun Lee [Tue, 27 Oct 2020 02:27:16 +0000 (11:27 +0900)]
subsurface: Add a function to link sub-surface to its parent.
no functional change.
Change-Id: Ic683c270587463be3640ff93a278f43daa7c572a
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: I1565783a416ba9a6367b4a34b75c759a514f8572
Seunghun Lee [Thu, 22 Oct 2020 09:01:47 +0000 (18:01 +0900)]
subsurface: Remove some unnecessary internal API for sub-surface.
If stacking order of sub-surfaces changes, there is no choice but to
update stacking order of composite objects associated with sub-surfaces.
So stacking order of composite objects can be updated when order is
applied. By doing this, internal API for re-stacking composite objects
and below_obj can be removed.
Change-Id: I26a305078ad2fd708e7dcba0ef154077a7829876
Seunghun Lee [Thu, 22 Oct 2020 04:41:18 +0000 (13:41 +0900)]
subsurface: Do not update stacking order of entire sub-surface tree.
Accoding to the description of wl_subsurface, stacking order of the
parent and its sub-surfaces is applied when the parent surface's
wl_surface state is applied, regardless of the sub-surface's mode.
However enlightenment updates stacking order of the topmost parent and
its sub-surfaces when any wl_surface(in the tree) state was applied.
This is the point that is different with the description.
This patch corrects it.
Here is a possible problem without this patch.
Let's say there are surfaces which make up the tree of sub-surfaces:
0
/ \
1(desync) 2
/ \ / \
3 4 5 6
And let's say client writes wayland protocol like this:
wl_subsurface_place_below(4, 3)
wl_subsurface_place_below(2, 1)
wl_surface_commit(1)
wl_display_dispatch(wl_display)
It should only place surface 4 under the surface 3, but should not place
surface 2 under the surface 1 because surface 0's state isn't applied
yet. Without this patch, this code will place surface 2 under the
surface 1 as well.
Change-Id: Icacf0ea171ac898a66c7afa33727be93934544b3
Seunghun Lee [Tue, 20 Oct 2020 09:26:56 +0000 (18:26 +0900)]
e_client: Checks if it's valid operation for sub-surface.
For now wl_surface and wl_subsurface are all mapped to e_client.
e_client_stack_above/below and e_client_raise/lower are for changing
stacking order of e_client as its name says.
In this reason, the functions related to stacking order in e_client
are responsible for checking if it's valid operation for sub-surface
and updating stacking order of sub-surfaces.
Change-Id: I29a3524856ac4cc0151cbaf1221e9bc003e2216a
Seunghun Lee [Mon, 19 Oct 2020 11:15:23 +0000 (20:15 +0900)]
subsurface: Handles restack event only for topmost parent of sub-surface.
This patch removes a handler of restack event in e_comp_wl, and adds it
for topmost parent of sub-surface.
Because it's not necessary to handle restack event for sub-surface.
The reason is as follow.
1. Sub-surface can be re-stacked only by a request from wl_client. In
other words, it shouldn't be re-stacked by compositor policy.
2. A topmost parent of sub-surface can be re-stacked only by compositor
policy.
For these reason, it's sufficient for sub-surface implementation to add
a handler of restack event for topmost parent.
Change-Id: I6874425fd864c83039911dcf4ece75e5d2c8a79b
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: Ie34c7aa9bdc40f813829cdf8dcf39b0035aed5b8
Seunghun Lee [Tue, 6 Oct 2020 05:39:10 +0000 (14:39 +0900)]
video: Remove unused variable.
Change-Id: Ide0dbe776f9f904e9dcb490675caef7183180594
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: I07032ce4c104af53a08346ef520e010bc1c76c4c
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: I16e855c63172311f680f66c72c575e29bd2127f6
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: Id9567bdbaefa8c28378d4a7c67d895b91c7b0d5d
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: I790b6a39cf64c413d8fc17b857c07ff55b646cd0
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: Id5c066f0cd6434353793ed800bbe216ae6d10075
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: I14b5672301aa81f20c49371eed015387de06f866
Doyoun Kang [Wed, 21 Oct 2020 04:58:36 +0000 (13:58 +0900)]
e_client: add feature - show_pending
E supports show_pending feature.
If an ec set show_pending, then e doesn't show it's frame, doesn't calculate visiblity
and doesn't send visibility change event until unsetting show_pending.
- e_client_show_pending_set
- e_client_show_pending_unset
FYI,
if an ec which is running show_pending requests unmap, then e set ec's visibility to
UNOBSCURED. By this, its visibility can be changed to FULLY-OBSCURED by calculating
visibility.
Change-Id: I3fd89b706ac2d93c01248e988d271ac77f03ecb6
Doyoun Kang [Fri, 16 Oct 2020 02:13:28 +0000 (11:13 +0900)]
e_service_quickpanel: remove code not to free qp_clients list when quickpanel service is destroyed
The quickpanel client didn't get state change events (such as visible state of quickpanel service)
after relauching the quickpanel service.
This was because qp_clients list was deleted when the quickpanel service is destroyed.
FYI, The qp_clients list can be deleted when the qp_client is destroyed.
Change-Id: I772e28c76330fff8045822627cc5e42f930a30eb
Doyoun Kang [Thu, 15 Oct 2020 23:41:46 +0000 (08:41 +0900)]
e_policy_wl: send the unreigster event when tzsh_service is destroyed
There was a bug that sents a wrong event (service_register) when a tzsh(tizen-ws-shell)
service window was destroyed.
We fix this to send a service_unregister event.
Change-Id: I2d2efe9b63805f50dcb0d49046955d4dc6782f88
Junseok, Kim [Thu, 15 Oct 2020 10:00:26 +0000 (19:00 +0900)]
e_service_softkey: add null check for allocated pointer
Change-Id: If845d13d4e447e39f0a46c41a8e037db3c413ebd
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
Junseok, Kim [Wed, 14 Oct 2020 12:39:45 +0000 (21:39 +0900)]
e_service_softkey: pending visible request if there is no softkey service
when the softkey service is not launched yet, hide request from client can ignored.
for fix this issue, this patch pending visible request if there is no softkey service.
and restore requset after softkey service launch.
Change-Id: I38c9cd3aa86ffe3638c68d60907fb318d726c884
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
Changyeon Lee [Wed, 7 Oct 2020 07:16:06 +0000 (16:16 +0900)]
e_comp_object: update comp_object when it is shown
if comp object is shown in idle enterer before(E_CLIENT_HOOK_EVAL_FETCH),
it is rendered in idle callback without native surface and
compositor shows an empty frame if other objects aren't shown
because job callback of e_comp called at the next loop.
it causes a visual defect when windows are switched.
Change-Id: I336f5bb0ec941fbd23407a1c7488de25c96a0766
Changyeon Lee [Mon, 5 Oct 2020 11:53:05 +0000 (20:53 +0900)]
e_hwc: add ecore event when hwc property is changed
if hwc property is changed in callback of vconf,
idle enterer callback is called late.
Change-Id: Ie8890fd0d240eaa62054998593a01d662c0d17e3
Changyeon Lee [Wed, 23 Sep 2020 11:18:54 +0000 (20:18 +0900)]
e_hwc_windows: add e_hwc_sync_callback_add/del
Change-Id: Id04883574406ddc642b2e068479202ffccbb5958
Sung-Jin Park [Wed, 23 Sep 2020 23:30:54 +0000 (08:30 +0900)]
e_info_server: fix to include mcheck.h for mtrace()/muntrace()
Change-Id: I69ea9594e14221508749879b505b39b079008c1b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Sung-Jin Park [Wed, 23 Sep 2020 22:44:27 +0000 (07:44 +0900)]
e_info_server: add NULL check of return value from evas_object_data_get()
Change-Id: I271bbb5385823670c26a9375a608497eca1ffb98
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Sung-Jin Park [Tue, 22 Sep 2020 08:12:55 +0000 (17:12 +0900)]
e_info_server/client: add mtrace option
Change-Id: Ie642ca21c31c7f16bd8cab423133bc26186933c5
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Doyoun Kang [Mon, 21 Sep 2020 07:28:19 +0000 (16:28 +0900)]
e_policy: set ec's lock_client_location to 0 while handling user geometry
There was a bug that the window didn't move when user geometry flag set, unset and set.
This was because the lock_client_location set to TRUE.
So, we fix code to set lock_client_location to FALSE when the user geometry flag is set.
Change-Id: I609f7dd9cbdfde764915bf9a59d39a8a91e1a314
Junkyeong Kim [Fri, 18 Sep 2020 09:20:23 +0000 (18:20 +0900)]
e_info_server: check ec NULL before use
Change-Id: I637abea2c4e1d3c731bdc2febca9b7f860487bf0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Changyeon Lee [Mon, 21 Sep 2020 12:12:05 +0000 (21:12 +0900)]
e_hwc_windows: fix leak commit_data_list of windows
Change-Id: Ib0765f0a714b0bc8285bda9c7ace14cffacb5716
Junseok, Kim [Mon, 21 Sep 2020 07:25:47 +0000 (16:25 +0900)]
e_test_helper: add e_dbus_conn_shutdown for pair with init
Change-Id: Icf780eb0a36e215867c3576dadc797be245a8c2d
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
Junseok, Kim [Mon, 21 Sep 2020 07:22:38 +0000 (16:22 +0900)]
e_info_server: remove duplicated eldbus_shutdown
eldbus already shutdown as e_dbus_conn_shutdown() so remove it.
Change-Id: Idc31bf39262ad1b90a1c22c1b43b0902dfceaf1c
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
Doyoun Kang [Thu, 17 Sep 2020 11:03:36 +0000 (20:03 +0900)]
e_desk: do not apply zoom to window which set zoom_skip property
There was a bug that the window which set a zook_skip property was applied the desk zoom.
This patch fixes it
Change-Id: I69494095a9b864358326daad36f251a8f5585669
Doyoun Kang [Thu, 17 Sep 2020 11:00:59 +0000 (20:00 +0900)]
e_policy: set ec's lock_client_size to 0 while handling user geometry
There was a bug that the window didn't resize when user geometry flag set, unset and set.
This was because the lock_client_size set to TRUE.
So, we fix code to set lock_client_size to FALSE when the user geometry flag is set.
Change-Id: I29f58f81547ceb42b9a30c359f6c9e3436031109
jeon [Wed, 16 Sep 2020 03:31:08 +0000 (12:31 +0900)]
e_devicemgr: remove unused values
Change-Id: Ibffc8f905ebcfc2ae510f555ab3182edb74160cf
jeon [Wed, 16 Sep 2020 03:19:13 +0000 (12:19 +0900)]
e_input: add a option e_wheel_click_angle to increase wheel values
Change-Id: Ie23c0cb766b29c475a74140783cb22199c34d704
Junseok, Kim [Mon, 14 Sep 2020 05:31:14 +0000 (14:31 +0900)]
e_service_quickpanel: don't doing force render if ec is already visible
during the quickpanel is moving, the buffer_change callback called many time.
for reduce burden of force render, skip force render if ec is already visible.
Change-Id: Ic48746ab8408095fb9624ac72bc9c15515813650
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>