platform/upstream/enlightenment.git
5 years agoe_comp_wl: get inverse coordinations using evas_map 50/228350/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20200324.082343 submit/tizen_5.0/20200324.122036
jeon [Fri, 20 Mar 2020 10:04:41 +0000 (19:04 +0900)]
e_comp_wl: get inverse coordinations using evas_map

Change-Id: Iff4c69df10ad56078d27be9f653d254c57657f6b

5 years agoe_hwc_windows: free visible_windows 21/216921/1
Juyeon Lee [Mon, 4 Nov 2019 07:33:49 +0000 (16:33 +0900)]
e_hwc_windows: free visible_windows

Change-Id: I50188bee59d66e33310d2d29f5012354425261af

5 years agoe_client: add a E_EVENT_CLIENT_ROTATION_GEOMETRY_SET event type 95/216195/1 accepted/tizen/5.0/unified/20191023.050226 submit/tizen_5.0/20191022.074336
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

5 years agoe_main: make sure to be unbuffered for stderr also 41/214241/2
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

5 years agoe_main: turn off buffering at the beginning of main 31/214031/1 accepted/tizen/5.0/unified/20190918.043922 submit/tizen_5.0/20190918.000933
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

5 years agouse e_client_layer_set api for client stack change 59/213259/2 submit/tizen_5.0/20190903.103203
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

5 years agoe_client: add e_client_layer_set() for the change of client layer 50/213250/2
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

5 years agoe_comp_object: fix infinite loop of client inlist 61/213261/1
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

5 years agoe_client: check focus_skip with argb while check fully_contain_by_above 65/212865/2
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

5 years agoe_client: check argb and force_obscured while check fully_contain_by_above 93/212593/1
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

5 years agoe_client: make do not check focus_skip while check fully_contain_by_above 24/212124/1 accepted/tizen/5.0/unified/20190821.102002 submit/tizen_5.0/20190819.005833
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

5 years agoe_client: fix bug for setting focus to invalid window in visibility calculation 21/212121/2
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

5 years agoe_client: rename function e_client_focus_second_set 16/209716/1
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>
5 years agoe_comp_wl: 'below_obj' has to be deleted if it was created before subsurface. 11/209311/1 accepted/tizen/5.0/unified/20190705.041558 submit/tizen_5.0/20190705.005729
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

6 years agoe_comp_wl_rsm/e_client: capture window in e_client_iconify 95/207595/2 accepted/tizen/5.0/unified/20190611.012201 submit/tizen_5.0/20190610.061231 submit/tizen_5.0/20190610.075734
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

6 years agoe_policy_visibility: changes on e_vis_ec_below_uniconify() 08/206808/4
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

6 years agoe_policy_visibility: fixed a heap-use-after-free error for the deleted ec when logging accepted/tizen/5.0/unified/20190603.085620 submit/tizen_5.0/20190603.062225
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

6 years agoe_client, e_comp_object: add focus second set and call it when window show without... 71/206771/3 accepted/tizen/5.0/unified/20190527.064629 submit/tizen_5.0/20190524.114112
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

6 years agoe_comp_wl: automic move/resize - remove unnecessary code 27/206627/1 accepted/tizen/5.0/unified/20190522.113829 submit/tizen_5.0/20190522.091530
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

6 years agoadd e_client_focus_skip_set and focus_skip event 87/205987/1 accepted/tizen/5.0/unified/20190514.103507 submit/tizen_5.0/20190513.084449
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

6 years agoe_plane_renderer: fix wrong checking reserved flag of client buffer 45/203745/1 accepted/tizen/5.0/unified/20190418.073216 submit/tizen_5.0/20190416.082609
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

6 years agoe_info_server: use sync dump in topvwins and selected_buffer 76/203476/2
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

6 years agoe_comp_wl: add intercept hooks to control cursor timer 85/203485/1 accepted/tizen/5.0/unified/20190415.093332 submit/tizen_5.0/20190415.071331
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

6 years agoe_comp_wl: check cursor_timer config in caller not function inside 37/202637/1
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

6 years agoe_comp_wl: show a cursor when button is pressed using cursor timer 10/202510/1
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

6 years agoe_comp_wl_rsm: Support EClient capture accepted/tizen/5.0/unified/20190325.074422 submit/tizen_5.0/20190325.051426
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

6 years agoe_comp_wl_rsm: make path for image
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

6 years agoe_comp_wl_rsm: use e_comp_wl_remote_surface_image_save
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

6 years agoe_comp_wl_rsm: remove the defer_img_save
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

6 years agoe_policy: fix bug for handling iconify/uniconify fully-obscured window 75/201375/1 accepted/tizen/5.0/unified/20190314.220549 submit/tizen_5.0/20190313.095844 submit/tizen_5.0/20190313.100501
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

6 years agoe_comp_object: ref/unref tbm_surface when call native_surface_set 79/201079/2 accepted/tizen/5.0/unified/20190313.094926 submit/tizen_5.0/20190312.074507
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

6 years agoe_service_quickpanel: add log for debugging 54/200954/1
Doyoun Kang [Wed, 6 Mar 2019 10:38:11 +0000 (19:38 +0900)]
e_service_quickpanel: add log for debugging

