Changyeon Lee [Fri, 11 Mar 2022 04:38:24 +0000 (13:38 +0900)]
e_output: do not resize ecore evas of e_comp in e_output
ecore evas is resized in E_OUTPUT_HOOK_MODE_CHANGE hook of e_comp_screen
(_e_comp_screen_cb_output_mode_change function)
Change-Id: I5c58dca348b4c336dca5d7caf26872ffc0f5e908
duna.oh [Fri, 11 Mar 2022 08:33:10 +0000 (17:33 +0900)]
winfo: add seat_name in a result string of '-input_devices'
Change-Id: I088f92a17402a0abbd7c302065b4439d478d54bc
duna.oh [Fri, 11 Mar 2022 07:11:40 +0000 (16:11 +0900)]
add seat_name variable in struct E_Devicemgr_Input_Device
Change-Id: Ica53641c84c38b0d8198113ff915c22dafca3873
duna.oh [Fri, 11 Mar 2022 04:46:01 +0000 (13:46 +0900)]
e_input_evdev: fix mouse event coord. according to the associated output
Change-Id: Ia07319c6d3f7ca0827a68cf4eae01115d4ff6c30
duna.oh [Fri, 11 Mar 2022 03:35:27 +0000 (12:35 +0900)]
winfo: add option -input_output_set [input(ex./dev/input/eventX)] [output(ex.HDMIA-0)]
Change-Id: If7b657b092a32d2a89cc90711b2786d41b98217e
duna.oh [Thu, 10 Mar 2022 11:52:59 +0000 (20:52 +0900)]
e_input_evdev: adjust event coord. according to the associated output
Change-Id: I50db5155a9512aea6d33338710ad77d1a03f4e5e
Changyeon Lee [Thu, 10 Mar 2022 09:19:52 +0000 (18:19 +0900)]
e_output: remove unused intern function
removed e_output_primary_mode_change
it can be replaced by e_output_mode_apply
Change-Id: Ibab791e49754105b2d80c630c388e7ed0f0e3efc
Changyeon Lee [Thu, 10 Mar 2022 09:02:28 +0000 (18:02 +0900)]
winfo: add output index to output_mode option
output index is for changing mode of all output
winfo -output_mode [output idx] [mode number]
Change-Id: I709a37bf28085c9ebd4795d0c877294871658bdc
Doyoun Kang [Sun, 6 Mar 2022 23:33:10 +0000 (08:33 +0900)]
winfo: add zone_set option
Added new option to change window's zone in winfo (enlightenment_info).
usage: winfo -zone_set [windowID] [zone id]
Change-Id: I7e905a977e6a65cf63c62c6e14c28bf21b510af5
Changyeon Lee [Thu, 3 Mar 2022 02:06:29 +0000 (11:06 +0900)]
e_hwc_windows: remove unnecessary the norender checking
norender is checked before _e_hwc_windows_evaluate
in e_hwc_windows_commit
Change-Id: I10e15872a8a16c3883b557f09e47e9dce4e98834
Doyoun Kang [Thu, 3 Mar 2022 07:27:30 +0000 (16:27 +0900)]
e_policy_wl: update states(iconic, visibility) of transient below child while changing parent's alpha value
There was a bug that the e didn't send an iconic state change event to the transient below child
when its parent's alpha value is changed.
This patch resolve this problem.
Change-Id: I5f08a85a230ecf48f1bb2a9ea500b87cf7746510
Chanwoo Choi [Thu, 3 Mar 2022 00:02:45 +0000 (09:02 +0900)]
org.enlightenment.wm.conf: allow system_fw group to use dbus interface
Change-Id: I71e81741bfea3237a4188a3aa840ee89c1ea41a3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
duna.oh [Wed, 2 Mar 2022 01:45:49 +0000 (10:45 +0900)]
e_keyrouter: fix resource leak issue in e_keyrouter_key_cancel()
Change-Id: Ibb3095b2ee7089f5d2c6e6ca4e4936ce894f2836
Doyoun Kang [Wed, 2 Mar 2022 04:03:46 +0000 (13:03 +0900)]
e_magnifier: check null reference
Change-Id: Ia2226093c75caff1eb5f922d7c8feb83e7b6a95f
Doyoun Kang [Wed, 23 Feb 2022 08:36:03 +0000 (17:36 +0900)]
e_util_transform: add functions to get sin/cos value
Change-Id: Idf549efe9d73dea7c280665b6dd4a0f5b8cf6728
Changyeon Lee [Wed, 23 Feb 2022 07:25:40 +0000 (16:25 +0900)]
e_hwc_planes: setup e_plane after ecore_evas of e_comp is allocated
ecore_evas of e_comp is allocated after all e_output is created.
if e_plane_setup is called in e_output_hwc_setup, it is failed
because ecore_evas of e_comp is null.
this patch fixes failing of e_plane_setup.
Change-Id: I8b3e164cb3175770f1e924681634c0fa761d172f
duna.oh [Sun, 20 Feb 2022 23:00:17 +0000 (08:00 +0900)]
devimgr: fix string operation of device's name and identifier
Change-Id: I8b0aa3e7ae66832691e4a98bdf4bf86784d21193
Changyeon Lee [Fri, 18 Feb 2022 09:00:14 +0000 (18:00 +0900)]
e_hwc_windows: use max_transition_failures of root target window
max_transition_failures of target window is not initialized
because target window does not have queue.
this patch change to use valid max_transition_failures of root
target window.
Change-Id: Ia96f8d277f19509cc2510201e3c2711e1b141ee9
Doyoun Kang [Wed, 16 Feb 2022 05:02:07 +0000 (14:02 +0900)]
e_zone: add new APIs for getting E_Zone
- E_Zone *e_zone_get_by_id(int id);
- E_Zone *e_zone_get_by_position(int x, int y);
Change-Id: I8f814a3a374dbe457dd9e9048954f4daa6497b77
Junseok Kim [Thu, 17 Feb 2022 08:20:11 +0000 (17:20 +0900)]
e_client: adjust interactive_resize configure
Change-Id: I224f0f241ef9fefa6f7ea6960151463bba1c4a5e
Signed-off-by: Junseok Kim <juns.kim@samsung.com>
Junseok Kim [Thu, 17 Feb 2022 06:11:53 +0000 (15:11 +0900)]
e_config: added interactive_resize configure
interactive_resize: configure for the visible shape while resizing
0: resize with preview object and resize the target window once after done.
1: resize with interactive moving of target window.
Change-Id: I6a4f8fc1244b103d4dd47e0fb6121e830234ee8a
Signed-off-by: Junseok Kim <juns.kim@samsung.com>
Changyeon Lee [Wed, 16 Feb 2022 10:41:11 +0000 (19:41 +0900)]
e_hwc_windows: set infomation of client target to tdm
we should give image position of source buffer to client target
because target window share buffer of root target window with
other target window.
for example
if two output(size is 1920x1080) are eanbled, source buffer size
is 3840x1080 and images of client target is located at (0,0) and
(1920,0).
but tdm backend does not know that position of output image in
source buffer.
Change-Id: I156a9515386e1c75a0c1f1db8cfb265bec07b391
Changyeon Lee [Tue, 15 Feb 2022 10:03:36 +0000 (19:03 +0900)]
e_hwc_windows: remove dead code
Change-Id: Ie40676f0c913994c0e78fc2c6af33a1eea234176
Changyeon Lee [Tue, 15 Feb 2022 08:54:12 +0000 (17:54 +0900)]
e_hwc_windows: call presentation callback in case of window is hidden
if window is hided, window is not exist in rendered windows list.
but presentation callback should be called when window is hidding(show->hide)
this patch makes presentation callback is taken to comp_info if
window is hidden.
Change-Id: Ibe22490df8ef0301ad38899281e69abaf8b08850
Changyeon Lee [Fri, 11 Feb 2022 11:49:33 +0000 (20:49 +0900)]
e_hwc_windows: clean present sync windows when target window is freed
fix leak sync windows of target window
Change-Id: Iedcbca7dddd290768c71d939cf6183342fc5b98c
Changyeon Lee [Fri, 11 Feb 2022 11:31:37 +0000 (20:31 +0900)]
e_hwc_windows: dequeue the pending update data of all hwc
all hwc use same the root target window (ecore_evas)
so the root target window should dequeue the pending
update data of all hwc
Change-Id: Ic019da2bc315a49e5cefac755c0dd1b8eac7e1ae
Changyeon Lee [Fri, 11 Feb 2022 07:46:43 +0000 (16:46 +0900)]
e_hwc_windows: unset zoom in case of output mode is presentation
current presentation mode does not use zoom.
Change-Id: I07c0b6aab21eebc6e44c02dcbcfd29158c5488f9
Changyeon Lee [Fri, 11 Feb 2022 07:22:31 +0000 (16:22 +0900)]
e_hwc_windows: do not check hwc transition if output mode is mirror
if output mode is mirror, source output buffer will be displayed
so we does not need to check hwc transtion.
Change-Id: I6f9c923744cb05b7eb46f3690460013c34e08a25
Changyeon Lee [Fri, 11 Feb 2022 07:12:19 +0000 (16:12 +0900)]
e_hwc_windows: get acquire fence from root target hwc window
root target hwc window has acquire fence
because root target hwc window has ecore evas.
Change-Id: Id09222e585a54ad0fa3140aefeda699f580485ac
Changyeon Lee [Fri, 11 Feb 2022 07:01:50 +0000 (16:01 +0900)]
e_hwc_windows: create pp_queue in case of zoom use sw copy
sw copy was changed to use pp_queue
Change-Id: I53fa36047adef05ffa7d9875820afde38d838c75
Changyeon Lee [Fri, 11 Feb 2022 03:01:32 +0000 (12:01 +0900)]
e_hwc_windows: remove fixed name of target window
Change-Id: Ic4b98734b586ac5757587b13cd9c80367a1dbf7e
Changyeon Lee [Thu, 10 Feb 2022 11:21:49 +0000 (20:21 +0900)]
e_eom: do not prevent to show presentation ec if hwc policy is windows
hwc windows can show presentation ec by gl compositing
so presentation should be visible state.
Change-Id: I33bd99a8ea753098bdea68caa720e5e73c4db452
Changyeon Lee [Thu, 10 Feb 2022 11:20:22 +0000 (20:20 +0900)]
e_client_video: use external video interface only when hwc policy is planes
hwc windows policy have same hwc logic of primary and external output
Change-Id: If4b4bd4e9447ad52d4cf5a082b9a931487a864fa
Changyeon Lee [Thu, 10 Feb 2022 10:06:47 +0000 (19:06 +0900)]
e_output: set presentation ec to zone of external output
hwc_windows does not manage presentation ec, presentation mode means
client is set to zone in hwc_windows.
Change-Id: I3b10b44eabe928ee8b364773aff6d299b4870a80
Changyeon Lee [Tue, 25 Jan 2022 09:51:03 +0000 (18:51 +0900)]
e_client_video: initialize new compositing interface when zone is changed
compositing policy of given E_Zone is changed.
Change-Id: Ib38415533f04034a027c04e3d533387d64840081
Changyeon Lee [Tue, 25 Jan 2022 08:07:12 +0000 (17:07 +0900)]
e_hwc_window: fix destination position according to geometry of zone
left top position of output coordinate is (0,0) so it need to adjust
destination position
Change-Id: I5df7df9b55a6cd4256819d301bc0c41aa8a13e51
Changyeon Lee [Thu, 10 Feb 2022 06:59:24 +0000 (15:59 +0900)]
e_hwc_windows: init/deinit hwc_window member of target hwc window
fix leak of hwc_widnow member of target hwc window
Change-Id: I89ccc56e0b61cac942318141f5c4983c7fe29d09
Changyeon Lee [Tue, 8 Feb 2022 04:42:54 +0000 (13:42 +0900)]
e_info_server: set deactive hwc of all output in hwc option
Change-Id: Ieb6a37836bb467dcb99b286899875de26fb736df
Changyeon Lee [Tue, 8 Feb 2022 12:25:29 +0000 (21:25 +0900)]
e_hwc_windows: remove functions about presentation mode
Change-Id: If7f468714b4c163475e33c53c676da2657b4f156
Changyeon Lee [Tue, 8 Feb 2022 04:43:48 +0000 (13:43 +0900)]
e_comp_screen: update size of e_comp_screen when output is changed
Change-Id: I7037685accc579011e43a7aa0eac5d47f8005a86
Changyeon Lee [Mon, 7 Feb 2022 11:11:12 +0000 (20:11 +0900)]
e_comp_screen: create ecore_evas with size of e_comp_screen
width of e_comp_screen is calculated by sum of output width
and height of e_comp_screen is calculated by max of output height
because we place external output to the right of primary output.
Change-Id: I98be0d3ac6fbd67e19052dc0b783984614d3dd5a
Changyeon Lee [Thu, 27 Jan 2022 11:27:53 +0000 (20:27 +0900)]
e_hwc: set fake config to output before initialize ecore_evas
Change-Id: Ied469c2c8aa8402655e673face4c2482c8992612
Changyeon Lee [Thu, 27 Jan 2022 03:23:18 +0000 (12:23 +0900)]
e_output: call hook of mode change in e_output_mode_apply
this patch makes hook of mode change is called when
mode of primary output is changed.
Change-Id: I604985cf5584ebd11822ad41c6843686622e15ad
Changyeon Lee [Wed, 26 Jan 2022 11:28:57 +0000 (20:28 +0900)]
e_output: remove unnecessary e_comp_canvas_norender_push/pop
rendering and displaying is done in main thread.
e_comp_canvas_norender_push/pop is unnecessary.
Change-Id: I95f942612b0fbe4433c060fc7fa9ec942ddad732
Changyeon Lee [Wed, 26 Jan 2022 11:55:51 +0000 (20:55 +0900)]
e_output: rename e_output_mode_change to e_output_primary_mode_change
only primary output can change mode by e_output_mode_change api
e_output_primary_mode_change name is more meaningful
Change-Id: I8dffc6423ccd9d0470901c8b165815d84ec44ed2
Changyeon Lee [Wed, 26 Jan 2022 12:32:02 +0000 (21:32 +0900)]
e_comp_canvas: update width and height of e_comp in resize callback
Change-Id: I8ee52c09ad281193624df2512e053782de4ea709
Changyeon Lee [Fri, 21 Jan 2022 03:02:42 +0000 (12:02 +0900)]
e_comp_screen: create e_screen per e_output
this patch is for creating e_zone per e_output
e_zone is created in e_comp_canvas_update per e_screen
Change-Id: Ia20c8b4a0d27b163831a9eb3eb1c88d7065a84c4
Changyeon Lee [Tue, 8 Feb 2022 10:45:57 +0000 (19:45 +0900)]
e_hwc_window: add is_root_target flag to window
Change-Id: I7771731770b2a12e4e6075d49a9a4fc8c53b62b4
Changyeon Lee [Tue, 8 Feb 2022 10:29:52 +0000 (19:29 +0900)]
e_hwc windows: update state of root target window in e_hwc_windows_render
if target window of all hwc do not have device state,
none state is set to root target window and it does not render.
Change-Id: I72f75ed0aad1cbd93b92bd8d1f696e8675395878
Changyeon Lee [Tue, 8 Feb 2022 09:17:10 +0000 (18:17 +0900)]
e_hwc: remove unnecessary resize callback of ecore_evas
resize callback is overrided in e_comp_canvas_init
Change-Id: Ib269e7b531b358b2303bcb64fea7ade601a93484
Changyeon Lee [Tue, 8 Feb 2022 08:40:08 +0000 (17:40 +0900)]
e_hwc: initialize ecore_evas after all output is created
ecore_evas size can be calculated after mode of all output
is determined.
Change-Id: Ib5d0cd8b718f7cd515f8d8c174fad9e4376ca1b5
Changyeon Lee [Tue, 8 Feb 2022 07:23:59 +0000 (16:23 +0900)]
e_hwc_windows: add root target hwc window to hwc of primary output
this patch is for sharing buffer of gl compositing to all output.
root target hwc window fetch buffer of gl compositing and
target hwc window is fetch buffer from the root target hwc window.
Change-Id: Ic5041e55a5a94dc881cd652a6e693d1785eb2a1a
Changyeon Lee [Mon, 24 Jan 2022 07:08:02 +0000 (16:08 +0900)]
e_hwc_windows: compare output of ec zone and hwc in visible_windows_list_get
output of ec zone can be different with hwc of output
Change-Id: Id13f5fcea814b61bd4361684b391ad6dfd9a575a
Changyeon Lee [Tue, 25 Jan 2022 09:56:07 +0000 (18:56 +0900)]
e_hwc_window: recreate hwc_window of video when zone is changed
hwc_window should be recreated when hwc_window of output is changed
because tdm_hwc_window is created by tdm_hwc and tdm_hwc is changed
if output is changed
Change-Id: Idc59ab4f93cc3ef639e6ef13d7be2487f2c66be6
Changyeon Lee [Thu, 20 Jan 2022 08:11:55 +0000 (17:11 +0900)]
e_hwc_window: use E_Hwc_Window_Queue_Ref for managing queue buffer
Change-Id: I1a53b32e9c94a9376fe6b10c72b7227ef83398d5
Changyeon Lee [Thu, 20 Jan 2022 05:12:01 +0000 (14:12 +0900)]
e_hwc_window_queue: add e_hwc_window_queue_buffer_reference
if busy of queue_buffer is zero, queue_buffer is released to queue
Change-Id: Id657902f9ecd211ff1cde1b72098724c49958fa0
Doyoun Kang [Thu, 17 Feb 2022 03:45:04 +0000 (12:45 +0900)]
e_comp_wl: delete evas_object's callbacks when ec is deleted
Change-Id: I5ba05bbf5d060d4bfd492a849a6296d74d4370b0
Doyoun Kang [Mon, 14 Feb 2022 04:39:23 +0000 (13:39 +0900)]
e_comp: check whether E_Zone is null or not in e_comp_deferred_job
Change-Id: I748c52dd3ac3f26ac423d9d358e1d1114f458803
Duna Oh [Mon, 14 Feb 2022 04:56:25 +0000 (13:56 +0900)]
e_info_client: fix the string overflow: check strlen before strncpy
Doyoun Kang [Wed, 9 Feb 2022 07:36:39 +0000 (16:36 +0900)]
e_info_client/server: print zone information for topvwins
Change-Id: I2e1f57ab734de1a38e5542a6f04ed7ad945b8070
Doyoun Kang [Mon, 7 Feb 2022 08:11:39 +0000 (17:11 +0900)]
e_info_client/server: add zone information for topwins
Change-Id: I5c4ca05645c046566e1e5329a612e4c4f82a65a0
Changyeon Lee [Mon, 7 Feb 2022 06:16:00 +0000 (15:16 +0900)]
e_hwc_window_queue: unset callback of wait usable before the buffers retrieve is called
callback of wait usable was not unset in _e_hwc_window_queue_prepare_unset
because cqueue of hwc_window was set to null in _e_hwc_window_queue_buffers_retrieve.
Change-Id: I5fb68ea20cec54a454add03c48701f1fd9530423
Doyoun Kang [Mon, 7 Feb 2022 00:26:27 +0000 (09:26 +0900)]
e_comp_wl_data: fix build warning
Change-Id: Ibee7d01c8e731ed23bad5ce649a47e4d8c7037b0
Doyoun Kang [Thu, 27 Jan 2022 08:13:19 +0000 (17:13 +0900)]
e_process: check ec's validation in _e_process_windows_visible_get
We modify code to skip the deleted ec while checking the visible state of windows.
By this patch, if all windows of specified process are destroyed, then e makes the state
of process to STATE_BACKGROUND and sends E_PROCESS_ACT_NO_VISIBLE_WINDOWS action signal.
Change-Id: I12bc0c7d1c9fa1e07909429e01072bd857adf12f
Duna Oh [Thu, 27 Jan 2022 08:55:03 +0000 (17:55 +0900)]
e_comp_wl: fix invalid dangling pointer. (e_comp_wl->ptr.ec, e_comp_wl->touch.faked_ec)
set e_comp_wl->ptr.ec, e_comp_wl->touch.faked_ec to NULL when ec is deleted
Change-Id: Ie45c5b3dd74836f50e9bd7e4049312972f48de40
Changyeon Lee [Thu, 27 Jan 2022 05:49:24 +0000 (14:49 +0900)]
e_comp_wl_video: Rename macro IS_RGB to E_VBUF_IS_RGB
IS RGB can be easily redefined.
E_VBUF is added and it is moved to source file.
Change-Id: Ib22c788cb1c966ca234aea6bcfe207ec07f7818c
Doyoun Kang [Wed, 26 Jan 2022 07:05:01 +0000 (16:05 +0900)]
e_policy_visibility: reset vc->state to ICONIC while canceling visibility job
There was a bug that the window's iconic_state_change event didn't send to the client
in _e_vis_client_add_uniconify_render_pending. This was because the vc->state was
remained to E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE.
This can be occurred when the uniconify_by_visibility job is canceled.
To resolve this problem, we add code to set the vc->state to E_VIS_ICONIFY_STATE_ICONIC
in uniconify_by_visibility job cancel function.
Change-Id: Ie2873be552b15cb3216f1d1dcc3f587807769cb4
Junkyeong, Kim [Wed, 26 Jan 2022 10:11:24 +0000 (19:11 +0900)]
e_pointer: add e_pointer hook
Add two default e_pointer hook point below.
E_POINTER_HOOK_TOUCH_MOVE
E_POINTER_HOOK_MOUSE_MOVE
Change-Id: Ib804aa61bf2c29b8ec728d2fe4e39ca508e5a041
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
Duna Oh [Tue, 25 Jan 2022 08:00:46 +0000 (17:00 +0900)]
e_comp_wl: fix rounding error using lround() in e_comp_wl_map_inv_coord_get()
E20 converts the client-area coordinates to the screen coordinates
using e_comp_wl_map_inv_coords_get(). When trying to get new coordinates,
there was issues with rounding error. Fix it using lround()
Change-Id: I6be25998287ad0dc869eb60af8474ba2b2a7a77e
Junseok, Kim [Wed, 5 Jan 2022 04:12:38 +0000 (13:12 +0900)]
e_comp_wl: send wl_data_device_enter when cursor enter to offer
There was a bug that wl_data_device.enter didn't sended to offer client except source client.
It is continued untill the user release their pointer. and It makes the offer client didn't notice cursor entered until drag-and-drop performed.
For fix this problem, check the window that below cursor and send wl_data_device.enter/leave when during the drag performed.
Change-Id: Id5e8902e07371570cc97f0583b3e9b1403be1fa1
Junseok, Kim [Tue, 18 Jan 2022 12:17:51 +0000 (21:17 +0900)]
e_comp_wl_data: added mediator function between data source and offer clients.
In Some system, FD passing is blocked by their security policy.
It could be cause block the IPC between data source and offer client, and it finally the DnD operation gones to fail.
To avoid this problem, added mediator to makes IPC structure being to client -> server -> client instead of direct IPC of client to client.
Change-Id: I12544ea4c8a26422461533d86399e620cec0c46f
Changyeon Lee [Mon, 24 Jan 2022 08:56:01 +0000 (17:56 +0900)]
e_comp_wl_video_buffer: support XBGR8888 ABGR8888 format
Change-Id: I87de1396f9c20d7484ef93c284591817dc291971
Doyoun Kang [Thu, 20 Jan 2022 06:24:27 +0000 (15:24 +0900)]
e_policy_visibility: do not remove vc->buf_attach event handler while executing pended job
There was an issue that the E_Vis_Grab resource which was wating for buffer attach event
couldn't freed if the E_Vis_Grab's timer was expired.
This resource would be freed when the E_Client was destroyed.
However, if the E_Client is not destroyed, then the memory can be increased continuousely.
This patch makes the E_Vis_Grab resource to be freed when a timeout is occured.
Change-Id: Ia6a1bee0ddeddaef42a52bd384ba50d027033827
Changyeon Lee [Tue, 18 Jan 2022 08:09:56 +0000 (17:09 +0900)]
e_hwc_window_queue: skip setting backup buffer even if client has buffer
client can have buffer even if client is iconify and buffer flush is enabled
because buffer of client is cleared when buffer flush timer is expired
however client wait new buffer is attached when client change to uniconify
backup buffer is not needed in this case
Change-Id: I15beb8824f71ffa6f4bf39b319abe7795ec3fa40
Changyeon Lee [Tue, 18 Jan 2022 08:05:58 +0000 (17:05 +0900)]
e_hwc_window_queue: add log when backup buffer is created
Change-Id: If4317899ea7fcd990d683b4849ba70bf23181cc4
Changyeon Lee [Mon, 17 Jan 2022 04:52:30 +0000 (13:52 +0900)]
e_comp_wl_subsurface: update map of below_obj when client is moved
map of below_obj should be updated with x,y of client when it is moved
Change-Id: Idfcb84c39bfb1d6590de7f8f27674ab419977b87
Doyoun Kang [Mon, 17 Jan 2022 04:48:50 +0000 (13:48 +0900)]
e_comp_wl: fix resource leak related with subsurface's below object
There was resource leaks related with below object of a subsurface.
- ec->comp_data->sub.below_obj_map_transform_hook
- ec->comp_data->sub.below_obj_map
When the ec was destroyed, above resources was not freed.
This patch resolve this problem.
Change-Id: I582c91749d7d5daf2df34d582546cb939348696d
Changyeon Lee [Fri, 14 Jan 2022 02:16:27 +0000 (11:16 +0900)]
e_comp_wl_tbm: change e_comp_wl_tbm_capturable_buffer_get to E_API
effect module wants to get capturable buffer for rotation effect
Change-Id: Ie980c94d7b111f6984274372dded69f42811e8b3
Changyeon Lee [Wed, 12 Jan 2022 14:28:32 +0000 (23:28 +0900)]
e_comp_wl: do not resize the below_obj in _e_comp_wl_evas_cb_resize
size of the below_obj is 1x1 and evas map is used for resizing the below_obj
after below commit is applied.
e_comp_wl_subsurface: Do not resize the below_obj for optimizing gpu memory
e1346dd48f49e20a86f9e7515285a09d59c7f6c5
Change-Id: I8634c0e54563401f0a36a5331bf5d467ffa3a0fa
Changyeon Lee [Wed, 12 Jan 2022 12:32:27 +0000 (21:32 +0900)]
e_comp_object: disable map of effect obj when video is displayed by hwc
if video window is displayed by hwc, map of effect obj is not needed
because it is not composited by evas.
Change-Id: Ie58c9a7194dd0a7d1014078259e40cff60fd337e
Junseok, Kim [Thu, 13 Jan 2022 04:36:41 +0000 (13:36 +0900)]
e_desk: doing _e_desk_client_zoom recursively to zoom their subsurfaces
There was a bug that video surface have irregularly zoomed during zoom effect.
It caused by video surface applied their transform after desk zoom.
For fix this problem, doing _e_desk_client_zoom recursively to adjust desk zoom after transform.
NOTE:: This patch can be repeated call of evas_map. The zoom have to be refactored for effeciency
Change-Id: I341f317eb89e9f8e38889a67180b90c73f6d99fb
Changyeon Lee [Tue, 11 Jan 2022 06:50:52 +0000 (15:50 +0900)]
e_hwc_windows: add missing initialization hwc of target window
Change-Id: I07fccc20045fefa608dec0f3cecb2a2812c7122f
Changyeon Lee [Tue, 11 Jan 2022 06:49:40 +0000 (15:49 +0900)]
e_hwc_windows: add null check of target window
Change-Id: I99f536003d7297f11fe6577adbc259b60c77d5dc
Changyeon Lee [Wed, 29 Dec 2021 11:04:18 +0000 (20:04 +0900)]
e_hwc_window_queue: fix wrong backup buffer when client is not redirected
if client is not redirected, hwc_window can have queue buffer even if
device state available is false.
Change-Id: I768d0bd54bb20740ef26f136fe5ed1fec700b7c5
Changyeon Lee [Tue, 28 Dec 2021 00:26:27 +0000 (09:26 +0900)]
e_comp_wl: remove send touch cancel event when viewport is changed
we sent touch cancel event because evas_object for input event is changed
(frame->map_imput_ojb) when map is applied for screen rotation.(patch 1)
but we changed that default input obj is added and used for input event.
(patch 2)
so touch cancel event does not needed because evas_object for input event
is not changed.
patch 1:
e_comp_wl: send touch cancel event when touch is pressed before map apply
b96044744924b1fb9d03a7f9d2ae750d1286a078
patch 2:
e_comp_object: defaultly use evas_object for input event instead image object
9e03bb9f23ae7e8db5538fcd213ed74772277239
Change-Id: I7258bcc9038037ab6a233a77f698fa54d35e9906
Changyeon Lee [Tue, 28 Dec 2021 02:49:42 +0000 (11:49 +0900)]
e_comp_wl_hwc: send discard event if hwc_window does not display by hwc
if hwc_window does not display by hwc, feedback does not need to
wait commit.
Change-Id: Ic424c93424d273303d4b9690c6150576ee522a1a
Doyoun Kang [Tue, 28 Dec 2021 02:50:12 +0000 (11:50 +0900)]
e_policy_visibility: modify code to clone the wait_buf_attach_grab_list
In e_policy_visibility_client_uniconify_by_visibility_job_cancel, we freed wait_buf_attach_grab_list,
and then we tried to call _e_vis_grab_release. So, no grab was freed.
To fix this, we add code to clone the wait_buf_attach_grab_list first.
Then, we free the wait_buf_attach_grab_list, and call the _e_vis_grab_release using cloned list.
Change-Id: I70636d159b0b6558b967b08ce4212879403760bb
Changyeon Lee [Mon, 27 Dec 2021 08:56:46 +0000 (17:56 +0900)]
e_hwc_windows: set window transition when transition is client
set window transition for increasing transition failures
Change-Id: I1bc4dc42b5312ac1ebc2b01cc39d7174d73914ff
Changyeon Lee [Mon, 27 Dec 2021 08:55:26 +0000 (17:55 +0900)]
e_hwc_windows: add info log about hwc transition
Change-Id: I609c7b6d9bb9dda58d4e8283f59015db869575a1
Doyoun Kang [Fri, 24 Dec 2021 02:21:35 +0000 (11:21 +0900)]
e_comp_wl: remove checking e_object_is_del in wl_surface_frame destroy callback
In _e_comp_wl_frame_cb_destroy, there existed code to return when the ec was deleted.
Then the destroyed frame was not removed from the each frame lists of ec->comp_data,
it occured memory corruption while destroying the already destroyed frame again.
Change-Id: I1e1b64a4daaf10c2b0f6da56a3090c90193cc4d9
Doyoun Kang [Wed, 22 Dec 2021 09:32:45 +0000 (18:32 +0900)]
e_policy_visibility: modify code for handling uniconify below window which is not use deiconify_update
When a window is lowered or hidden, its below window must be shown by enlightenment.
But there was a bug that the below window which is not set deiconify_update and buffer_flush property
didn't show because its iconic state was not changed.
This patch resolve this problem.
Change-Id: I99e6adc6fc39f754e8a10b57466cceaca2e66a75
Changyeon Lee [Wed, 22 Dec 2021 04:13:49 +0000 (13:13 +0900)]
e_xdg_shell_v6: fix null pointer dereference
Change-Id: I1ee98c3ec82629bba4c4d82ebdda34fe32a530f9
Changyeon Lee [Wed, 22 Dec 2021 03:45:47 +0000 (12:45 +0900)]
e_hwc_window: fix leak of e_map
Change-Id: I58d9d7428c5b22105250b17add95bd3d681a629c
Changyeon Lee [Wed, 22 Dec 2021 02:48:32 +0000 (11:48 +0900)]
e_hwc_window: fix type cast when ratio is calculated
Change-Id: Ieba3625a10b5c8393041cb8e2f6d05412db0d531
Changyeon Lee [Wed, 15 Dec 2021 08:55:51 +0000 (17:55 +0900)]
e_hwc_window: set device state available to true in case transform of client is rectangle
hw plane can support rectangle transform.
tdm backend should decide whether rectangle transform window can be
display by hw plane.
Change-Id: I05be6daba65f811977f617441d656e0a6c0b5b36
Doyoun Kang [Wed, 15 Dec 2021 07:48:14 +0000 (16:48 +0900)]
e_comp_object: add ec information for CRI log
Change-Id: I4bd11d15291fa7b386967c555d54020fa91fbadc
Signed-off-by: Doyoun Kang <doyoun.kang@samsung.com>
Changyeon Lee [Tue, 14 Dec 2021 03:21:17 +0000 (12:21 +0900)]
e_hwc_windows: fix leak of visible_windows list when e_hwc is deleted
Change-Id: I43f6113c3940bc9b6703d7f5dbe3f855f73dab3a
Changyeon Lee [Fri, 10 Dec 2021 03:26:42 +0000 (12:26 +0900)]
e_hwc_window: fix position of hw cursor when output is not 16:9
if only width or height of output resolution is larger than width or
height of cursor output resolution,
cursor image does not need to adjust hot position because cursor image
does not scaled.
Change-Id: If7e6501a8e5da7e5da34353bcb4526f1fee3924c
Doyoun Kang [Mon, 13 Dec 2021 02:06:40 +0000 (11:06 +0900)]
e_xdg_shell: check role before adding list while handling configure
If the surface's role is not TOPLEVEL or POPUP, then e doesnot add configure resource
in the internal list.
Change-Id: Icd092b61f6e37d92e8803c0e447a92ff3b160c2b
Signed-off-by: Doyoun Kang <doyoun.kang@samsung.com>
Doyoun Kang [Tue, 7 Dec 2021 02:51:59 +0000 (11:51 +0900)]
e_comp_object: fix corrupt e_comp's layer inlist
There was a bug that the e_comp's layer inlist was corrupted.
This could be occurred when the window which has transient children and sub-surface changed its layer.
E remove a parent from the inlist, and then changed the layer of children and sub-surface.
In subsurface code, there is a callback function for EVAS_CALLBACK_RESTACK.
And it calls stack_above or stack_below to the parent.
But unfortunately, the parent was removed from inlist. So, inlist could corrupted in this case.
This patch resolve this problem.
Change-Id: I2018a7409366e73bc8bd67f2a547da8755225046