platform/upstream/enlightenment.git
5 years agofor test base_resolution2
SooChan Lim [Tue, 23 Apr 2019 08:07:53 +0000 (17:07 +0900)]
for test

Change-Id: I094fc4a5bdc12800d73caaf16b19862d256f1230

5 years agoe_comp_wl: change the physical size of the output with the ratio of the configured...
SooChan Lim [Mon, 29 Apr 2019 02:23:46 +0000 (11:23 +0900)]
e_comp_wl: change the physical size of the output with the ratio of the configured output size

Change-Id: Iafbc7c83c2e49754501f4973f7b5689b87d0bf85

5 years agoe_comp_wl_shell: call base_output_resolution_update after create shell surface
Junseok, Kim [Fri, 26 Apr 2019 07:44:54 +0000 (16:44 +0900)]
e_comp_wl_shell: call base_output_resolution_update after create shell surface

Change-Id: I48e02af5ddfb3a09de20c7bc466aca41bca61356

5 years agofix the ELOGF log
SooChan Lim [Mon, 29 Apr 2019 04:39:41 +0000 (13:39 +0900)]
fix the ELOGF log

Change-Id: I932b36aa7098ce23ee99f0bf2dfdbec3022de9d7

5 years agoe_policy_appinfo: switch visibility of appinfo functions for module
Junseok, Kim [Thu, 25 Apr 2019 09:42:16 +0000 (18:42 +0900)]
e_policy_appinfo: switch visibility of appinfo functions for module

Change-Id: Iad1e8d291b08b13b3d6ffc6ea288a97a24bf8231

5 years agoe_policy_wl: add tizen_launch_appinfo interface and callbacks
Junseok, Kim [Thu, 25 Apr 2019 08:33:22 +0000 (17:33 +0900)]
e_policy_wl: add tizen_launch_appinfo interface and callbacks

Change-Id: I71b1ce242397ebb88d1b50c885c454caeda9088a

5 years agoe_policy_wl: add hook apis for module
Junseok, Kim [Thu, 25 Apr 2019 09:00:34 +0000 (18:00 +0900)]
e_policy_wl: add hook apis for module

Change-Id: I5f6040b5e234a134da3cfc0e2f270ffba9e42639

5 years agoe_xdg_shell_v6: update the base_output_resolution of the ec
SooChan Lim [Tue, 23 Apr 2019 07:56:15 +0000 (16:56 +0900)]
e_xdg_shell_v6: update the base_output_resolution of the ec

Change-Id: I05841e790363e33a8e8b49ac8377742f06855ac3

5 years agoe_client: add e_client_base_output_resolution_update
SooChan Lim [Tue, 23 Apr 2019 07:25:04 +0000 (16:25 +0900)]
e_client: add e_client_base_output_resolution_update

This function updates the base_output_resolution of the ec.
The ec think that the output resolution of the ec is the size
of the base_output_resolution. Therefore, the buffer of the ec
has to be rendered with the transformation values.(scale up/down).

Change-Id: I746ca3e541f13b4e815532ff53de0ca395b8d228

5 years agoe_comp_wl: e_comp_wl_pid_output_configured_resolution_get
SooChan Lim [Tue, 23 Apr 2019 07:13:05 +0000 (16:13 +0900)]
e_comp_wl: e_comp_wl_pid_output_configured_resolution_get

This function provide the size of the configured_resolution
of the e_comp_wl_output.

Change-Id: I98344fba6b4ce6e6fca4388e64821ed3a7b49d36

5 years agoe_comp_wl: add e_comp_wl_pid_output_configured_resolution_send
SooChan Lim [Tue, 23 Apr 2019 07:00:41 +0000 (16:00 +0900)]
e_comp_wl: add e_comp_wl_pid_output_configured_resolution_send

This function send the wl_output_send_mode with w,h paramter
when the size(w,h) is different with the existed configured resolution.

Change-Id: I043be9fc239054436b03aa87b8373110ccd243bc

5 years agoe_comp_wl: set the configured_resolution of the e_comp_wl_output
SooChan Lim [Tue, 23 Apr 2019 05:54:08 +0000 (14:54 +0900)]
e_comp_wl: set the configured_resolution of the e_comp_wl_output

Now, the configured_resolution of the e_comp_wl_output is
the output resolution of the wl_output. Therefore, the server
has to calculate the size of output for the client with the
configured_resolution of the e_comp_wl_output.

