SooChan Lim [Tue, 12 Dec 2023 01:04:44 +0000 (10:04 +0900)]
e_desk: add e_desk_bottom_ec_get
This returns the e_client which is at the bottom of e_desk.
Change-Id: I6e7b56f9be89809efad57098d762d41515024ba1
SooChan Lim [Tue, 12 Dec 2023 00:58:19 +0000 (09:58 +0900)]
e_desk: add e_desk_top_ec_get
This returns the e_client which is at the top of e_desk.
Change-Id: I527cec1838e3a3188385f42bfa542c53b3bf5faa
SooChan Lim [Tue, 12 Dec 2023 00:48:28 +0000 (09:48 +0900)]
e_desk_area: add e_desk_area_bottom_ec_get
Change-Id: Ia5fca4072aedeb10dc9e0f8393fc6c5ade1ac58d
SooChan Lim [Tue, 12 Dec 2023 00:43:45 +0000 (09:43 +0900)]
e_desk_area: add e_desk_area_top_ec_get
Change-Id: Ifcb429c45219fb76d243911e33c7c19d7ed85fe8
SooChan Lim [Tue, 12 Dec 2023 00:39:09 +0000 (09:39 +0900)]
e_desk: use e_desk_area_layer_get function
instead of getting edc->layer directly
Change-Id: I5d196b832876d15a5c62d00762b0051d96ef9361
SooChan Lim [Tue, 12 Dec 2023 00:55:36 +0000 (09:55 +0900)]
e_desk: use the api to get the name and the geometry of e_desk_area
avoid to access the member var of structure.
Change-Id: I09c7c227ae64fa07e8cf70ac30c9aa7189eada1c
SooChan Lim [Tue, 12 Dec 2023 00:37:03 +0000 (09:37 +0900)]
e_desk_area: add e_desk_area_name_get
Change-Id: I32dc1540a002ec725f5b636adb1b5a8da6fccdcd
SooChan Lim [Tue, 12 Dec 2023 00:26:47 +0000 (09:26 +0900)]
e_desk_area: make e_comp_layers at e_desk_area
The management of client's layers will be controled
at e_desk_area. This commit is the first one to change
the layer management in e20.
Change-Id: I523acb35c4b2ce43deb94233d95780573fdf6083
SooChan Lim [Mon, 11 Dec 2023 23:09:21 +0000 (08:09 +0900)]
e_desk: remove e_desk_desk_area_get_by_id
It is deprecated.
Change-Id: I04bef319021d0979d235dab914f22bc2aa7cda60
SooChan Lim [Mon, 11 Dec 2023 23:07:08 +0000 (08:07 +0900)]
e_client: rename layer_set to set_layer
Change-Id: Iaeace9266dee26a95aac249f0a0d1648ea0eee21
SooChan Lim [Mon, 11 Dec 2023 09:02:37 +0000 (18:02 +0900)]
e_desk_area: disable the desk_area functions
Before refactoring the desk_area, disable the desk_area functions
which are not used after refactoring.
Change-Id: I7650d0e9792d231ed7cd6754d4ac4469dd3532d8
SooChan Lim [Mon, 11 Dec 2023 08:00:55 +0000 (17:00 +0900)]
e_client: add subsurface_stack_update api
Change-Id: I5154095c3833d55b4fe9ea0e0fd4f2fa8368b05a
SooChan Lim [Thu, 14 Dec 2023 01:15:28 +0000 (10:15 +0900)]
e_desk_area: add/remove client
add listeners to need
Change-Id: Ida7abeff841537c35c14df39df75a24ece94369e
SooChan Lim [Thu, 14 Dec 2023 01:14:46 +0000 (10:14 +0900)]
e_zone: remove the unused code
Change-Id: I063a5f30065f2797123eccfab5f255807af21128
SooChan Lim [Thu, 14 Dec 2023 01:13:30 +0000 (10:13 +0900)]
e_desk: make a base desk_area
add client to the base desk_area and remove client
from the base desk_area
Change-Id: I98be4869d9262cdbff46976171140a38fbc2ba4a
SooChan Lim [Mon, 11 Dec 2023 07:30:02 +0000 (16:30 +0900)]
e_comp_object: make internal lisenter apis
EINTERN void e_comp_object_set_layer_listener_add(Evas_Object *obj, struct wl_listener *listener);
EINTERN void e_comp_object_stack_above_listener_add(Evas_Object *obj, struct wl_listener *listener);
EINTERN void e_comp_object_stack_below_listener_add(Evas_Object *obj, struct wl_listener *listener);
Change-Id: I398e3395ef4ce3c36633121d578de23a87c923a5
SooChan Lim [Mon, 11 Dec 2023 07:28:27 +0000 (16:28 +0900)]
e_client: make internal lisenter apis
EINTERN void e_client_get_above_listener_add(E_Client *ec, struct wl_listener *listener);
EINTERN void e_client_get_below_listener_add(E_Client *ec, struct wl_listener *listener);
EINTERN void e_client_subsurface_stack_update_listener_add(E_Client *ec, struct wl_listener *listener);
Change-Id: I1c35f5903521262a73c7ff4a0e7b95dc9148035b
SooChan Lim [Mon, 11 Dec 2023 07:25:42 +0000 (16:25 +0900)]
e_desk_area: make a smart object for e_desk_area
The smart object contains the e_clients which belong to
this desk_area.
Change-Id: Idf8501eca19c214db246922dd1edb91155887e1e
SooChan Lim [Mon, 11 Dec 2023 05:13:05 +0000 (14:13 +0900)]
e: add REFACTOR_DESK_AREA feature
Change-Id: I5214b9525e5b8a4928ce17fca13dfdd4622c342e
Doyoun Kang [Fri, 19 Jan 2024 10:25:35 +0000 (19:25 +0900)]
e_policy_wl: resize the splash window to screen size if its size is under 1
Change-Id: Ic1493311817e733ef0a3251df390fd14a92bdcc5
Jihoon Kim [Wed, 17 Jan 2024 09:16:05 +0000 (18:16 +0900)]
e_input: Remove libinput mutex
Change-Id: I98a0b7f032f6d4add88b876d1060d07339223b55
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Doyoun Kang [Thu, 18 Jan 2024 10:34:29 +0000 (19:34 +0900)]
packaging: Update version to tz9_4.0.1
Change-Id: Iedddb2909604b581fc519cd6828b7dc4e30f1074
Doyoun Kang [Thu, 18 Jan 2024 06:56:27 +0000 (15:56 +0900)]
e_zone: modify code to check ec->iconic and iconify_by_client in calculate visibility
There was a bug that the visibility was calculated before changing iconic state.
So, we add code to check both ec->iconic and iconify_by_client values.
Change-Id: Ie2a36d23e0ba2041086b7abb10a1d0b7401e6529
Seunghun Lee [Thu, 4 Jan 2024 08:20:54 +0000 (17:20 +0900)]
e_comp_wl: Remove legacy code
This patch removes the duplicate code that handles the mapped state of
E_Client in the commit handler.
It also eliminates the unnecessary
e_client_hide_with_pending_show_cancel() function which has been
superseded by a newer version of e_client_hide().
Change-Id: I03c43af973725e2850c9e08177b86e3e688e3a80
Seunghun Lee [Tue, 5 Dec 2023 06:19:58 +0000 (15:19 +0900)]
e_client: Introduce e_client_{show,hide}
In this commit, we have added two new APIs - `e_client_show()` and
`e_client_hide()` - to enhance code organization and readability.
Change-Id: I9c614f49d007668ec5961ff5d6064d8fb47d1b23
Seunghun Lee [Tue, 5 Dec 2023 02:01:00 +0000 (11:01 +0900)]
e_client: Add e_client_shell APIs and refactor
This commit introduces a new set of APIs under the `e_client_shell`
namespace, which are designed to provide an easier and more intuitive
way to interact with the shell component in the e_client.
These APIs replace the previous approach of directly accessing
`ec->comp_data->shell`, resulting in improved code organization and
maintainability.
Change-Id: Iec4c951b8e0acc51cbccc310fcc8edf40232fd95
Doyoun Kang [Wed, 17 Jan 2024 09:05:00 +0000 (18:05 +0900)]
e_client: deprecate some values of E_Client
Change-Id: I5855b9b53f14f7c511129bee0c1b0927a465bc35
Doyoun Kang [Wed, 17 Jan 2024 07:59:44 +0000 (16:59 +0900)]
e_client/e_comp_cfdata: deprecate urgent value
Change-Id: I1bcd96f020394b019d257c6d819bd300670b9d1b
Doyoun Kang [Wed, 17 Jan 2024 07:50:01 +0000 (16:50 +0900)]
e_client: deprecate some values of icccm in E_Client
Change-Id: I9da6dd64bb9384cf937b15a39b0a1717779ebff1
Doyoun Kang [Wed, 17 Jan 2024 00:52:11 +0000 (09:52 +0900)]
packaging: Update version to tz9_4.0.0
Change-Id: Ieaec55e84b6ae877797e8aab6e6a1cf3bdb2c8b9
Doyoun Kang [Tue, 16 Jan 2024 10:00:39 +0000 (19:00 +0900)]
e_client: deprecate some values of netwm in E_Client
Change-Id: Id5561c716d908c2951d5be16c26a11c29eab685f
Doyoun Kang [Tue, 16 Jan 2024 09:33:11 +0000 (18:33 +0900)]
e_client: deprecate ignore_first_unmap value using EINA_DEPRECATED
Change-Id: Ia4967bd7a6177f7266539b583d9f2ca4d5cef840
Doyoun Kang [Tue, 16 Jan 2024 09:30:08 +0000 (18:30 +0900)]
deprecate the pending_resize in E_Client and the E_Client_Pending_Resize
Change-Id: I3ef8ed05901d61b058da701e592f61cb17246ba8
review-bot [Tue, 16 Jan 2024 08:23:26 +0000 (17:23 +0900)]
Fix typo
Change-Id: I6b9e135c7b6f4d55267e0c6d10096eb6c3282234
Changyeon Lee [Tue, 16 Jan 2024 06:10:41 +0000 (15:10 +0900)]
e_hwc_window: add E_HWC_WINDOW_RESTRICTION_QUEUE_UNSET_WAITING
after hwc use thread for copying backup buffer, hwc_window can
have queue buffer even if it unset queue.
it occurs flickering in below case.
1. hwc set DV state to window
2. tdm backend set CL state to window
3. evas compositor render with window at buffer 1
3. window 1 has queue buffer even if queue is unset
4. tdm backend set DV state to window because window 1 has queue buffer
5. evas compositor render without window at buffer 2
6. copy thread update buffer of window and tdm backend set CL state
7. hwc set CL state to window and commit buffer 1 at target window
8. hwc commit buffer 2 and window has flickering because it is not
rendered in buffer 2
so hwc restrict device state if hwc window is queue unset wait state.
Change-Id: I80c79d8e9276a2a0c8d296e53c16aaadd02633db
Doyoun Kang [Tue, 16 Jan 2024 00:25:12 +0000 (09:25 +0900)]
e_xdg_shell_v6: fix bug for updating min_max size
Change-Id: I85e8265a27391f975306ebb0a1997c6bf938273b
Doyoun Kang [Mon, 15 Jan 2024 07:54:07 +0000 (16:54 +0900)]
e_client: deprecate ignore_first_unmap value in E_Client
Change-Id: I038d612093be846cb1ad6feda93932027fe7c2f0
Doyoun Kang [Fri, 12 Jan 2024 04:47:19 +0000 (13:47 +0900)]
packaging: Update version to tz9_3.0.1
Change-Id: I007c529299b33667cd16d4a254dfb9b5e94c74b4
Inhong Han [Thu, 11 Jan 2024 06:51:57 +0000 (15:51 +0900)]
Fix deadlock issue when a keyboard is unbound
When the main thread flushes events, it destroys a client and unbinds a
keyboard. When the keyboard is unbound, the main thread locks a keyboard
resource/focused mutex, which can cause a deadlock if the input thread
also locks the same mutex and requests main thread boosting.
Therefore, the main thread should not be boosted while the input thread
has locked the keyboard resource/focused mutex.
Change-Id: I3466b9c05617f21a5223afba01be35fe769273d5
Jihoon Kim [Thu, 11 Jan 2024 10:37:18 +0000 (19:37 +0900)]
e_keyrouter: add missing grab key mutex
Change-Id: If85f3a39224c54615b9d8fb381227458c4c22123
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Doyoun Kang [Thu, 11 Jan 2024 05:52:31 +0000 (14:52 +0900)]
packaging: Update version to tz9_3.0.0
Change-Id: I3c4cfc1694be963ce6fea3aa54132af647f56e83
Doyoun Kang [Wed, 10 Jan 2024 10:18:11 +0000 (19:18 +0900)]
remove code related with E_Client's mwm value
Change-Id: I5d99f836d2aacc284f26a6b65436fc381fae4054
Doyoun Kang [Wed, 10 Jan 2024 08:58:22 +0000 (17:58 +0900)]
remove code related with E_Comp_Object's shade/unshade
Change-Id: Ifb1da35839108aeaa56fe54d7509ae46de84bc01
Doyoun Kang [Wed, 10 Jan 2024 08:52:52 +0000 (17:52 +0900)]
remove code related with ec->changes.shading/shaded
Change-Id: Id88875e3cdcf7273505b2e31dee319aee8a82414
Doyoun Kang [Wed, 10 Jan 2024 08:39:37 +0000 (17:39 +0900)]
remove code related with ec->shading
Change-Id: I33c0f8d68e69f9609227ae11866dd90dae936613
Doyoun Kang [Wed, 10 Jan 2024 08:26:00 +0000 (17:26 +0900)]
remove code related with ec->shaded
Change-Id: Ie195b353c8be29d414cacfd42506e49c16196fbb
Doyoun Kang [Wed, 10 Jan 2024 08:04:05 +0000 (17:04 +0900)]
remove code related with lock_client_shade
Change-Id: Ifb0eb91025d9cae1a50c218b038c3ad4793b32b6
Doyoun Kang [Wed, 10 Jan 2024 08:01:59 +0000 (17:01 +0900)]
remove code related with lock_user_shade
Change-Id: Ice4c3b29922e65837c13ee6be7f268cca2e669b9
Doyoun Kang [Wed, 10 Jan 2024 07:35:01 +0000 (16:35 +0900)]
remove e_client_shade/unshade EINTERN APIs
Change-Id: I8796c45f9b13207783bc41d051f838db99d584ba
Doyoun Kang [Wed, 10 Jan 2024 00:29:50 +0000 (09:29 +0900)]
packaging: Update version to tz9_2.0.0
Change-Id: If9e131a9e6cfd26129e49b11faf735bfec5a4210
Seunghun Lee [Tue, 9 Jan 2024 05:52:35 +0000 (14:52 +0900)]
e_info_client: Remove dump_video
The dump_video function in e_info_client relies on the
capi-media-streamrecorder library which is scheduled for deprecation.
As such, maintaining this function is no longer feasible and it should
be removed.
Change-Id: Ia1f147831f3aac6c413ca4b2d138c8b8cf7b369f
Seunghun Lee [Tue, 26 Dec 2023 01:11:13 +0000 (10:11 +0900)]
Integrate E_Comp_Wl_Buffer code into e_comp_wl_buffer
Previously, the code related to E_Comp_Wl_Buffer was spread across
multiple files.
This patch integrates all relevant code into a single file,
e_comp_wl_buffer.c, for better organization and maintainability.
Change-Id: I67f7803808c81bd967160b0a428b6af23a4b9420
Changyeon Lee [Thu, 4 Jan 2024 09:43:28 +0000 (18:43 +0900)]
e_comp_wl_tbm: add egl_image_buffer_get_with_flags to E_Comp_Wl_Tbm_Funcs
Change-Id: I3cfe6edd34e3ca4e318e0affad41ad20cc3b668a
Inhong Han [Mon, 8 Jan 2024 04:55:53 +0000 (13:55 +0900)]
Fix issue detected by static analysis tool
Change-Id: Ic091c27710942ced633611ae75afbdb8f4d8d4ab
Changyeon Lee [Mon, 8 Jan 2024 06:51:27 +0000 (15:51 +0900)]
e_hwc_window: remove dead code
Change-Id: I5816ab9e0c41613ef4faed548ce9fc0789d0efc5
Changyeon Lee [Fri, 5 Jan 2024 02:58:08 +0000 (11:58 +0900)]
e_hwc_window: fix the below_transparent_obj geometry when ec is transformed
fix mismatch geometry of ec and the below_transparent_obj
Change-Id: Ifb53f1c1e7f71e0e5a272587a97e6bbe3ec9e115
Changyeon Lee [Thu, 4 Jan 2024 08:12:38 +0000 (17:12 +0900)]
e_hwc_window: do not add the below_transparent_obj to smart member of comp object
if color of comp object is set transparent when it is redirected,
the below_transparent_obj is not rendered in evas.
Change-Id: I8498e50effbdc788382a3dea5dd247e45bdab1a3
Jihoon Kim [Thu, 4 Jan 2024 04:14:39 +0000 (13:14 +0900)]
e_input_evdev: add timestamp in relative move log
Change-Id: Iee76385c14d3377a1b7046b2913058de4e23375e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Doyoun Kang [Thu, 4 Jan 2024 03:40:02 +0000 (12:40 +0900)]
packaging: Update version to tz9_1.0.1
Change-Id: Id61585c08d76f2a4409f3ef0c316501fa59e023d
Seunghun Lee [Wed, 3 Jan 2024 05:38:30 +0000 (14:38 +0900)]
e_comp_wl_buffer: Fix null dereference
The return value of ds_buffer_get_resource() can be null if the
wl_resource of wl_buffer has been destroyed.
This patch addresses this issue by properly checking for a null return
value and handling it accordingly.
Change-Id: I3c4afe568d2c44f051db8bc5762f10207f558f84
Jihoon Kim [Tue, 2 Jan 2024 02:48:20 +0000 (11:48 +0900)]
e_devicemgr: add missing mutex for device_list
missing_lock: Accessing e_devicemgr->device_list without holding lock _E_Devicemgr.device_list_mutex.
Elsewhere, _E_Devicemgr.device_list is written to with _E_Devicemgr.device_list_mutex held 2 out of 4 times
(2 of these accesses strongly imply that it is necessary).
Change-Id: I27bd2c6d7f1dd40cb18291164b87d9d75746c407
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Tue, 2 Jan 2024 02:54:14 +0000 (11:54 +0900)]
e_input: add missing mutex for keymap
missing_lock: Accessing e_comp_wl->xkb.keymap without holding lock _E_Comp_Wl_Data.xkb.keymap_mutex.
Elsewhere, _E_Comp_Wl_Data.xkb.keymap is written to with _E_Comp_Wl_Data.xkb.keymap_mutex held 3 out of 4 times (1 of these accesses strongly imply that it is necessary).
Change-Id: I9e682d9b3a8862b92e789ddac9eb9eb82177527d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Tue, 2 Jan 2024 03:01:35 +0000 (12:01 +0900)]
e_comp_wl_input: add missing mutex for xkb.state variable
missing_lock: Accessing e_comp_wl->xkb.state without holding lock _E_Comp_Wl_Data.xkb.state_mutex.
Elsewhere, _E_Comp_Wl_Data.xkb.state is written to with _E_Comp_Wl_Data.xkb.state_mutex held 5 out of 5 times.
Change-Id: Id85216287e5644f276fbeb80e615bd5df7816e1f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Changyeon Lee [Tue, 2 Jan 2024 03:22:27 +0000 (12:22 +0900)]
e_hwc_windows: fix missing present feedback callback when queue is cleared
if queue is cleared when state of target window is none, present feedback
callback of queue buffer is missed until queue buffer is resued.
this patch move present feedback callback to target window when
queue is cleared.
Change-Id: Idfcddad5b01478a3439ad790a1c8dc8af4f93c90
SooChan Lim [Fri, 29 Dec 2023 04:28:24 +0000 (13:28 +0900)]
packaging: Update version to tz9_1.0.0
Change-Id: I57c7dfde984d2461da795720cb3330a2e6eeede9
Doyoun Kang [Thu, 28 Dec 2023 07:05:07 +0000 (16:05 +0900)]
packaging: Update version to tz8_13.5.0
Change-Id: I2f996c555ac88d1389daa90230371bfaaa825014
duna.oh [Wed, 27 Dec 2023 03:10:05 +0000 (12:10 +0900)]
e_devicemgr: make device resource inert when device is removed
Change-Id: I5dc879503734f934180c7427036e121ca46470f3
duna.oh [Wed, 27 Dec 2023 09:34:15 +0000 (18:34 +0900)]
e_devicemgr_inputgen: give more time waiting for a device to become ready
Change-Id: I4ad17d67addf58132780f038bd31b97cc34b2cb0
Doyoun Kang [Wed, 27 Dec 2023 01:12:51 +0000 (10:12 +0900)]
e_comp_wl_shell/e_policy: apply transient_for stack when the window is mapped
Change-Id: Ie17b5d7d09ff7cb5a885c14bd0c07469d132d26c
Joonbum Ko [Tue, 19 Dec 2023 04:33:09 +0000 (13:33 +0900)]
e_keyrouter: call connection_lock/unlock when sending events in keyrouter
- When callsing some protocol that causes wl_resource_post_event,
if the main thread locks the connection_mutex and becomes runnable status
due to CPU contention, the input thread waits at the mutex lock
inside wayland.
- e_comp_wl_connection_mutex_lock() will call boostig API
for main thread when its trylock has been failed.
Change-Id: I320d910f1307d6a895943fc89f369f607c9ca850
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
Joonbum Ko [Tue, 19 Dec 2023 04:20:09 +0000 (13:20 +0900)]
e_input: generalize boost mutex function and move it to e_input
- Moved the implementation of e_comp_wl_connection_lock/unlcok to e_input
- It was modified to receive GMutex* as a parameter so that boosting
can be called for other mutexes.
- If the input thread ID set, save the thread_id using pthread_setspecific.
- If the return value of pthread_getspecific is NULL,
it is determined that it is not input thread, and it will not call
boosting for main thread when trylock failed.
Change-Id: I19151d9248ec31723d45ebd422eb8dc9dc67e9fa
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
Seunghun Lee [Tue, 26 Dec 2023 01:14:46 +0000 (10:14 +0900)]
e_comp_wl_buffer: Drop usage of deprecated field
The 'debug_info' field is no longer used.
Change-Id: Ib38062146d46d7c2dbf8253604413e615654b292
Jihoon Kim [Thu, 21 Dec 2023 10:15:45 +0000 (19:15 +0900)]
e_input: fix memory leak issue detected by static analysis tool
Change-Id: I866aef6cded6ed0afcbbd7ee6424004769c76e08
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Thu, 21 Dec 2023 09:26:07 +0000 (18:26 +0900)]
e_devicemgr: fix concurrent data access issue
Unlocking &e_devicemgr->device_list_mutex.
dev might now be unreliable because other threads can now change the data that it depends on.
Change-Id: I53de501197737d4f37768cf8cef2e06282ce7224
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Doyoun Kang [Thu, 21 Dec 2023 05:51:35 +0000 (14:51 +0900)]
packaging: Update version to tz8_13.4.0
Change-Id: I034cd1edce1e3aefbca5c1d84374c729d8a31971
Inhong Han [Thu, 21 Dec 2023 04:47:43 +0000 (13:47 +0900)]
Fix build error in 64bit architecture
Change-Id: I8aa149f81f19e705a946fdc09f09784924c04751
Seunghun Lee [Wed, 20 Dec 2023 01:22:21 +0000 (10:22 +0900)]
e_comp_wl_buffer: Use ds_buffer_get_size()
Previously, the size of E_Comp_Wl_Buffer was set manually.
This patch uses ds_buffer_get_size() to obtain the size of the buffer
instead.
Change-Id: I592122a13a0551dd7f15b9752639fd7de2129958
Seunghun Lee [Tue, 19 Dec 2023 09:12:03 +0000 (18:12 +0900)]
e_comp_wl_buffer: Deprecate 'debug_info' field
The 'debug_info' field in E_Comp_Wl_Buffer is no longer used nor useful.
This patch deprecates it, and its actual removal will be carried out in
the future along with other deprecated fields.
Change-Id: Ia90103ee783053d69d06f9c24d44610fda9a6c0d
Seunghun Lee [Tue, 14 Nov 2023 06:59:45 +0000 (15:59 +0900)]
e_comp_wl_buffer: Drop outdated comments
Change-Id: I714b0a97cd61584f3e226400daa9eed4f9802c48
Seunghun Lee [Tue, 14 Nov 2023 04:01:40 +0000 (13:01 +0900)]
e_comp_wl_buffer: Deprecate 'native buffer type'
The 'native buffer type' has become obsolete and is no longer needed.
This commit removes support for this buffer type.
We can reimplement this feature if it becomes necessary again in the
future, and we would have to implement this feature in libds library as
a backend of ds_buffer.
Change-Id: Ib953ced94a9d7d1f1c0e7e3f42cc3bbaed14687d
Seunghun Lee [Tue, 14 Nov 2023 03:53:36 +0000 (12:53 +0900)]
e_comp_wl_buffer: Deprecate wayland_tbm_server_increase_buffer_sync_timeline()
The `buffer_sync_timeline` feature appears to have been deprecated and
is no longer required. This commit removes the call to
wayland_tbm_server_increase_buffer_sync_timeline() to simplify the code.
If this feature becomes necessary again in the future, we can revisit
its implementation at that time.
Change-Id: Ia83ecad4c45a7dd8f7ebbe9ea15a1bbe667914e3
Seunghun Lee [Tue, 7 Nov 2023 07:11:53 +0000 (16:11 +0900)]
e_comp_wl_buffer: Refactoring for better code organization
* Extracted common functionality into separate functions for readability
* Removed an unnecessary call to wl_buffer_send_release()[1]
* Made other minor changes for readability
[1]: Since `E_Comp_Wl_Buffer` has been created with ds_buffer, using
wl_buffer_send_release to send a release message is no longer necessary.
The backend implementation of ds_buffer will handle this automatically.
Change-Id: Ica32684c2a74be6d6e7aa1046ba446d8b1f29d56
Seunghun Lee [Tue, 7 Nov 2023 07:03:15 +0000 (16:03 +0900)]
e_comp_wl_buffer: Use wl_container_of instead of casting
Change-Id: I4c8e7cd7ac12a9d88bb4f6db044edd30f431a54c
Seunghun Lee [Mon, 6 Nov 2023 08:25:30 +0000 (17:25 +0900)]
e_comp_wl_buffer: Move add_destroy_listener to appropriate function
Change-Id: I380f3218bace659008c9afdb4342635af27b3a48
Seunghun Lee [Mon, 6 Nov 2023 08:20:26 +0000 (17:20 +0900)]
e_comp_wl_buffer: Simplify if conditions
Change-Id: Id75f22f2cc1552d19a3720a8b8242b28eeb13a47
Seunghun Lee [Mon, 6 Nov 2023 07:52:31 +0000 (16:52 +0900)]
e_comp_wl_buffer: Remove superfluous null check for ec
No need to check to see if `ec` is null, because if (!ec), we would've
caught the if (!base || !ds_buffer || !ec) early-return case.
Change-Id: Ie1d8a88d0dcf661717fa73b445fea0172f7518fe
Junseok Kim [Tue, 19 Dec 2023 07:23:29 +0000 (16:23 +0900)]
e_dnd: Add some logs to print drag start and end
Change-Id: I3841c08b684e17c54e2b967f544b8f618e733014
Junseok Kim [Tue, 19 Dec 2023 07:22:55 +0000 (16:22 +0900)]
e_comp_wl_data: End the drag when the wl_data_source destroyed
End the drag when the wl_data_source destroyed.
And Use e_comp_wl->drag to check the drag already doing.
Change-Id: Ic5f155549fd26a5c103662c855d3be305f225772
Doyoun Kang [Wed, 20 Dec 2023 11:17:33 +0000 (20:17 +0900)]
e_policy_wl: modify code to handle tzsh_service resource
There was a bug that the enlightenment was crashed below case.
1. Create tzsh resource.
2. Create multi tzsh_service resource with same tzsh resource
3. Destroy tzsh resource.
4. Destroy multi tzsh_service resource
This patch fixes above issue.
Change-Id: I16d49ce1e8eee57e702fb5ae0ab50bc602a274ba
Doyoun Kang [Mon, 18 Dec 2023 06:24:06 +0000 (15:24 +0900)]
e_policy: add E_POLICY_HOOK_CLIENT_TYPE_SET hook type
We add a new hook - E_POLICY_HOOK_CLIENT_TYPE_SET - to notify changing window type.
Change-Id: I01e658fbe496d3ce188ac40aad5b4889d21e95c4
Junseok Kim [Mon, 18 Dec 2023 10:46:05 +0000 (19:46 +0900)]
e_client: Move e_policy_client_find to e_client
move _e_policy_client_find_above/below to e_client and rename it.
Change-Id: I167e0adbea87214bac6fcb978cf4f8f47c0e84a8
Inhong Han [Mon, 18 Dec 2023 06:41:56 +0000 (15:41 +0900)]
Add trace tags and logs for Input
Change-Id: I2313d403c26ed8906cf81ac580ce57dca39510a0
duna.oh [Fri, 15 Dec 2023 10:07:27 +0000 (19:07 +0900)]
e_input: fix build error using uninitialized variable
Change-Id: I11f36258a8eb0749a7614412da3e3623b3d13c35
Jihoon Kim [Thu, 14 Dec 2023 10:55:53 +0000 (19:55 +0900)]
e_input: add log for completing to remove device
Change-Id: I8ac8b768df6d7b218385abcf4d72594c8c83ce9a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Joonbum Ko [Tue, 5 Dec 2023 07:03:14 +0000 (16:03 +0900)]
e_comp_wl: boost main thread when trylock failed in input-thread
This patch solves the problem of performance degradation of
the input-thread due to CPU contention in the main thread.
AS-IS :
- If the main thread locks the flush_mutex and becomes runnable status
due to CPU contention, the input-threads will not be able to successfully
lock the flush_mutex that the main thread has already locked.
- The main thread has normal priority so it can stay runnable status
for quite some time.
- As long as the main thread remains runnable status, the input-thread
cannot immediately flush events.
TO-BE :
- The input-thread checks for success or failure using g_mutex_trylock
instead of g_mutex_lock for flush_mutex.
- There is no difference in behavior when trylock succeeds as before.
- When trylock fails, the input-thread boosts the main thread so that
flush_mutex can be unlocked.
- After the main thread unlocks and the input-thread successfully locks,
input-thread clears boosting of the main thread immediately.
Change-Id: Iaf814e343afafad34715be1a3fe4f4d09cc02b1a
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
Joonbum Ko [Tue, 5 Dec 2023 04:43:14 +0000 (13:43 +0900)]
e_input: add APIs to set/get main thread id
- In order for the input thread to boost the main thread,
it needs the main thread ID.
- When the input thread starts, it obtains the main thread ID
through getpid() and saves it with e_input_main_thread_id_set().
After that, input threads can retrieve it via
e_input_main_thread_id_get().
Change-Id: I1430a0fc355d000a3944c678fb39da40a65d01bb
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
Jihoon Kim [Thu, 14 Dec 2023 06:07:03 +0000 (15:07 +0900)]
e_input: add log for completing to add device
Change-Id: I4f82f9c571c6bb179da24de68d86b1a813bf4dcf
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Doyoun Kang [Tue, 12 Dec 2023 00:29:30 +0000 (09:29 +0900)]
packaging: Update version to tz8_13.3.2
Change-Id: I2a68bf802a3046400105870b51426a54f0c94ce8
Junseok Kim [Fri, 8 Dec 2023 09:06:30 +0000 (18:06 +0900)]
e_client: get base output resolution during update
Change-Id: I1aa45652f60358b6ad03ceceaa07a2eac6c9e7a7
duna.oh [Mon, 11 Dec 2023 09:47:26 +0000 (18:47 +0900)]
e_comp_object: modify the sequence of deleting evas objects of cw
cw->obj is swallowed in cw->shobj, which is then swallowed in cw->effect_obj.
When effect_obj is frozen, it prevents obj from being hidden, causing it
to stay visible. This leads to issues with unwanted mouse out/in events.
Change-Id: Ic1b769e4bf5968a8dcaabef2e1a439cdd606ad3f