Change-Id: Ieca7031aa27470aa200f71eb72788c32cb8bacd6

6 years agoe_comp_wl: Remove return code by validation of below_obj. 04/199904/2 submit/tizen_5.0/20190215.095756
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

6 years agoe_comp_wl: Delete below background object if client want to change its opaque state... 86/199886/1 submit/tizen_5.0/20190215.081858
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

6 years agoe_dbus_conn: call eldbus_connection_unref() within an ecore main thread 00/198900/1 accepted/tizen/5.0/unified/20190131.061617 submit/tizen_5.0/20190131.015835
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)

6 years agoRevert "e_dbus_conn: do eldbus_connection_unref in the main thread, add a logic to... 39/198839/1
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)

6 years agodevicemgr: add virtual mouse/key device creation using configuration 02/198502/1
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

6 years agoe_util_transform: Rotation transformation along particular axis accepted/tizen/5.0/unified/20190125.004608 submit/tizen_5.0/20190123.050146
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>
6 years agoe_keyrouter: modify top position grab check condition 21/197921/1 accepted/tizen/5.0/unified/20190123.074216 submit/tizen_5.0/20190118.052521
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

6 years agoe_comp_object: add e_comp_object_native_usable_get() 30/197430/1 accepted/tizen/5.0/unified/20190115.173203 submit/tizen_5.0/20190114.085223
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

6 years agoe_client: make fake mouse-out upon focus-out conditional 04/197404/1 submit/tizen_5.0/20190111.061602
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)

6 years agoe_dbus_conn: do eldbus_connection_unref in the main thread, add a logic to do unref... 07/197207/2 accepted/tizen/5.0/unified/20190111.055252 submit/tizen_5.0/20190110.081755
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>
6 years agoe_plane_renderer: don't set release timer to buffer isn't usable 62/196962/1 accepted/tizen/5.0/unified/20190109.060047 submit/tizen_5.0/20190108.095423
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

6 years agoe_plane_renderer: fix leak in case fail to get acquirable surfaces 22/196922/1
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

6 years agoe_plane_renderer: fix flickering when fb_target switch comp mode 58/196558/6
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

6 years agoe_info_server: fix issue which fps isn't shown when hwc policy is planes 80/196880/1
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

6 years agoe_comp_wl_viewport: erase unused variable 95/196795/1
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>
6 years agofix memory leak in keyboard capture process 86/196786/1
Doyoun Kang [Fri, 4 Jan 2019 07:37:46 +0000 (16:37 +0900)]
fix memory leak in keyboard capture process

Change-Id: I4081c3f8145a21f2d49a4196b1d37849098b4845

6 years agoe_plane_renderer: remove render_buffers list in free callback 80/196580/1 accepted/tizen/5.0/unified/20190103.061809 submit/tizen_5.0/20190102.120304
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

6 years agoe_plane_renderer: unset plane if client commit with normal buffer 99/196399/2 accepted/tizen/5.0/unified/20190103.030010 submit/tizen_5.0/20181228.091208
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

6 years agoe_comp_wl_viewport: fix vp source buffer info set error 23/196423/1
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>
6 years agoe_client: add log for e_client_visibility_skip_set 14/196414/1
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

6 years agoe_plane_renderer: check redirect of ec if state is candidate 50/196250/2 accepted/tizen/5.0/unified/20181227.102104 submit/tizen_5.0/20181227.044155
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

6 years agoe_comp_wl_rsm: check whether ec is deleted or not before creating E_Comp_Wl_Remote_Source 19/196119/1
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

6 years agoe_input: close input device's fd in close restricted function only 15/195915/2 accepted/tizen/5.0/unified/20181220.170044 submit/tizen_5.0/20181220.061343
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

6 years agoe_policy_visibility: add a function not to uniconify below window 71/195871/1 accepted/tizen/5.0/unified/20181219.154843 submit/tizen_5.0/20181219.054513
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

6 years agotransient_for: apply transient_for stack while handling map window 80/195680/1 accepted/tizen/5.0/unified/20181218.152429 submit/tizen_5.0/20181218.095622
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

6 years agoe_comp_wl_shell: add error log for map window 79/195679/1
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

6 years agoe_client/e_pixmap: add log for pixmap 78/195678/1
Doyoun Kang [Fri, 14 Dec 2018 07:30:14 +0000 (16:30 +0900)]
e_client/e_pixmap: add log for pixmap

Change-Id: If2d93e3974d57fc68938862adadd2841019d7190

6 years agoe_comp_object: Save render op value when set a mask object. 61/195661/1
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

6 years agoe_hwc_windows: implement the fps 59/195059/3 accepted/tizen/5.0/unified/20181217.064552 submit/tizen_5.0/20181214.103426
SooChan Lim [Fri, 7 Dec 2018 04:45:13 +0000 (13:45 +0900)]
e_hwc_windows: implement the fps

Change-Id: Ibf55d9097de11904df0a2b6a2f020a925c1da91c

6 years agoe_hwc_window: modify the cursor 58/195058/3
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

6 years agoe_hwc_windows: do not deal with quickpanel policy 57/195057/3
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