Change-Id: Iad8c130916779b3a5a3e71ffabae6067aa55faea

5 years agoe_config: add configured_output_resolution at the e_config
SooChan Lim [Tue, 23 Apr 2019 04:59:20 +0000 (13:59 +0900)]
e_config: add configured_output_resolution at the e_config

Change-Id: Ica9e3ab3d24772039470e670d73a021d9fef2521

5 years agoe_policy_appinfo: add e_policy_appinfo
SooChan Lim [Tue, 23 Apr 2019 04:53:52 +0000 (13:53 +0900)]
e_policy_appinfo: add e_policy_appinfo

The e_policy_appinfo provide the interface for the information of
the application information.
The server contains the information from the clients using this inteface.

Change-Id: I60dbdf2804a6d09c12295f2e5bfcae69782bebc9

5 years agomodify code to use e_client_geometry_get not ec->w and ec->h directly
Doyoun Kang [Sun, 31 Mar 2019 07:16:29 +0000 (16:16 +0900)]
modify code to use e_client_geometry_get not ec->w and ec->h directly

we have to consider the transform geometry while calculating visibility or iconic state.

Change-Id: Ifaec0ae3d8a8cadc207d2ade44cd871907d4ee8f

5 years agoviewport: Export e_comp_wl_viewport_create() to service modules. devel/hwc_windows
Seunghun [Fri, 22 Mar 2019 04:45:03 +0000 (13:45 +0900)]
viewport: Export e_comp_wl_viewport_create() to service modules.

It's to provide a service to video module.

Change-Id: Iccfeca3831e66ac8b405fee50d32fc8bb51a8405

5 years agoe_hwc_windows: set the DEVICE type by force when the ec is not redirected.
SooChan Lim [Thu, 14 Mar 2019 09:45:38 +0000 (18:45 +0900)]
e_hwc_windows: set the DEVICE type by force when the ec is not redirected.

That the ec is not redirected means that E20 does not care about the ec.
Therefore, E20 has no right to set the CLIENT type. It just let it go
to set the DEVICE type and make the tdm backend decided the hwc policy.

Change-Id: I5298d2a044f3c7ac08da2052321adfd04f8a2dee

5 years agofix build break
Seunghun [Fri, 8 Mar 2019 07:06:41 +0000 (16:06 +0900)]
fix build break

Change-Id: I7877d7ab4f4069d3a49f413a96da89847893538d

5 years agoe_hwc_window: Set 'is_video' flag for VIDEO STATE hwc window.
Seunghun [Mon, 4 Mar 2019 08:14:15 +0000 (17:14 +0900)]
e_hwc_window: Set 'is_video' flag for VIDEO STATE hwc window.

The 'is_video' flag has to be set because there are some code using it
to handle video client in hwc implementation.

Change-Id: I65ab8e0dc9aefd373594996ac6331041a1f9fc52

5 years agohwc_window: Remove E_CLIENT_HOOK_NEW_CLIENT, it's dead code due to absence of E_Zone...
Seunghun [Wed, 27 Feb 2019 02:28:06 +0000 (11:28 +0900)]
hwc_window: Remove E_CLIENT_HOOK_NEW_CLIENT, it's dead code due to absence of E_Zone of E_Client.

Change-Id: I38b30d0bc24e29af696291514f2905f8953eb473

5 years agovideo: Show/Hide evas_object of video client instead of using cb func.
Seunghun [Wed, 27 Feb 2019 07:55:45 +0000 (16:55 +0900)]
video: Show/Hide evas_object of video client instead of using cb func.

This patch set enlightenment module free to handle a state of show/hide of
evas_object of video client.

Change-Id: I1769c03bc9ee81885d66a6a299f437dab1d5f088

5 years agovideo: Remove _e_video_cb_evas_hide().
Seunghun [Wed, 27 Feb 2019 07:51:39 +0000 (16:51 +0900)]
video: Remove _e_video_cb_evas_hide().

it's a dead code.

Change-Id: I1597a20b337d7954aaa2b4d30c654907356cd396

5 years agovideo: Emit 'E_EVENT_CLIENT_VISIBILITY_CHANGE' event to video client.
Seunghun [Wed, 27 Feb 2019 07:42:50 +0000 (16:42 +0900)]
video: Emit 'E_EVENT_CLIENT_VISIBILITY_CHANGE' event to video client.

