jeon [Fri, 20 Mar 2020 10:04:41 +0000 (19:04 +0900)]
e_comp_wl: get inverse coordinations using evas_map
Change-Id: Iff4c69df10ad56078d27be9f653d254c57657f6b
Juyeon Lee [Mon, 4 Nov 2019 07:33:49 +0000 (16:33 +0900)]
e_hwc_windows: free visible_windows
Change-Id: I50188bee59d66e33310d2d29f5012354425261af
Doyoun Kang [Thu, 17 Oct 2019 05:27:53 +0000 (14:27 +0900)]
e_client: add a E_EVENT_CLIENT_ROTATION_GEOMETRY_SET event type
Change-Id: I517850466d5ee48bf74cd105a3566788ce0496df
Juyeon Lee [Thu, 19 Sep 2019 07:13:00 +0000 (16:13 +0900)]
e_main: make sure to be unbuffered for stderr also
The stream stderr is unbuffered as a default. but make sure to be unbuffered
just in case printf redirection in runtime.
Change-Id: I451ecbcc2590539079c482f83c239bd3dd2b5641
Juyeon Lee [Tue, 17 Sep 2019 07:09:11 +0000 (16:09 +0900)]
e_main: turn off buffering at the beginning of main
move the line to the beginning of main func.
Change-Id: I30d6331c46a1fe5c9d0984fb8791a441af693cdc
Juyeon Lee [Tue, 3 Sep 2019 09:43:32 +0000 (18:43 +0900)]
use e_client_layer_set api for client stack change
if it has only purpose for changing the evas obj layer(such as ibar
effect animation temporarily, or quickpanel mover generation)
use evas_object_layer_set, but if it is about the client layer policy change
use e_client_layer_set api. because it handles the exception of
layer_pending and layer_block.
Change-Id: Ia73dba859e65e52057d526ef78e3727c2304ba9d
Juyeon Lee [Tue, 3 Sep 2019 08:45:14 +0000 (17:45 +0900)]
e_client: add e_client_layer_set() for the change of client layer
evas_object_layer_set is used for change client layer or effect
to distinguish the usage and reduce inappropriate use, added
NEW API: e_client_layer_set
allowed layer set from E_LAYER_CLIENT_DESKTOP to E_LAYER_CLIENT_CURSOR
this api saves layer to ec->layer when in pending or block state
so the layer can be set after pending or block is free.
Change-Id: I44b9b2b73378e79cb0d4a62fbd8b66bae076270b
Juyeon Lee [Tue, 3 Sep 2019 09:54:47 +0000 (18:54 +0900)]
e_comp_object: fix infinite loop of client inlist
due to layer change while layer_pending
it causes cw-layer dismatch with ec->layer and its evas object layer
Change-Id: I3c8df4c269680ff71c90356f952be3b2095eda55
Junseok, Kim [Tue, 27 Aug 2019 12:13:14 +0000 (21:13 +0900)]
e_client: check focus_skip with argb while check fully_contain_by_above
Change-Id: I73481f697dc04373f16798dfea4bb3098048a75c
Junseok, Kim [Fri, 23 Aug 2019 07:12:10 +0000 (16:12 +0900)]
e_client: check argb and force_obscured while check fully_contain_by_above
Change-Id: I3dafc53acbd9e8354ae97ad1215a54875d332aac
Junseok, Kim [Wed, 14 Aug 2019 10:52:48 +0000 (19:52 +0900)]
e_client: make do not check focus_skip while check fully_contain_by_above
At below of the 24-bit color full size and focus skipped window,
if the client doing show and activate immediately can cause client takes a focus for a moment.
For fix this issue, we makes do not check focus_skip in fully_contained_by_above.
Change-Id: I020f4760f06813fe2c6ba21e58ffb9076e0129a9
Doyoun Kang [Wed, 14 Aug 2019 09:57:47 +0000 (18:57 +0900)]
e_client: fix bug for setting focus to invalid window in visibility calculation
When the skip-focus set and full size window was shown on the higher layer,
there was a bug that the normal window got and lost focus when it requested to activate.
It had not to get the focus because it was obscured by the higher layer window.
For this bug, the normal window got both focus-in and focus-out event.
To resolve this problem,
we added checking code whether the top visible full size window set skip-focus or not.
Change-Id: Iaa2c7564187f39e260bf33ab315ef4b02e4431df
Junseok, Kim [Wed, 10 Jul 2019 07:32:28 +0000 (16:32 +0900)]
e_client: rename function e_client_focus_second_set
Change-Id: If1ddad7329bcf1315fa602d454b5b012c5570137
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
Seunghun Lee [Thu, 4 Jul 2019 23:52:57 +0000 (08:52 +0900)]
e_comp_wl: 'below_obj' has to be deleted if it was created before subsurface.
If 'below_obj' for 'E_Client' was created before it becomes subsurface,
then 'below_obj' has to be deleted.
Otherwise, it will cause undefined behavior.
Since 'below_obj' is to fill the background of toplevel surface which
wants to show opaque UI but submit buffers that has alpha channel for
overlay video, 'below_obj' obviously isn't for subsurface.
Change-Id: I7522d0b9b87f0aaf0011224bd950dd9727ecc12e
Doyoun Kang [Wed, 5 Jun 2019 05:06:13 +0000 (14:06 +0900)]
e_comp_wl_rsm/e_client: capture window in e_client_iconify
Window was captured in E_CLIENT_HOOK_ICONIFY hook function.
We move this code into e_client_iconify function.
For this change, the capture thread can run before calling evas_object_hide(ec->frame).
So, buffer reference count is not dropped to 0 until finishing capture window.
Change-Id: Ie82211a57d066bb18f0368fe33c3174bc391a15b
Juyeon Lee [Mon, 27 May 2019 09:47:51 +0000 (18:47 +0900)]
e_policy_visibility: changes on e_vis_ec_below_uniconify()
if the ec is not fullfilling the screen, no needs to wait
below clients' uniconify
Change-Id: If9a81f09ab18a7496b7502b68918fad02ede949f
Gwanglim Lee [Fri, 26 Apr 2019 08:15:41 +0000 (17:15 +0900)]
e_policy_visibility: fixed a heap-use-after-free error for the deleted ec when logging
Change-Id: Iae4f57ba35332aa532d187320d93c5e00aa7f4d1
Junseok, Kim [Fri, 24 May 2019 11:07:43 +0000 (20:07 +0900)]
e_client, e_comp_object: add focus second set and call it when window show without take focus.
There is a bug that latest focused window can't take focus.
When two or more windows are fully obscured by 24bit color fullsize window, the above window disappears then one of window(A) take focus and the other window set latest focused window(B).
In this situation, another window showing and hide, then below latest focused window(A) has lose focus and the other window(B) takes focus.
For solve the problem, if the window can't take when showing, that the windows focus_stack sets right behind of existing focused window.
Change-Id: Ib5da9166c17841024d86d4eb3214308827f9eacf
Juyeon Lee [Wed, 22 May 2019 07:53:02 +0000 (16:53 +0900)]
e_comp_wl: automic move/resize - remove unnecessary code
Change-Id: If77a1951922164fcf570f3d5bfe23417e10e4936
Doyoun Kang [Mon, 13 May 2019 04:11:25 +0000 (13:11 +0900)]
add e_client_focus_skip_set and focus_skip event
1. Add E_API e_client_focus_skip_set to set/unset skip focus property
2. Add E_EVENT_CLIENT_FOCUS_SKIP_SET, E_EVENT_CLIENT_FOCUS_SKIP_UNSET event
and these events are triggered when e_client_focus_skip_set is called
Change-Id: Ia7a93c7b6b1f132927e32765e997b6fb91033e15
Changyeon Lee [Wed, 17 Apr 2019 08:47:22 +0000 (17:47 +0900)]
e_plane_renderer: fix wrong checking reserved flag of client buffer
renderer of non reserved plane doesn't need to check reserved flag
Change-Id: Id9e48a9f60d38cc7084b6f98bc2a37e5a7184c54
Changyeon Lee [Mon, 15 Apr 2019 06:08:22 +0000 (15:08 +0900)]
e_info_server: use sync dump in topvwins and selected_buffer
Change-Id: I03d114a185301f529d3b8cc537a566e7f0deef25
jeon [Fri, 12 Apr 2019 05:03:45 +0000 (14:03 +0900)]
e_comp_wl: add intercept hooks to control cursor timer
Change-Id: Ia46db6c3fa4f298ba95fa41efeea812a6075030b
jeon [Tue, 2 Apr 2019 05:32:00 +0000 (14:32 +0900)]
e_comp_wl: check cursor_timer config in caller not function inside
Change-Id: I2275e361fdbc2847d7ba781fdb83003e6c281a43
jeon [Fri, 29 Mar 2019 07:38:41 +0000 (16:38 +0900)]
e_comp_wl: show a cursor when button is pressed using cursor timer
Change-Id: I289dbea3af4d1e8155716b394458886777dad9cf
lsj119 [Fri, 22 Mar 2019 05:07:58 +0000 (14:07 +0900)]
e_comp_wl_rsm: Support EClient capture
For this, add new api - e_client_image_save()
Change-Id: I91cf8d81ee61b987357d5ed95d347a04e10c8022
lsj119 [Thu, 21 Mar 2019 02:35:58 +0000 (11:35 +0900)]
e_comp_wl_rsm: make path for image
Modified to create image path before create the thread.
Because just a thread is created at a time, it is possible.
Change-Id: I3ccf9c0473a7ddc5d745c1b27f53a272e6768c7a
lsj119 [Wed, 20 Mar 2019 11:16:35 +0000 (20:16 +0900)]
e_comp_wl_rsm: use e_comp_wl_remote_surface_image_save
For redude duplicate code, use e_comp_wl_remote_surface()
instead of _remote_source_save_start()
Change-Id: Ib448b33620c4dfd97cfa5ecf70f2930d45f6494e
lsj119 [Wed, 20 Mar 2019 10:58:28 +0000 (19:58 +0900)]
e_comp_wl_rsm: remove the defer_img_save
the defer_img_save made for restart save. but it is no longer used.
Change-Id: I0f017e10ab0c00701ad4efd4be8c95e9f89b7d45
Doyoun Kang [Wed, 13 Mar 2019 08:56:29 +0000 (17:56 +0900)]
e_policy: fix bug for handling iconify/uniconify fully-obscured window
There was a bug that the fully-obscured window was not iconified in visibility hook.
If a skip_iconify window is placed above on the fully-obsucred window, then the fully-obscured
window could not be iconified because the skip_iconify window is not considered to find above window.
So, If below case, "win B" is not iconified and could get the focus wrong.
[top]
Win A (24 bit skip_iconify)
Win B (24 bit fully-obscured, but not iconic)
[bottom]
Change-Id: Ibd72f426d68661b9f767914db6f64915959adaad
Changyeon Lee [Fri, 8 Mar 2019 04:53:48 +0000 (13:53 +0900)]
e_comp_object: ref/unref tbm_surface when call native_surface_set
Change-Id: I15e55b383cc9cdd9058de181db73c58d9e142d59
Doyoun Kang [Wed, 6 Mar 2019 10:38:11 +0000 (19:38 +0900)]
e_service_quickpanel: add log for debugging
Change-Id: Ieca7031aa27470aa200f71eb72788c32cb8bacd6
Seunghun Lee [Fri, 15 Feb 2019 08:56:09 +0000 (17:56 +0900)]
e_comp_wl: Remove return code by validation of below_obj.
_e_comp_wl_subsurface_check_below_bg_rectangle() implementation should
handle the case that below_obj is exist in case of alpha client.
Change-Id: Idc455eb44f3915525275a59946fb6594442bfc4e
Seunghun Lee [Fri, 15 Feb 2019 02:27:25 +0000 (11:27 +0900)]
e_comp_wl: Delete below background object if client want to change its opaque state to alpha.
Background object placed below should be removed when client changes its
opaque state to alpha so that make other windows to be visible.
Change-Id: Iaaab49fce8c7e10f63a87647fdb6650a88928753
Sung-Jin Park [Fri, 25 Jan 2019 01:06:41 +0000 (10:06 +0900)]
e_dbus_conn: call eldbus_connection_unref() within an ecore main thread
Change-Id: I56774c20de34b68aded26430c3325dce831f6c1a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
(cherry picked from commit
8410f88b62c80df4a12b8197b9f28b324e6a85d9)
Sung-Jin Park [Thu, 24 Jan 2019 09:50:59 +0000 (18:50 +0900)]
Revert "e_dbus_conn: do eldbus_connection_unref in the main thread, add a logic to do unref using reference count"
This reverts commit
b5d331adc26b91154b3b4ca1727e8e750b7bf11d.
Change-Id: I99e3028b2ac71a4617e4442fa09812d8f00b0f47
(cherry picked from commit
14b875dfbfefe854312140b22e523b09e1235547)
jeon [Fri, 25 Jan 2019 04:24:56 +0000 (13:24 +0900)]
devicemgr: add virtual mouse/key device creation using configuration
- This functions were lost during devicemgr migration to core
- so cherry pick this funtions
Change-Id: I89195f203cba11624e460488373e0de6c5a53fbe
aakarshanga [Wed, 16 Jan 2019 05:04:35 +0000 (10:34 +0530)]
e_util_transform: Rotation transformation along particular axis
Change-Id: Ie0a380724acb394f2c6d7ecf221e2225c8c676e0
Signed-off-by: aakarshanga <aakarshan.ga@samsung.com>
jeon [Thu, 17 Jan 2019 06:55:41 +0000 (15:55 +0900)]
e_keyrouter: modify top position grab check condition
- ec->visible is only check this ec is mapped or not
- visible window status is always E_VISIBILITY_UNOBSCURED
Change-Id: I4f86ec83cc548e2b06d527bb91d3a58b7bad4c23
Juyeon Lee [Fri, 11 Jan 2019 06:52:04 +0000 (15:52 +0900)]
e_comp_object: add e_comp_object_native_usable_get()
API e_comp_object_native_usable_get returns if cw->obj is drawable using ns
when a client attaching and committing NULL buffer, its pixmap is changed unusable
and at the same time, server make the client unmap and emit hide effect
to run hide effect, moudules can refer if a window still holds native surface
by using this api
Change-Id: I8556401dfef907cde2b13839d94fc64bc0a18187
jeon [Wed, 9 Jan 2019 05:26:11 +0000 (14:26 +0900)]
e_client: make fake mouse-out upon focus-out conditional
- cursor is not changed correctly on wayland
when a window lost focus while the cursor remained
inside the window.
- so patch this fake mouse-out condition refer to opensource
Change-Id: Iac21c482c4c4a274aa8748c390f6031efc1c7510
(cherry picked from commit
017b9e0d7fff6d5d7d3d455c8e31f2820f0bf715)
Sung-Jin Park [Thu, 10 Jan 2019 07:47:08 +0000 (16:47 +0900)]
e_dbus_conn: do eldbus_connection_unref in the main thread, add a logic to do unref using reference count
Change-Id: Iae87d1903d2a0778c4c22f8902c20f20a7f8d94d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Changyeon Lee [Tue, 8 Jan 2019 07:15:48 +0000 (16:15 +0900)]
e_plane_renderer: don't set release timer to buffer isn't usable
not usable buffer isn't sent to client and dequeue,
so it don't needs release timer.
Change-Id: I34ef57f465c49dd15d0b037574df8a1b05131785
Changyeon Lee [Tue, 8 Jan 2019 02:40:57 +0000 (11:40 +0900)]
e_plane_renderer: fix leak in case fail to get acquirable surfaces
Change-Id: I81f291f6758c9d252701cf20d8bbf8bf82a6d293
Changyeon Lee [Wed, 2 Jan 2019 08:45:18 +0000 (17:45 +0900)]
e_plane_renderer: fix flickering when fb_target switch comp mode
if not usable and acquired buffer released to queue of fb_target,
it cause flickering when fb_target switch composite mode.
because not usable and acquired buffer can be displayed.
Change-Id: I86e485b46ee9244eb5b8904ddbcddf403c04beac
Changyeon Lee [Mon, 7 Jan 2019 08:16:39 +0000 (17:16 +0900)]
e_info_server: fix issue which fps isn't shown when hwc policy is planes
Change-Id: I040ee39f1582c9434ea3114da1351fdf3e110bdd
Junkyeong Kim [Fri, 4 Jan 2019 08:31:00 +0000 (17:31 +0900)]
e_comp_wl_viewport: erase unused variable
Change-Id: Ia2fa18de44c29e768a47a34f927f50ba710a47c2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Doyoun Kang [Fri, 4 Jan 2019 07:37:46 +0000 (16:37 +0900)]
fix memory leak in keyboard capture process
Change-Id: I4081c3f8145a21f2d49a4196b1d37849098b4845
Changyeon Lee [Wed, 2 Jan 2019 11:43:28 +0000 (20:43 +0900)]
e_plane_renderer: remove render_buffers list in free callback
Change-Id: I42873cabb0dcb6e3c7f208fddae5f042b27ce539
Changyeon Lee [Tue, 11 Dec 2018 09:43:10 +0000 (18:43 +0900)]
e_plane_renderer: unset plane if client commit with normal buffer
Change-Id: I285ed8846e0e1c92aa239e5ef053df8db7df9678
Junkyeong Kim [Fri, 28 Dec 2018 07:20:23 +0000 (16:20 +0900)]
e_comp_wl_viewport: fix vp source buffer info set error
Change-Id: I8ea56962a639a09a37ce05eeb7540808c2583da7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Doyoun Kang [Fri, 28 Dec 2018 05:44:52 +0000 (14:44 +0900)]
e_client: add log for e_client_visibility_skip_set
Change-Id: I27313fd3f8cbd3edfd2820df7b311927489a7bea
Changyeon Lee [Wed, 26 Dec 2018 12:34:42 +0000 (21:34 +0900)]
e_plane_renderer: check redirect of ec if state is candidate
candidate state means that ec isn't set to plane so we need to check
redirect of ec in deactivate.
Change-Id: I83be69b3341abdc6206f7876f3bd338b5fd12d94
Doyoun Kang [Fri, 21 Dec 2018 03:42:47 +0000 (12:42 +0900)]
e_comp_wl_rsm: check whether ec is deleted or not before creating E_Comp_Wl_Remote_Source
Change-Id: Ic5303795fddc9d850c0cf6f04ef1dc268496b065
jeon [Wed, 19 Dec 2018 10:48:00 +0000 (19:48 +0900)]
e_input: close input device's fd in close restricted function only
Change-Id: I1a8c07bf09a5112e2743f7deed9abcf2105c37d6
Doyoun Kang [Wed, 19 Dec 2018 05:34:21 +0000 (14:34 +0900)]
e_policy_visibility: add a function not to uniconify below window
We add a e_policy_visibility_client_below_uniconify_skip_set() function.
If a window set the below_uniconify_skip, then the below window of it is not uniconified
when it is hidden.
This function can be used by a module such as effect module.
Change-Id: I83cfdc45c0895ff1f9da3bee0c713d7bea5ac55d
Doyoun Kang [Mon, 17 Dec 2018 07:54:49 +0000 (16:54 +0900)]
transient_for: apply transient_for stack while handling map window
We add code to change window stack if it has a transient_for window when it is mapped.
For this, enlihghtenment does not send pre-visibility event when the window which set
transient_for to fully-obscured parent is mapped.
Change-Id: Ie96081f84277893cfbba9c283b4725867021992d
Doyoun Kang [Mon, 17 Dec 2018 00:43:35 +0000 (09:43 +0900)]
e_comp_wl_shell: add error log for map window
Change-Id: I03f6953f36fdf2a65e72b9cad03ef60696fc9ec3
Doyoun Kang [Fri, 14 Dec 2018 07:30:14 +0000 (16:30 +0900)]
e_client/e_pixmap: add log for pixmap
Change-Id: If2d93e3974d57fc68938862adadd2841019d7190
Seunghun Lee [Mon, 17 Dec 2018 02:52:39 +0000 (11:52 +0900)]
e_comp_object: Save render op value when set a mask object.
Render op value should be saved to restore when it should be restored.
NOTE: DO NOT change the render op on ec->frame while mask object is set.
It's obvious to overwrite the changed op value when mask is unset.
Change-Id: I5b2807bdb69917156560956db9f0191a99b04a2c
SooChan Lim [Fri, 7 Dec 2018 04:45:13 +0000 (13:45 +0900)]
e_hwc_windows: implement the fps
Change-Id: Ibf55d9097de11904df0a2b6a2f020a925c1da91c
SooChan Lim [Thu, 6 Dec 2018 23:12:47 +0000 (08:12 +0900)]
e_hwc_window: modify the cursor
The e20 sends the virtual pointer to the tdm_hwc.
The tdm_hwc decides the hwc policy for the cursor with
the cursor information.
The tdm_hwc will display the cursor with the cursor image,
the rotation and the position information.
Change-Id: I2d908b8e38baf663bbecb2c200a87e9445be115a
SooChan Lim [Thu, 6 Dec 2018 23:11:13 +0000 (08:11 +0900)]
e_hwc_windows: do not deal with quickpanel policy
The quickpanel policy has to be deal at tdm backend.
Change-Id: I465db0bfeba04e84c1a0d455d49a8a2971576086
SooChan Lim [Sat, 15 Dec 2018 23:57:00 +0000 (08:57 +0900)]
hwc: change the hwc_video_capabilities to the hwc_capabilities
Change-Id: Iabf397f6bd06571e1dde55689f3e2f92d680a5d8
Changyeon Lee [Mon, 10 Dec 2018 04:58:34 +0000 (13:58 +0900)]
e_plane_renderer: don't use tbm_surface_queue func in alloc callback
Change-Id: Iaa2361027cc1405e3a9e0ea8de33ee59bbc31186
Changyeon Lee [Tue, 4 Dec 2018 06:03:39 +0000 (15:03 +0900)]
e_plane_renderer: call evas_norender if client is set to fb target plane
input event need to render call even if rendering of compositing
isn't needed. so e_plane_renderer call evas_norender.
Change-Id: Icd8185a9d65cf47e45ae0f26a1172e7a46d83cbc
Juyeon Lee [Tue, 4 Dec 2018 09:00:45 +0000 (18:00 +0900)]
e_xdg_shell_v6: remove condition for no handling of first xdg_surface.configure
dali application have not handle xdg configure event so
the error handle condition should be added after client side ack
Change-Id: I336c4785fbba8bab63885fb8145eb200ee6f09ef
Changyeon Lee [Mon, 3 Dec 2018 11:53:49 +0000 (20:53 +0900)]
e_pixmap: end hwc of ec if ec is on overlay in e_pixmap_buffer_clear
Change-Id: I130f06d7715ab03906d406d8111723f844957af6
Changyeon Lee [Thu, 29 Nov 2018 07:17:48 +0000 (16:17 +0900)]
e_plane_renderer: use fetch buffer when recover buffer
Change-Id: I587cdc687aa143528241a77c8ad186a4a421c36e
Changyeon Lee [Wed, 28 Nov 2018 08:47:43 +0000 (17:47 +0900)]
e_plane_renderer: add log when create backup buffer
Change-Id: I13522e3637e0036d9fe25f39a56927e04da3fad8
Changyeon Lee [Wed, 28 Nov 2018 11:30:39 +0000 (20:30 +0900)]
e_hwc: don't allow hwc if ec is animating
Change-Id: I3c63e1012b86f2431ee7e5fefb6dabe1b38581d5
Changyeon Lee [Wed, 28 Nov 2018 11:28:20 +0000 (20:28 +0900)]
e_hwc: don't allow hwc if comp_override of ec is positive
Change-Id: Ic15e51591bdfa1b1df3240e2e4533bb99d010572
SooChan Lim [Thu, 29 Nov 2018 00:48:18 +0000 (09:48 +0900)]
e_hwc_window: change the prefix of the window constraint
Change-Id: I89a5d24cc8edddf341356a4d72f7c8a54eeefa5e
SooChan Lim [Thu, 29 Nov 2018 00:47:06 +0000 (09:47 +0900)]
e_hwc_windows: change the accept_changes to the accept_validation
Change-Id: I2b3a74722c481d837b9cdd3f035802f315f2ba26
SooChan Lim [Wed, 28 Nov 2018 10:13:54 +0000 (19:13 +0900)]
e_hwc_window: use e_hwc_window_state_set
Change-Id: Ib66cbc94ed6911e413a9c5f23346939f221c31f0
SooChan Lim [Wed, 28 Nov 2018 08:04:49 +0000 (17:04 +0900)]
e_hwc_windows: move the target_window stuffs to the e_hwc_windows
Change-Id: I686d7ce05c70459540cdb6811bddbf44e58bfef2
SooChan Lim [Tue, 27 Nov 2018 23:27:38 +0000 (08:27 +0900)]
e_hwc_window_queue: remove exported_destroy_listener at the exported_buffer_destroy callback
Change-Id: Idf38530cf321cbe9284470e9909b0c5990ef2261
SooChan Lim [Tue, 27 Nov 2018 01:24:38 +0000 (10:24 +0900)]
e_hwc_windows: check the list_count before destroy the list
Change-Id: I833f4e9700255648633c83aa8ce795c8582d4445
SooChan Lim [Tue, 27 Nov 2018 01:20:59 +0000 (10:20 +0900)]
e_hwc_windows: update the visible windows at first
Change-Id: I6732a757ec0fcfde03340cc8ba6fee82685847c5
SooChan Lim [Mon, 26 Nov 2018 01:52:43 +0000 (10:52 +0900)]
e_hwc_window_queue: do not destroy the equeue at _e_hwc_window_queue_cb_destroy.
It makes the curruption when it destroys the equeue in the callback function
Change-Id: Ic05866c04a10a8def6acec77a80ace789ea4c89a
SooChan Lim [Mon, 26 Nov 2018 01:46:39 +0000 (10:46 +0900)]
e_hwc_windows: donot set fullscreen gl composition at E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE
Change-Id: I5ebeaf0f66f8a9e1f1f3c150a6a47e92babaac8d
SooChan Lim [Mon, 26 Nov 2018 01:44:48 +0000 (10:44 +0900)]
e_hwc_windows: print the visible windows for debugging
Change-Id: I474b7cc5ea982ad01f0542aec73233118b211730
SooChan Lim [Mon, 26 Nov 2018 01:40:41 +0000 (10:40 +0900)]
e_hwc_window: use the address of the ee_rendered_hw_list_key as the key
Change-Id: I40257c5e23097cc522072129c2a0c30a0e0d6ea6
Juyeon Lee [Wed, 21 Nov 2018 09:43:40 +0000 (18:43 +0900)]
e_info: added '-trace serial' to print tbm serial updates
Change-Id: I5f94e220250f00988bf0194af62f06ad832ad1a9
Juyeon Lee [Wed, 21 Nov 2018 07:43:13 +0000 (16:43 +0900)]
e_info: -hwc -hwc_trace are changed
-hwc : had on and off option, added 3rd option to print out hwc information
0 means hwc policy deactive
1 means hwc policy active
2 means prints out plane info regarding hwc
-trace : the option name is changed from -hwc_trace to -trace
for the genernal purpose of log trace
-trace hwc 1,0 turns on and off of plane_trace_debug
Change-Id: Ia0f68615558a8eab010d294e03b2f4b8537b81a8
Juyeon Lee [Mon, 26 Nov 2018 04:52:30 +0000 (13:52 +0900)]
e_xdg_shell_v6: change condition for client's surface commit
whenever client set and unset its user geometry,
configure event with width and height(zero or screen size) is sent to client.
when user geometry gets unset, sometimes client commit serveral times
with invalid size buffer, and right size buffer after a while eventually.
in that case e20 was not adjust its ec->frame size refer to delayed commit(the right size)
because of this issue, make client to be changed by their commit buffer size
in addition to that, added new condition for error
(a commit which attempts configure prior to the first xdg_surface.configure is error)
Change-Id: I1e7279db49fa1fb7bce0be63c82f143b8394c6ca
Doyoun Kang [Fri, 23 Nov 2018 03:07:22 +0000 (12:07 +0900)]
add a bg_state value in E_Client to handle background state
There was a bug that the visibility was changed to fully-obscured <-> un-obsucred continuously
when an application set a background state.
This patch fixes this bug.
Change-Id: I43f3486e02b7fb9fe30d68d5e09f5fc06269b4b8
Doyoun Kang [Thu, 22 Nov 2018 08:19:10 +0000 (17:19 +0900)]
visibility: add some information in the visibility log
Change-Id: Ic3465f425aa109ecc9c6454ff15416538868b6a2
Changyeon Lee [Wed, 21 Nov 2018 12:43:23 +0000 (21:43 +0900)]
e_comp: remove unnecessary log
Change-Id: I2f209049408a4ffd9ae62f4d33cc081d57406e5b
Juyeon Lee [Tue, 20 Nov 2018 06:52:38 +0000 (15:52 +0900)]
e_client: fix wrong bit field for surface sync
Change-Id: I5035b66d60a8b7d9dda14a962e366adc48cd1711
Changyeon Lee [Mon, 19 Nov 2018 12:01:21 +0000 (21:01 +0900)]
e_comp: define e_comp_client_render_list_add
Change-Id: I6b964f29506c75489a119df3a6a7aae06330f1de
Changyeon Lee [Mon, 19 Nov 2018 11:30:04 +0000 (20:30 +0900)]
e_comp_wl: don't change usable of pixmap if state of ec is unmap
Change-Id: Id9b6246b95938ee66e88a072462bc922c2946dde
Changyeon Lee [Mon, 19 Nov 2018 10:10:32 +0000 (19:10 +0900)]
e_plane_renderer: delay send release event until rendering of compositor is done
e20 send release event when receive buffer of next frame and render post callback of
current frame in compositing.
it is possible that client use buffer while compositor is using buffer as the source.
Change-Id: Ifaaf1359bbcd15cf2ef94eb40144a7663e92dcd0
Changyeon Lee [Mon, 19 Nov 2018 10:06:22 +0000 (19:06 +0900)]
e_comp: add render_list to e_comp
clients that are composited at current frame are append to the render list.
Change-Id: Ib9a814b4d87a741420e9c1625326077d2054182a
Changyeon Lee [Mon, 19 Nov 2018 02:23:41 +0000 (11:23 +0900)]
e_pixmap: add e_pixmap_ref_resource_get
Change-Id: I7d8971e77f42a5a9f1c25b19ed256940467fe4cd
SooChan Lim [Mon, 19 Nov 2018 10:31:29 +0000 (19:31 +0900)]
e_hwc_windows: enhance the logs
Change-Id: I79d5799f6446cb5fceb66a04527f890e1f475bc5
SooChan Lim [Mon, 19 Nov 2018 09:52:28 +0000 (18:52 +0900)]
e_hwc_window: change the prefix of the TDM_COMPOSITION_
Change-Id: I8b381930a502ba43e4286be5d9eb62102ac2c1f3
SooChan Lim [Mon, 19 Nov 2018 09:50:26 +0000 (18:50 +0900)]
e_hwc_windows: change the tdm_hwc_accept_changes to the tdm_hwc_accept_validation
Change-Id: Ifb49b627a0df2add796c96ea2b506957eaaf024e
SooChan Lim [Mon, 19 Nov 2018 09:43:18 +0000 (18:43 +0900)]
e_hwc_window: do not make all windows be clients at UI subsurface case
Change-Id: Ie908d0a34a3fa93c6373b46294c4c9156451e869
SooChan Lim [Mon, 19 Nov 2018 09:41:37 +0000 (18:41 +0900)]
e_hwc_window_queue: use the address of the tqueue as the key
Change-Id: Ib132b00663e774ee19bd6410e181141f3e2cacea