6 years agohwc: change the hwc_video_capabilities to the hwc_capabilities
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

6 years agoe_plane_renderer: don't use tbm_surface_queue func in alloc callback 09/195009/1 accepted/tizen/5.0/unified/20181211.064535 submit/tizen_5.0/20181210.083227
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

6 years agoe_plane_renderer: call evas_norender if client is set to fb target plane 17/194417/2 accepted/tizen/5.0/unified/20181205.063335 submit/tizen_5.0/20181204.101211
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

6 years agoe_xdg_shell_v6: remove condition for no handling of first xdg_surface.configure 30/194430/1
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

6 years agoe_pixmap: end hwc of ec if ec is on overlay in e_pixmap_buffer_clear 63/194363/1
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

6 years agoe_plane_renderer: use fetch buffer when recover buffer 32/194132/1 accepted/tizen/5.0/unified/20181130.064858 submit/tizen_5.0/20181129.110741
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

6 years agoe_plane_renderer: add log when create backup buffer 52/194052/2
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

6 years agoe_hwc: don't allow hwc if ec is animating 51/194051/2
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

6 years agoe_hwc: don't allow hwc if comp_override of ec is positive 50/194050/2
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

6 years agoe_hwc_window: change the prefix of the window constraint 78/194078/1
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

6 years agoe_hwc_windows: change the accept_changes to the accept_validation 77/194077/1
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

6 years agoe_hwc_window: use e_hwc_window_state_set 38/194038/1
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

6 years agoe_hwc_windows: move the target_window stuffs to the e_hwc_windows 37/194037/1
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

6 years agoe_hwc_window_queue: remove exported_destroy_listener at the exported_buffer_destroy... 36/194036/1
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

6 years agoe_hwc_windows: check the list_count before destroy the list 35/194035/1
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

6 years agoe_hwc_windows: update the visible windows at first 34/194034/1
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

6 years agoe_hwc_window_queue: do not destroy the equeue at _e_hwc_window_queue_cb_destroy. 33/194033/1
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

6 years agoe_hwc_windows: donot set fullscreen gl composition at E_COMP_OBJECT_CONTENT_TYPE_INT_... 32/194032/1
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

6 years agoe_hwc_windows: print the visible windows for debugging 31/194031/1
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

6 years agoe_hwc_window: use the address of the ee_rendered_hw_list_key as the key 30/194030/1
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

6 years agoe_info: added '-trace serial' to print tbm serial updates
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

6 years agoe_info: -hwc -hwc_trace are changed
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

6 years agoe_xdg_shell_v6: change condition for client's surface commit
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

6 years agoadd a bg_state value in E_Client to handle background state 70/193670/1 accepted/tizen/5.0/unified/20181126.062042 submit/tizen_5.0/20181123.035305
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

6 years agovisibility: add some information in the visibility log 69/193669/1
Doyoun Kang [Thu, 22 Nov 2018 08:19:10 +0000 (17:19 +0900)]
visibility: add some information in the visibility log

Change-Id: Ic3465f425aa109ecc9c6454ff15416538868b6a2

6 years agoe_comp: remove unnecessary log 35/193535/1 accepted/tizen/5.0/unified/20181122.060331 submit/tizen_5.0/20181121.124938
Changyeon Lee [Wed, 21 Nov 2018 12:43:23 +0000 (21:43 +0900)]
e_comp: remove unnecessary log

Change-Id: I2f209049408a4ffd9ae62f4d33cc081d57406e5b

6 years agoe_client: fix wrong bit field for surface sync 94/193394/1
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

6 years agoe_comp: define e_comp_client_render_list_add 41/193341/1 accepted/tizen/5.0/unified/20181120.061311 accepted/tizen/unified/20181120.061336 submit/tizen/20181119.115215 submit/tizen_5.0/20181119.115322
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

6 years agoe_comp_wl: don't change usable of pixmap if state of ec is unmap
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

6 years agoe_plane_renderer: delay send release event until rendering of compositor is done
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

6 years agoe_comp: add render_list to e_comp
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

6 years agoe_pixmap: add e_pixmap_ref_resource_get
Changyeon Lee [Mon, 19 Nov 2018 02:23:41 +0000 (11:23 +0900)]
e_pixmap: add e_pixmap_ref_resource_get

Change-Id: I7d8971e77f42a5a9f1c25b19ed256940467fe4cd

6 years agoe_hwc_windows: enhance the logs 38/193338/1
SooChan Lim [Mon, 19 Nov 2018 10:31:29 +0000 (19:31 +0900)]
e_hwc_windows: enhance the logs

Change-Id: I79d5799f6446cb5fceb66a04527f890e1f475bc5

6 years agoe_hwc_window: change the prefix of the TDM_COMPOSITION_ 27/193327/1
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

6 years agoe_hwc_windows: change the tdm_hwc_accept_changes to the tdm_hwc_accept_validation 26/193326/1
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

6 years agoe_hwc_window: do not make all windows be clients at UI subsurface case 25/193325/1
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

6 years agoe_hwc_window_queue: use the address of the tqueue as the key 24/193324/1
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