'E_EVENT_CLIENT_VISIBILITY_CHANGE' will be raised for video client if
follow_topmost_visibility flag is set. This will set enlightenment
module free to handle changing visibility.

Change-Id: I8721877b21579389fd43a047070f5da1884e7680

5 years agovideo: Exposed APIs related video.
Seunghun [Thu, 7 Mar 2019 08:06:33 +0000 (17:06 +0900)]
video: Exposed APIs related video.

'E_Client_Video' APIs has to be exposed for video modules.

Change-Id: I0fd5012d49c2df39a8f08b141a0c4b391d0b517c

5 years agoTEMPORARY FIX..... ambient skips the never_hwc flag...
SooChan Lim [Wed, 6 Mar 2019 10:48:04 +0000 (19:48 +0900)]
TEMPORARY FIX..... ambient skips the never_hwc flag...

Change-Id: I68d1d316d9a81d2d99973c81b2d4606bfe9f0138

5 years agoe_hwc: add API for set/get property on the E_Hwc
SooChan Lim [Sun, 24 Feb 2019 06:06:09 +0000 (15:06 +0900)]
e_hwc: add API for set/get property on the E_Hwc

E_API Eina_Bool       e_hwc_available_properties_get(E_Hwc *hwc, const hwc_prop **props, int *count);
E_API Eina_Bool       e_hwc_property_get(E_Hwc *hwc, unsigned int id, hwc_value *value);
E_API Eina_Bool       e_hwc_property_set(E_Hwc *hwc, unsigned int id, hwc_value value);

Change-Id: Idc1991a453ed9a8003966a5727605d9a07ff26ce

5 years agoRevert "e_hwc_windows: set the state to be null when there is no buffer"
SooChan Lim [Thu, 21 Feb 2019 07:53:10 +0000 (16:53 +0900)]
Revert "e_hwc_windows: set the state to be null when there is no buffer"

This reverts commit 0796d51bd81a4a65869b7406c0a479fdadd7c96d.

5 years agoe_hwc_windows: set the state to be null when there is no buffer
SooChan Lim [Thu, 21 Feb 2019 05:28:17 +0000 (14:28 +0900)]
e_hwc_windows: set the state to be null when there is no buffer

Change-Id: If135fe5b8c8b73b4af5a34abc578ef78a220bcb4

5 years agoe_hwc: make the e_hwc_policy_get be E_API
SooChan Lim [Tue, 19 Feb 2019 07:44:24 +0000 (16:44 +0900)]
e_hwc: make the e_hwc_policy_get be E_API

Change-Id: Iba6c65cb1a953fa9cd7e5fb27eada5c16d5d2ec7

5 years agoe_comp_screen: add the debug for printing the avaliable properties.
SooChan Lim [Fri, 15 Feb 2019 08:50:42 +0000 (17:50 +0900)]
e_comp_screen: add the debug for printing the avaliable properties.

Change-Id: I33f8f878a318a6ff7d80d5dbce9f4aae5dbe0bc5

5 years agoe_hwc_window: update the composite type of the tdm at creating the hwc_window
SooChan Lim [Tue, 19 Feb 2019 01:23:14 +0000 (10:23 +0900)]
e_hwc_window: update the composite type of the tdm at creating the hwc_window

Change-Id: I56b207369565d0519189106ebb8efd207f455d0e

5 years agoe_hwc: add some e_client_hwc api
SooChan Lim [Thu, 14 Feb 2019 09:57:04 +0000 (18:57 +0900)]
e_hwc: add some e_client_hwc api

e modules can set and get the hwc properties.
The apis are below.
E_API Eina_Bool       e_client_hwc_available_properties_get(E_Client *ec, const hwc_prop **props, int *count);
E_API Eina_Bool       e_client_hwc_property_get(E_Client *ec, unsigned int id, hwc_value *value);
E_API Eina_Bool       e_client_hwc_property_set(E_Client *ec, unsigned int id, hwc_value value);

5 years agoe_hwc_window : add e_hwc_window_get_property
SooChan Lim [Thu, 14 Feb 2019 09:56:24 +0000 (18:56 +0900)]
e_hwc_window : add e_hwc_window_get_property

Change-Id: I80723a9252ad399bda870430f75b2d81779847f4

5 years agoe_info: change the none into the no
SooChan Lim [Thu, 7 Feb 2019 10:38:32 +0000 (19:38 +0900)]
e_info: change the none into the no

