Changyeon Lee [Thu, 22 Feb 2024 07:54:06 +0000 (16:54 +0900)]
Revert "e_client: do not enable the transform core if the render update lock is set"
This reverts commit
3d160e6d4f86e0e514dffc87c2130e90fe4890ec.
Change-Id: Ia2ee1995c1d2b035da96ad6c1eb78c4821a39762
Changyeon Lee [Wed, 21 Feb 2024 02:01:45 +0000 (11:01 +0900)]
packaging: Update version to tz8_15.3.1
Change-Id: I0c52125a27f01783e174b833aab75f06f89639c0
Changyeon Lee [Wed, 7 Feb 2024 09:39:23 +0000 (18:39 +0900)]
e_client: do not enable the transform core if the render update lock is set
Change-Id: I404df3bb2da56260c7df9eb150b1b47649180634
Changyeon Lee [Mon, 19 Feb 2024 06:10:22 +0000 (15:10 +0900)]
packaging: Update version to tz8_15.3.0
Change-Id: I0eb5af376c522a609b2d975d0d40889619fa8a36
Changyeon Lee [Tue, 23 Jan 2024 05:36:52 +0000 (14:36 +0900)]
e_hwc_windows: refactor updating the changes of hwc and hwc_window
Previously, the changes hwc and hwc_window was updated in every idle time
if wait_commit is false.
For reducing usage of cpu, this patch makes the changes of hwc and hwc_window
is updated when property, restriction, buffer, visible, geometry are changed.
Change-Id: I0833d3838e70b5a980e572e6bc63df7c024e08a6
Changyeon Lee [Tue, 23 Jan 2024 04:58:29 +0000 (13:58 +0900)]
e_hwc_windows: add the restriction of hwc
Previously, the device_state_available of hwc_window was updated in every idle time
if wait_commit is false.
For reducing usage of cpu, this patch makes the device_state_available is removed and
the restriction of hwc is added and updated when condition of the restriction is
changed.
Change-Id: Ieab8e2e70c7b93be4e6d02092a4a801234ceb947
Changyeon Lee [Tue, 23 Jan 2024 04:22:10 +0000 (13:22 +0900)]
e_hwc_window: refactor updating the restriction of hwc_window
Previously, the restriction of hwc_window was updated in every idle time
if wait_commit is false.
For reducing usage of cpu, this patch makes the restriction of hwc_window
is updated when condition of the restriction is changed.
Change-Id: I4498ebeb81ff8bcf5e0074c560b0ef5336a78beb
Changyeon Lee [Thu, 25 Jan 2024 11:19:52 +0000 (20:19 +0900)]
e_hwc_window: add e_hwc_window_visible_skip_set
Change-Id: Iced2d56da81fcfa889593ddf5797ea9b5acdeb51
Changyeon Lee [Thu, 25 Jan 2024 08:28:36 +0000 (17:28 +0900)]
e_comp_object: add e_comp_object_color_visible_set_listener_add
Change-Id: Ic3c291697bf59dd964b5520be66210a01880b9ef
Changyeon Lee [Wed, 24 Jan 2024 03:37:26 +0000 (12:37 +0900)]
e_pixmap: add E_PIXMAP_HOOK_BUFFER_CLEAR_DONE
Change-Id: I5dd06d5bad91a3e5b5884bc7fe13e5e516363300
Changyeon Lee [Wed, 24 Jan 2024 02:25:20 +0000 (11:25 +0900)]
e_hwc_windows: add missing initialization of vis_skip
Change-Id: I485c3bad91196f589ef5349d5f177f5bf2825cac
Changyeon Lee [Wed, 17 Jan 2024 02:56:40 +0000 (11:56 +0900)]
e_comp_object: add E_COMP_OBJECT_HOOK_RENDER_UPDATE_LOCK_UNSET
Change-Id: I6d56f44a2ba4e8469beabbe5ecc4a768cc3ade55
Changyeon Lee [Mon, 22 Jan 2024 09:30:22 +0000 (18:30 +0900)]
e_comp_object: add e_comp_object_color_set_listener_add
Change-Id: If7d96290a1034b1d2dcc4586fe6a58af2cb7aa3c
Changyeon Lee [Mon, 22 Jan 2024 09:25:09 +0000 (18:25 +0900)]
e_comp_object: add e_comp_object_content_type_set_listener_add
Change-Id: I4b25cca0193023cb48e97b8bf72546f8eb0a71e2
Changyeon Lee [Mon, 22 Jan 2024 09:21:00 +0000 (18:21 +0900)]
e_comp_object: add e_comp_object_render_op_set_listener_add
Change-Id: I4462fb88a124c2406b211550438b13120f6f2809
Changyeon Lee [Mon, 22 Jan 2024 09:17:19 +0000 (18:17 +0900)]
e_comp_object: add e_comp_object_image_filter_set_listener_add
Change-Id: I9a5d61e43b1a0511d527e932868ac0e0613d4807
Changyeon Lee [Mon, 22 Jan 2024 08:46:24 +0000 (17:46 +0900)]
e_hwc_windows: add e_hwc_windows_comp_override_set
Change-Id: I1ed35d2d184a2e0889b471369406e78771b5b3ac
Changyeon Lee [Thu, 18 Jan 2024 04:43:53 +0000 (13:43 +0900)]
e_hwc: get output available size in hwc_new
Change-Id: I21232629094eea0f2d1ccc661bda6d1a20afac63
Changyeon Lee [Thu, 18 Jan 2024 03:18:28 +0000 (12:18 +0900)]
e_hwc_window: add e_hwc_window_never_hwc_set
Change-Id: Idbcd02832c470fe9dcfd0513293e95876f08a1a0
Changyeon Lee [Thu, 18 Jan 2024 03:10:53 +0000 (12:10 +0900)]
e_hwc_window: add e_hwc_window_comp_override_set
Change-Id: Ib68ab414ac1e2ba80d4f39b443d85fc5d41cadf5
Changyeon Lee [Wed, 10 Jan 2024 11:24:55 +0000 (20:24 +0900)]
e_hwc_windows: remove rendered_windows in the E_Hwc_Windows_Comp_Info
use e_hwc_windows_present_sync for sychronizing gl and hwc compositing
Change-Id: Iecd09fa3be23aa00fa23aca05bef5edf2de20c21
Inhong Han [Mon, 19 Feb 2024 04:32:47 +0000 (13:32 +0900)]
packaging: Update version to tz8_15.2.2
Change-Id: Ide363649ccf19a776922a80023d87f38000ec890
duna.oh [Mon, 19 Feb 2024 03:19:10 +0000 (12:19 +0900)]
e_pointer: add damage when hiding cursor object
Change-Id: I4a85d51cadbfe9dd00d2878ecabed146e607962c
(cherry picked from commit
7b2eed891bccfeec081cde817d0d8806aef193af)
Jihoon Kim [Wed, 14 Feb 2024 11:39:42 +0000 (20:39 +0900)]
packaging: Update version to tz8_15.2.1
Change-Id: Ic3bac2c8264545c44b34bebdbd785fb1b68fdcf1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Wed, 14 Feb 2024 10:46:45 +0000 (19:46 +0900)]
e_devicemgr_input: fix issue tizen_input_device_manager object is not found
errno 22 (invalid argument) occurs because the tizen_input_device_manager object is not found after receiving the device_remove event of the tizen_input_device_manager interface from the wayland client.
Change-Id: I372267cd2080bec95c341f97cb1cd6631e766d55
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
duna.oh [Thu, 8 Feb 2024 01:33:45 +0000 (10:33 +0900)]
packaging: Update version to tz8_15.2.0
Change-Id: I055951515a3c6e7d2644f65af596786a1b7b39ff
duna.oh [Tue, 6 Feb 2024 09:41:20 +0000 (18:41 +0900)]
e_input: add E_API e_input_device_keyboard_has_key(dev, device_path, code)
E_API for checking if a keyboard key is present on a given input device
Change-Id: I752453b81b8fe0216fdd8f0039cdcefd69d0d49d
Doyoun Kang [Mon, 5 Feb 2024 10:26:48 +0000 (19:26 +0900)]
packaging: Update version to tz8_15.1.3
Change-Id: I2fc63e1a362e2eadee85e22381a6e33e1d3ad524
Doyoun Kang [Mon, 5 Feb 2024 09:49:54 +0000 (18:49 +0900)]
e_log: refactor log format
We reduce the log length as below.
1. remove log level in domain info. (ex. INF<e> -> <e>)
2. print just file name w/o directory and reduce file name length to 18 from 30
3. reduce log tag length to 8 from 10
@log_refactoring
Change-Id: Ib08515cabf033f1f72cc674a76d850d5bea4ce06
Junseok Kim [Fri, 2 Feb 2024 07:56:54 +0000 (16:56 +0900)]
e_client: check visibility of the activated window when focus set to the window
There was a bug that focus unset by focus calculate after focus set by activate.
(e.g. visible window but out of zone geometry)
This problem occures because the visibility of the activated window is not checked.
For fix this issue, check visibility of the activated window when focus set.
Change-Id: I00cec403b51b11593dfef2c86cf7cfb50858a7af
Junseok Kim [Fri, 2 Feb 2024 05:19:01 +0000 (14:19 +0900)]
packaging: Update version to tz8_15.1.2
Change-Id: Ia0e14ba8d9cd2dc022105dfa5aed5373896bda7c
Junseok Kim [Thu, 1 Feb 2024 11:29:05 +0000 (20:29 +0900)]
e_comp_wl: Change ecore_event_mouse_move handler to prepend
There was a bug that KVM Service app receive pointer lock event before drag enter event.
It caused by the EVAS_CALLBACK process faster then ECORE_EVENT callback
For fix this issue, change from append to prepend when add ecore_event_mouse_move handler
Change-Id: I2df4e0a8e302604a299440363edc215afaa419b8
Junkyeong Kim [Thu, 1 Feb 2024 02:47:49 +0000 (11:47 +0900)]
packaging: Update version to tz8_15.1.1
Change-Id: I5dc80be5c053e5f4c3703779554d901109be71dd
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 26 Jan 2024 08:03:08 +0000 (17:03 +0900)]
e_info_protocol: Avoid overflow
Change-Id: I7baf6c4b5ffeb37d4e4aaf055973fad3c97f56f2
Junseok Kim [Tue, 30 Jan 2024 04:08:09 +0000 (13:08 +0900)]
packaging: Update version to tz8_15.1.0
Change-Id: I9024f7fa367c678944e09fabe6af935af06af6d0
Junseok Kim [Fri, 26 Jan 2024 06:24:55 +0000 (15:24 +0900)]
e_service_kvm: send source mimetype to kvm service
Change-Id: If76fad160d784b0263713d85ed6cb5ab414a5ad6
duna.oh [Thu, 25 Jan 2024 06:07:57 +0000 (15:07 +0900)]
packaging: Update version to tz8_15.0.2
Change-Id: Ia288ce77ef4aec7da44b9d5fe541fb9f33e5afc1
duna.oh [Tue, 9 Jan 2024 01:50:28 +0000 (10:50 +0900)]
e_comp_wl_input: ungrab input before warping a pointer to cursor position hint
Change-Id: I3637b526d37f3a72477fe3896c8fac6d4a942cd1
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
Doyoun Kang [Thu, 18 Jan 2024 09:41:27 +0000 (18:41 +0900)]
packaging: Update version to tz8_15.0.1
Change-Id: Ic48e26ebc964bea6085587bfda5382b8369be357
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
Doyoun Kang [Tue, 16 Jan 2024 23:31:28 +0000 (08:31 +0900)]
packaging: Update version to tz8_15.0.0
Change-Id: I3ac4bff3ffb426395b82dd301af503806644ec1c
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
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 [Fri, 12 Jan 2024 04:58:02 +0000 (13:58 +0900)]
packaging: Update version to tz8_14.0.1
Change-Id: Ib001e38b4481aff9fc3c4f25e4802715f49162a8
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>
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
Doyoun Kang [Wed, 10 Jan 2024 01:28:41 +0000 (10:28 +0900)]
packaging: Update version to tz8_14.0.0
Change-Id: If4461b4251012b33f95c47781d7d000618f3e99b
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
(cherry picked from commit
ceda310410097a671f5e77b5950d7489e6f71055)
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>
Seunghun Lee [Thu, 4 Jan 2024 03:51:44 +0000 (12:51 +0900)]
packaging: Update version to tz8_13.5.1
Change-Id: Ic1d3179ed50c7e7109c17d9a3efb24347383595c
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
(cherry picked from commit
1fe594806d3fdd2a3ce8979f3ea70bd5d6910d3d)
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
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
Jihoon Kim [Wed, 6 Dec 2023 11:46:21 +0000 (20:46 +0900)]
e_input: call libinput function in only input thread
Prevent data race when using libinput library
Change-Id: Ia449371041fab8af857f562a92b304229793cc8b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Seunghun Lee [Fri, 8 Dec 2023 02:02:00 +0000 (11:02 +0900)]
packaging: Update version to tz8_13.3.1
Change-Id: I89dc277a78e2d42df3ce5fbd315c4c07e8e444e8
Seunghun Lee [Thu, 7 Dec 2023 09:16:02 +0000 (18:16 +0900)]
Revert "xdg_shell_v6: Do not issue a protocol error"
This reverts commit
9d930db4726f393de3da7a34dd01b59a608c829c.
Thanks to the commit[1] in efl, this patch is no longer needed.
[1]: https://review.tizen.org/gerrit/c/platform/upstream/efl/+/302250/
Change-Id: I0ebf9bb298da3a2c04b8bae2f60e2e3bf02efe4f
Doyoun Kang [Thu, 7 Dec 2023 00:27:35 +0000 (09:27 +0900)]
packaging: Update version to tz8_13.3.0
Change-Id: I837704f50fe72f2cec4e31a44ee0f655a418cc24
Jihoon Kim [Wed, 6 Dec 2023 11:48:36 +0000 (20:48 +0900)]
e_keyrouter: add lock/unlock api to protect keygrab list
Change-Id: I5bb8cabd6cbfa66e01ec35809607bb59ff75a07c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>