Change-Id: Iab1b081a56cee59182beae26b5d45671721e2113

5 years agoe_hwc_window: set the zpos of E_HWC_WINDOW_STATE_NONE.
SooChan Lim [Thu, 7 Feb 2019 10:34:38 +0000 (19:34 +0900)]
e_hwc_window: set the zpos of E_HWC_WINDOW_STATE_NONE.

Change-Id: Ib9cd8f0ff6780b8558a3eb9063eda747cc0059f2

5 years agoe_hwc_windows: sort the hwc_windows by zpos
SooChan Lim [Thu, 7 Feb 2019 10:22:02 +0000 (19:22 +0900)]
e_hwc_windows: sort the hwc_windows by zpos

Change-Id: I29ce6c46f69a1ee2fffdc782e5d84ac8a95109ff

5 years agoe_info: print fps of hwc window
Changyeon Lee [Thu, 31 Jan 2019 07:19:49 +0000 (16:19 +0900)]
e_info: print fps of hwc window

Change-Id: I3b20b35c0ae726c985411b75dcdd1436359ff7fd

5 years agoe_hwc_window: add e_hwc_window_fps_get
Changyeon Lee [Mon, 28 Jan 2019 08:33:07 +0000 (17:33 +0900)]
e_hwc_window: add e_hwc_window_fps_get

Change-Id: I76485017652d4ccfc137278aeafab5b289e4c8b5

5 years agoe_info: add hwc_wins option to winfo
Changyeon Lee [Wed, 30 Jan 2019 03:23:53 +0000 (12:23 +0900)]
e_info: add hwc_wins option to winfo

Change-Id: Iebe63457d9585b71f5d6143316117e6cdd908d4e

5 years agoe_info: add hwc_wins option to dump of winfo
Changyeon Lee [Tue, 29 Jan 2019 08:20:38 +0000 (17:20 +0900)]
e_info: add hwc_wins option to dump of winfo

Change-Id: Icfcb139f2a62b36e29a2b76d01090c54d6dcad96

5 years agoe_test_helper: change eldbus_connection to e_dbus_conn
Junseok, Kim [Thu, 31 Jan 2019 09:27:23 +0000 (18:27 +0900)]
e_test_helper: change eldbus_connection to e_dbus_conn

Change-Id: Iff814eca5e166f0ac348754300d959ac94ee40b4

5 years agoe_hwc_window: reset constraints when device type window transit to composite
Changyeon Lee [Mon, 28 Jan 2019 04:58:18 +0000 (13:58 +0900)]
e_hwc_window: reset constraints when device type window transit to composite

Change-Id: I58d3eff9db56a51579945bcf7f157ccd19673431

5 years agoe_hwc_window: add e_hwc_window_transition_get/set func
Changyeon Lee [Fri, 25 Jan 2019 11:58:34 +0000 (20:58 +0900)]
e_hwc_window: add e_hwc_window_transition_get/set func

Change-Id: I2a55c748d92f3dab6e9b4243f582cf64eb174a48

5 years agoe_hwc_windows: fix typo
Changyeon Lee [Thu, 24 Jan 2019 10:54:45 +0000 (19:54 +0900)]
e_hwc_windows: fix typo

Change-Id: I1c8e706232866d040cc27b718eaeba82afcbafa8

5 years agoe_hwc_windows: commit hwc even if only info of hwc_window is changed
Changyeon Lee [Thu, 24 Jan 2019 10:17:34 +0000 (19:17 +0900)]
e_hwc_windows: commit hwc even if only info of hwc_window is changed

Change-Id: Ie84db27423287b2a29f91d5fb8f92b1362d9cc72

5 years agoe_hwc_windows: fix build warning on 64bit system
Changyeon Lee [Thu, 24 Jan 2019 04:41:31 +0000 (13:41 +0900)]
e_hwc_windows: fix build warning on 64bit system

Change-Id: Ic39f9f5575706e0054304da19b4fd71e1fecdf0c

5 years agoe_hwc_windows: skip hwc_window of ui under 24bit window in visible list
Changyeon Lee [Mon, 21 Jan 2019 02:43:04 +0000 (11:43 +0900)]
e_hwc_windows: skip hwc_window of ui under 24bit window in visible list

Change-Id: I850ceef12d9a8aeca98f02c1c6e4a60c50431236

5 years agoe_hwc_windows: fix NULL pointer dereferences
Changyeon Lee [Thu, 17 Jan 2019 06:54:10 +0000 (15:54 +0900)]
e_hwc_windows: fix NULL pointer dereferences

Change-Id: I99c4ce3680b1154a54a2ce882f74e1fb7292d0ce

5 years agoe_hwc_windows: support dump_buffers of winfo
Changyeon Lee [Tue, 15 Jan 2019 04:58:41 +0000 (13:58 +0900)]
e_hwc_windows: support dump_buffers of winfo

Change-Id: Ibe2efc397aa3760457f44a33dda4159b210f66c4

5 years agoe_zone_video, e_comp_wl: Add NULL check code to prevent dereferencing.
Seunghun [Thu, 17 Jan 2019 06:55:40 +0000 (15:55 +0900)]
e_zone_video, e_comp_wl: Add NULL check code to prevent dereferencing.

Change-Id: I0246771300bc3d185def1e645dee4837a55494ba

5 years agoe_hwc_window: change log to EHWINF in accpeted_state_set
Changyeon Lee [Mon, 14 Jan 2019 12:05:32 +0000 (21:05 +0900)]
e_hwc_window: change log to EHWINF in accpeted_state_set

Change-Id: Ief8064a58bd11bf2117f498278997334d41bc02a

5 years agoe_hwc_windows: support hwc trace of winfo
Changyeon Lee [Mon, 14 Jan 2019 11:52:21 +0000 (20:52 +0900)]
e_hwc_windows: support hwc trace of winfo

Change-Id: I19084bd93da54d89f0fe1963943457a38e740202

5 years agoe_hwc_windows: remove exception of checking transition
Changyeon Lee [Mon, 14 Jan 2019 10:00:59 +0000 (19:00 +0900)]
e_hwc_windows: remove exception of checking transition

Change-Id: Ifbe6877d27549a0e7152f0da2d851968fe377eab

5 years agoe_hwc_windows: update accepted_state even if hwc_window is deleted
Changyeon Lee [Mon, 14 Jan 2019 09:58:41 +0000 (18:58 +0900)]
e_hwc_windows: update accepted_state even if hwc_window is deleted

Change-Id: I69492a1f23181c8986dcf2cc31045dfe10ad992a

5 years agoe_hwc_window_queue: move checking null before dequeue buffer
Changyeon Lee [Mon, 14 Jan 2019 06:40:36 +0000 (15:40 +0900)]
e_hwc_window_queue: move checking null before dequeue buffer

Change-Id: Ib3ae14b5ca648c0832831656e5b663cebebaafb9

5 years agoRevert "hwc_windows: call the deactive before tizen_surface_shm_flusher_send_flush"
Changyeon Lee [Mon, 14 Jan 2019 06:13:30 +0000 (15:13 +0900)]
Revert "hwc_windows: call the deactive before tizen_surface_shm_flusher_send_flush"

This reverts commit 099a756453b8b2ddd61a1cecf55e780a9ffe1059.

Change-Id: I8b773b5b66d3bf4b7e3bc5ac98d14f37bba97b2e

5 years agohwc_window: add e_hwc_window_name_set
SooChan Lim [Fri, 11 Jan 2019 04:16:56 +0000 (13:16 +0900)]
hwc_window: add e_hwc_window_name_set

set the name of the window to the tdm_hwc_window

Change-Id: I01bb158a5c0de8f4d9f4e5aba7744bc8cfe309d3

5 years agoe_hwc_window_queue: don't release buffer to queue in retrieve
Changyeon Lee [Fri, 11 Jan 2019 05:29:49 +0000 (14:29 +0900)]
e_hwc_window_queue: don't release buffer to queue in retrieve

Change-Id: Ib282c2bdc6226a9ff8246ec9792134458f87d8cd

5 years agoe_hwc_window_queue: allocate e_hwc_window_queue with E_Object
Changyeon Lee [Thu, 10 Jan 2019 08:36:32 +0000 (17:36 +0900)]
e_hwc_window_queue: allocate e_hwc_window_queue with E_Object

Change-Id: I252acdf5df5fadb3a543b4fa060ca3c7fcea898f

5 years agoe_hwc_windows: call evas_norender if state of target_hwc_window is none
Changyeon Lee [Thu, 10 Jan 2019 08:41:49 +0000 (17:41 +0900)]
e_hwc_windows: call evas_norender if state of target_hwc_window is none

input event need to render call even if rendering of compositing
isn't needed. so taget_window call evas_norender.

Change-Id: I0e6646a12b83367dc1cecd1d964bfaa5914c6a49

5 years agoe_hwc_windows: delay send release event until rendering of compositor is done
Changyeon Lee [Tue, 8 Jan 2019 10:14:46 +0000 (19:14 +0900)]
e_hwc_windows: 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.

this patch is same logic with below commit

e_plane_renderer: delay send release event until rendering of compositor is done

Change-Id: Ie6e40f22adc47567cdc6e281f58a16db7f982c1c

5 years agoe_hwc_window_queue: add e_hwc_window_queue_acquirable_buffers_get
Changyeon Lee [Tue, 8 Jan 2019 10:12:52 +0000 (19:12 +0900)]
e_hwc_window_queue: add e_hwc_window_queue_acquirable_buffers_get

Change-Id: I3ef8fdcc72c89816b696cd68afd12d9119483906

5 years agovideo: make a function _e_video_hwc_windows_iface_property_get() work.
Seunghun Lee [Thu, 10 Jan 2019 04:59:07 +0000 (13:59 +0900)]
video: make a function _e_video_hwc_windows_iface_property_get() work.

Change-Id: I3670cd4820e631b99034079b8c8e1e1d7de368c7

5 years agoe_hwc_window: Fix NULL pointer dereference.
Seunghun Lee [Wed, 2 Jan 2019 08:20:57 +0000 (17:20 +0900)]
e_hwc_window: Fix NULL pointer dereference.

Change-Id: I9c471586d061a0dc958ab094110d08fbf590f6c6

5 years agoe_hwc_window: Give a proper instance to tdm_hwc_window_set_property()
Seunghun Lee [Wed, 2 Jan 2019 08:19:26 +0000 (17:19 +0900)]
e_hwc_window: Give a proper instance to tdm_hwc_window_set_property()

Change-Id: I1dacf82a21031166cd973dc686d813df07663c5f

5 years agoe_hwc_window_queue: do not destory the queue at destroying tbm_surface_queue.
SooChan Lim [Fri, 28 Dec 2018 07:30:14 +0000 (16:30 +0900)]
e_hwc_window_queue: do not destory the queue at destroying tbm_surface_queue.

e20 have to deal with the unexpected tbm_surface_queue's destroy.

Change-Id: Iaa6d1dc63b3d8a3db16434d41cf9d8d274fd0644

5 years agoRevert "Revert "e_hwc_window_queue: don't destory the queue for the target_window""
SooChan Lim [Fri, 28 Dec 2018 06:22:05 +0000 (15:22 +0900)]
Revert "Revert "e_hwc_window_queue: don't destory the queue for the target_window""

This reverts commit f0ef32876a6931855f684a93039c2a24a86f7d78.

5 years agovideo: Remove unused function find_offscreen_parent_get().
Seunghun Lee [Thu, 27 Dec 2018 05:30:43 +0000 (14:30 +0900)]
video: Remove unused function find_offscreen_parent_get().

Change-Id: Iba03b6a0ce3a6e418435c2404651cd04082f25bd

5 years agovideo: remove unused function _e_video_is_visible()
Seunghun Lee [Thu, 27 Dec 2018 05:24:50 +0000 (14:24 +0900)]
video: remove unused function _e_video_is_visible()

Change-Id: Ia8f4cb9a2bd99cf856b050b1d7d93696916e628c

5 years agoe_video_hwc_window: fix calling inappropriately tdm_hwc API passing with E_Hwc_Window...
Seunghun Lee [Thu, 27 Dec 2018 04:33:20 +0000 (13:33 +0900)]
e_video_hwc_window: fix calling inappropriately tdm_hwc API passing with E_Hwc_Windows instance.

This patch also disable interface of property_get, it's not implemented yet.

Change-Id: I1811d650cefe96b0cc6ff6f1e7985dbce47ce984

5 years agoe_comp_wl_video: do not set to delay
SooChan Lim [Wed, 26 Dec 2018 10:08:37 +0000 (19:08 +0900)]
e_comp_wl_video: do not set to delay

Change-Id: I0617c3ccb66f5fa9b0f8bd74de80eea5b6f98641

5 years agoe_comp_wl_video: print the log at set_attribute
SooChan Lim [Wed, 26 Dec 2018 10:04:37 +0000 (19:04 +0900)]
e_comp_wl_video: print the log at set_attribute

Change-Id: Ief18528c09e781cc356400cba67a83b8cd181267

5 years agoRevert "e_hwc_window_queue: don't destory the queue for the target_window"
SooChan Lim [Fri, 21 Dec 2018 01:43:05 +0000 (10:43 +0900)]
Revert "e_hwc_window_queue: don't destory the queue for the target_window"

This reverts commit 5520e09924a28b8875e470df4f45b5a1e4946466.

5 years agothis is the temporary fix...
SooChan Lim [Mon, 10 Dec 2018 10:06:54 +0000 (19:06 +0900)]
this is the temporary fix...

deactive has to send before buffer_flush......
wayland-tbm has to be fixed... maybe?...

Change-Id: I356548e17719430213622a9f90c0b4c61bff8507

5 years agoe_hwc_window: Make sure return an instance of hwc_window properly.
Seunghun Lee [Mon, 24 Dec 2018 04:41:33 +0000 (13:41 +0900)]
e_hwc_window: Make sure return an instance of hwc_window properly.

Change-Id: I34943ca8bb34d37470d0f497b6e1c53ec6857036

5 years agoe_client_video: Add APIs for a video module to allow set functions which is needed...
Seunghun Lee [Mon, 24 Dec 2018 04:18:45 +0000 (13:18 +0900)]
e_client_video: Add APIs for a video module to allow set functions which is needed by hwc implementation.

Change-Id: Idf852f49e679e91881f1fc90382047281e0807a0

5 years agoe_hwc_window: Just changes hwc_window state in case hwc_window is already created.
Seunghun Lee [Mon, 24 Dec 2018 04:16:34 +0000 (13:16 +0900)]
e_hwc_window: Just changes hwc_window state in case hwc_window is already created.

Change-Id: Ibfd5c4dcb1767ae34f55ebab5fc8ca7d2a120164

5 years agoe_hwc_windows: Indicates pointer of Eina_List, not using eina_list_clone()
Seunghun Lee [Mon, 24 Dec 2018 02:41:21 +0000 (11:41 +0900)]
e_hwc_windows: Indicates pointer of Eina_List, not using eina_list_clone()

this fixes memory leak.

Change-Id: Iacc8c5373edb525c1b36a30c9849ac1bd0385152

5 years agovideo: More check in macro for entry of api and change its name.
Seunghun Lee [Fri, 21 Dec 2018 05:21:28 +0000 (14:21 +0900)]
video: More check in macro for entry of api and change its name.

Change-Id: Idacaa9d8dccfc8ba540e2e64e82a96593440d9eb

5 years agovideo: Use an static function to get hwc policy of zone.
Seunghun Lee [Mon, 17 Dec 2018 02:17:02 +0000 (11:17 +0900)]
video: Use an static function to get hwc policy of zone.

Change-Id: I016fd4e04d442602108d9b459f986fd15c1a196a

5 years agovideo: Destroy all video instances in e_comp_wl_video_shutdown()
Seunghun Lee [Tue, 18 Dec 2018 02:42:06 +0000 (11:42 +0900)]
video: Destroy all video instances in e_comp_wl_video_shutdown()

Change-Id: Id373a70657d1adc3d64f30c1a855abf214262263

5 years agovideo: Remove an unused code line.
Seunghun Lee [Tue, 18 Dec 2018 02:05:58 +0000 (11:05 +0900)]
video: Remove an unused code line.

Change-Id: Icd972b12c1d84f103a8eb2f10174775f4cc3ff5f

5 years agovideo: Remove an ineffective code.
Seunghun Lee [Tue, 18 Dec 2018 01:53:02 +0000 (10:53 +0900)]
video: Remove an ineffective code.

There is no setting code before this unset code.

Change-Id: If0db9e4da636f5bfc5a77b29ff9d3801cdf3fc9f

5 years agoe_video_hwc_windows: add the first implementation
SooChan Lim [Sun, 16 Dec 2018 07:31:46 +0000 (16:31 +0900)]
e_video_hwc_windows: add the first implementation

Change-Id: Ib8eccf5eeec3e51b94c3f02c4a9e6c3e98de46fb

5 years agoe_hwc_window_queue: don't destory the queue for the target_window
SooChan Lim [Sun, 16 Dec 2018 07:50:24 +0000 (16:50 +0900)]
e_hwc_window_queue: don't destory the queue for the target_window

Change-Id: I73253e4171e11907892e829a63f82b699a719ab3

5 years agoMakefile: Remove 'E_VIDEO_CPPFLAGS' and add video directory to 'E_CPPFLAGS'
Seunghun Lee [Wed, 12 Dec 2018 03:11:19 +0000 (12:11 +0900)]
Makefile: Remove 'E_VIDEO_CPPFLAGS' and add video directory to 'E_CPPFLAGS'

all executable binary and module which include e.h should include video as well.

Change-Id: Id285be91dca6431a3874d0b40088717e007374e2

5 years agoe_comp_wl: Added defensive code to check whether comp_data is NULL.
Seunghun Lee [Wed, 12 Dec 2018 02:52:05 +0000 (11:52 +0900)]
e_comp_wl: Added defensive code to check whether comp_data is NULL.

There seems the case that some client doesn't have comp_data such as
launchscreen and client got to know this resource id for some reason.
To prevent from crashing enlightenment, this patch added check code.

Change-Id: I0952afe731557b950bd6f4fc3d5321ea9844e424

5 years agovideo: Remove obsolete check code 'video_client'
Seunghun Lee [Fri, 7 Dec 2018 08:06:27 +0000 (17:06 +0900)]
video: Remove obsolete check code 'video_client'

Once successfully initialized the 'e_video_hwc_plane', then video_client flag is
always true. No need to check it.

Change-Id: I93db5bd97fea5f58446a1ceb98b5eca30530f60f

5 years agovideo: remove unnecessary eom enable check code.
Seunghun Lee [Fri, 7 Dec 2018 02:06:41 +0000 (11:06 +0900)]
video: remove unnecessary eom enable check code.

external_video would be set as true when instance is created if eom is enabled.
thus no need to check eom is enabled other places. It's enough to check whether
external_video flag is on.

Change-Id: I6d2253dd55c57dfa17a635f48d9101c003819720

5 years agovideo: remove duplicated check code.
Seunghun Lee [Fri, 7 Dec 2018 01:50:03 +0000 (10:50 +0900)]
video: remove duplicated check code.

Change-Id: I7083eed80bd4e859672dea94304433d098c508bf

5 years agovideo: Added 'src/bin/video' directory to CFLAGS and remove relative path for video...
Seunghun Lee [Wed, 12 Dec 2018 02:21:45 +0000 (11:21 +0900)]
video: Added 'src/bin/video' directory to CFLAGS and remove relative path for video from "e.h"

this fixes build break of modules.

Change-Id: I3250a14b88e22483d1d5a13a71068eebed0f939e

5 years agoAdded APIs to handle displaying video internally.
Seunghun Lee [Thu, 22 Nov 2018 07:12:09 +0000 (16:12 +0900)]
Added APIs to handle displaying video internally.

Created APIs of 'E_Client_Video' which handles displaying video client
automatically. 'E_Client_Video' will make interface internally according to
its capable of hardware compositing.

3 headers are introduced, and purpose of each header is as follow.
 - e_video_debug.h: Set and get video debug setting.
 - e_client_video.h: Handle given E_Client as a video client.
 - e_zone_video.h: Provides informations of corresponding E_Zone which is needed
                   by video implementation.

Change-Id: Ia5e7cbf3dfa17c85c605f68675e9375b84a347e1

5 years agoStored transform value at 'E_Comp_Wl_Buffer' and update its value whenever wl_buffer...
Seunghun Lee [Tue, 4 Dec 2018 23:49:21 +0000 (08:49 +0900)]
Stored transform value at 'E_Comp_Wl_Buffer' and update its value whenever wl_buffer get attached.

In case wl_buffer was binded with tbm_surface, buffer has a transform value.
(see 'wayland-tbm.xml')

It used to be acquired by calling wayland_tbm_server_buffer_get_buffer_transform
with passing wl_resource whenever the value is needed, but this caused that
couldn't get transform properly when backup buffer is used by hw composer.
(Backup buffer has no wl_resource, it means resource of 'E_Comp_Wl_Buffer' can
be null.) This patch fixes this case.

Change-Id: I7ad584654fb03202434aef9157736b7de411c6a5

5 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

5 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

5 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

5 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

5 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

5 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

5 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