platform/upstream/enlightenment.git
5 years agoe_client: add e_client_base_output_resolution_update 83/204383/5
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: add e_comp_wl_pid_output_configured_resolution_get 82/204382/5
SooChan Lim [Tue, 23 Apr 2019 07:13:05 +0000 (16:13 +0900)]
e_comp_wl: add 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 81/204381/5
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 80/204380/6
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 79/204379/6
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 78/204378/4
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 agoe_hwc_windows: add client to visible list even if it is deleted 75/204575/2 accepted/tizen/unified/20190425.111737 submit/tizen/20190425.013517
Changyeon Lee [Wed, 24 Apr 2019 11:48:15 +0000 (20:48 +0900)]
e_hwc_windows: add client to visible list even if it is deleted

it is possible that the effect module doens't reference delay_del
and some feature of video need that client is shown even if
it is deleted.

Change-Id: Iadef4318ae6750043173df6f4a310f88e9dd3951

5 years agovideo: Use video LOG macro for consistency instead of using ELOGF directly. 69/204569/2
Seunghun Lee [Wed, 24 Apr 2019 10:29:26 +0000 (19:29 +0900)]
video: Use video LOG macro for consistency instead of using ELOGF directly.

Change-Id: I46b9ff6dfddbe13e8853dd030a6889678dc7487b

5 years agovideo: 'E_Client_Video' now handles handler of 'E_EVENT_CLIENT_REMOVE' event. 68/204568/2
Seunghun Lee [Wed, 24 Apr 2019 10:09:20 +0000 (19:09 +0900)]
video: 'E_Client_Video' now handles handler of 'E_EVENT_CLIENT_REMOVE' event.

'E_Client_Video' instance is created through 'e_client_video_set()' API,
and 'e_client_video_unset()' should be called to free this instance.
Yet it can be considered by user not to create any instance at all because of
its API name. So, for that reason, it's better to listen event and remove
'E_Client_Video' instance by itself for safety.

Change-Id: I9a303525d1d40678d60eb3deba2b15e6a4e16559

5 years agovideo: Remove lines for 'mute' of tdm property. 67/204567/2
Seunghun Lee [Wed, 24 Apr 2019 08:38:59 +0000 (17:38 +0900)]
video: Remove lines for 'mute' of tdm property.

A 'mute' tdm property is in effect only for specific target.
Thus, it should be removed from E implementation.
E will only provide events giving a time for this kind of operation,
then modules can listen this events for their own features.

Change-Id: Ic659d9bc1cf55c51293053af479016ad4bb34ddd

5 years agovideo: Check the supported format of hwc in check_if_pp_needed 51/204451/4
Changyeon Lee [Wed, 24 Apr 2019 06:59:34 +0000 (15:59 +0900)]
video: Check the supported format of hwc in check_if_pp_needed

e_comp_screen_available_video_format return the pp available formats
if pp is supported.
format of the pp destination buffer should be checked in check_if_pp_needed

Change-Id: I86db82c37c22eee7b69cc4bd6fb7e65fb3851652

5 years agoe_hwc_windows: set CLIENT to state of ec which is located below video 30/204530/2
Changyeon Lee [Wed, 24 Apr 2019 05:42:20 +0000 (14:42 +0900)]
e_hwc_windows: set CLIENT to state of ec which is located below video

ec which is located below video should be shown by compositor.

Change-Id: I93ceaa0eab6a0f264edc23cc375242ffb2a79073

5 years agoe_hwc_window: use redirected of e_comp_object instead e_client 03/204203/10
Changyeon Lee [Mon, 22 Apr 2019 05:49:43 +0000 (14:49 +0900)]
e_hwc_window: use redirected of e_comp_object instead e_client

redirected of ec is changed by module

Change-Id: Ie32321f937e06bcee60b3813eaa8746f20ce097f

5 years agoe_hwc_windows: add client to visible list if it has delay_del_ref 02/204202/9
Changyeon Lee [Mon, 22 Apr 2019 04:24:52 +0000 (13:24 +0900)]
e_hwc_windows: add client to visible list if it has delay_del_ref

delay ref of ec is set when ec should be shown at display
even if  wl_surface of ec is destroyed.

Change-Id: Ic70876fe1c7de52d7cf27a69e072ea61e0786bb8

5 years agoe_hwc_window_queue: add string of SET_INVALID state 04/204204/8
Changyeon Lee [Fri, 12 Apr 2019 05:49:55 +0000 (14:49 +0900)]
e_hwc_window_queue: add string of SET_INVALID state

Change-Id: Id4e481f9462eed3437d2addf9b89072125ad4fbe

5 years agovideo: Remove obsolete commented out lines. 25/204525/1 submit/tizen/20190424.070125
Seunghun Lee [Tue, 23 Apr 2019 05:09:46 +0000 (14:09 +0900)]
video: Remove obsolete commented out lines.

Change-Id: I30411dd16f42873a33b44b75dd2cb16faf1d6889

5 years agovideo: fix formatting, and declare variables at the start of the block. 24/204524/1
Seunghun Lee [Tue, 23 Apr 2019 02:04:51 +0000 (11:04 +0900)]
video: fix formatting, and declare variables at the start of the block.

Change-Id: I37f7cb829ce7c589f87bd1c19da5e30b072acc19

5 years agovideo: Added 'E_Video_Hwc_Iface' to make interface for HWC backend. 23/204523/1
Seunghun Lee [Mon, 22 Apr 2019 10:15:02 +0000 (19:15 +0900)]
video: Added 'E_Video_Hwc_Iface' to make interface for HWC backend.

Change-Id: I510440b2c76a71394d1bd921c0b829af227d386f

5 years agovideo: Remove backend init function, and do its job at create function. 22/204522/1
Seunghun Lee [Mon, 22 Apr 2019 03:51:05 +0000 (12:51 +0900)]
video: Remove backend init function, and do its job at create function.

Change-Id: I92bc8f63f3413543aa963261c6bfdbf6939b4eaf

5 years agovideo: Remove unnecessary prototype declarations. 21/204521/1
Seunghun Lee [Fri, 19 Apr 2019 09:07:24 +0000 (18:07 +0900)]
video: Remove unnecessary prototype declarations.

Change-Id: I2b6596af9ed1f61fe9acc00975cea1834f0b441e

5 years agovideo: Optimized function, e_video_hwc_client_mask_update(). 20/204520/1
Seunghun Lee [Fri, 19 Apr 2019 08:57:16 +0000 (17:57 +0900)]
video: Optimized function, e_video_hwc_client_mask_update().

Change-Id: Ia272b29529010e843f425df966d2ee13d6cfd51d

5 years agovideo: To remove duplicated lines, added e_video_hwc_client_mask_update(). 19/204519/1
Seunghun Lee [Fri, 19 Apr 2019 08:53:30 +0000 (17:53 +0900)]
video: To remove duplicated lines, added e_video_hwc_client_mask_update().

Change-Id: I29774158bdd990fda0d8df07cbc391356346e5e0

5 years agovideo: Rename functions to commit buffer properly. 18/204518/1
Seunghun Lee [Fri, 19 Apr 2019 08:42:33 +0000 (17:42 +0900)]
video: Rename functions to commit buffer properly.

Change-Id: I581282f7218809c30b799a0529101d28010dc1ed

5 years agovideo: 'E_Video_Hwc' now handles buffer_show(). 17/204517/1
Seunghun Lee [Fri, 19 Apr 2019 08:34:16 +0000 (17:34 +0900)]
video: 'E_Video_Hwc' now handles buffer_show().

Change-Id: Ia702602a0f40e9aba5fc7cbe844d55300edb055c

5 years agovideo: Remove unnecessary EINTERN declarations. 16/204516/1
Seunghun Lee [Fri, 19 Apr 2019 08:13:31 +0000 (17:13 +0900)]
video: Remove unnecessary EINTERN declarations.

Change-Id: I3e5e8428622b6b06500a134ab8600ca09bfc2eb7

5 years agovideo: Now 'E_Video_Hwc' handles buffer_show(). 15/204515/1
Seunghun Lee [Fri, 19 Apr 2019 08:11:48 +0000 (17:11 +0900)]
video: Now 'E_Video_Hwc' handles buffer_show().

Change-Id: I8594ba74b876819ec1ea786c0f036c0740c8bd27

5 years agovideo: Correct log comment. 14/204514/1
Seunghun Lee [Fri, 19 Apr 2019 06:34:42 +0000 (15:34 +0900)]
video: Correct log comment.

Change-Id: Ib6eae982c397a74b9ba122d412c4ccd9aa439f36

5 years agovideo: Remove unused codes. 13/204513/1
Seunghun Lee [Fri, 19 Apr 2019 04:56:00 +0000 (13:56 +0900)]
video: Remove unused codes.

Change-Id: I283eb183b066a3ffa411fe3bc89e22b391846714

5 years agovideo: Added function to prepare commit_data and rename variable related commit_data. 12/204512/1
Seunghun Lee [Fri, 19 Apr 2019 02:35:41 +0000 (11:35 +0900)]
video: Added function to prepare commit_data and rename variable related commit_data.

Change-Id: Ibebf37e9441a823a75082fe0a4e43703e78054b9

5 years agovideo: 'waiting_vblank' flag will be only used in HWC Planes. 11/204511/1
Seunghun Lee [Fri, 19 Apr 2019 02:12:54 +0000 (11:12 +0900)]
video: 'waiting_vblank' flag will be only used in HWC Planes.

Change-Id: Ia3f68189a7d9abf64bf7a3120e9013a59c575a92

5 years agovideo: Separate internal/external functions. 10/204510/1
Seunghun Lee [Fri, 19 Apr 2019 02:03:58 +0000 (11:03 +0900)]
video: Separate internal/external functions.

Change-Id: I017c28d5d24aef28628a27b558e5bea6b7069c99

5 years agovideo: Remove unused member of 'E_Video_Hwc_Windows'. 09/204509/1
Seunghun Lee [Fri, 19 Apr 2019 02:00:25 +0000 (11:00 +0900)]
video: Remove unused member of 'E_Video_Hwc_Windows'.

Change-Id: I380a0c9a2dc765c8eaa22964a3b69b5de6f41915

5 years agovideo: Remove unused macro. 08/204508/1
Seunghun Lee [Fri, 19 Apr 2019 01:48:03 +0000 (10:48 +0900)]
video: Remove unused macro.

Change-Id: I1ed9f7aca5b48ccad7a4716bb3f809c2dbe2bfc4

5 years agovideo: Remove inappropriate comment. 07/204507/1
Seunghun Lee [Fri, 19 Apr 2019 01:46:59 +0000 (10:46 +0900)]
video: Remove inappropriate comment.

Change-Id: Icb8574b2f0195959f247f34add4e25c6b3beda61

5 years agovideo: Change a name and arguments of commit_handler function properly. 06/204506/1
Seunghun Lee [Thu, 18 Apr 2019 02:23:10 +0000 (11:23 +0900)]
video: Change a name and arguments of commit_handler function properly.

Change-Id: I9ad8d8ce3b1b3b53795bdf79e5f8e4506d1f1f11

5 years agovideo: Remove 'vblank_handler' from HWC Windows implementation. 05/204505/1
Seunghun Lee [Thu, 18 Apr 2019 01:59:05 +0000 (10:59 +0900)]
video: Remove 'vblank_handler' from HWC Windows implementation.

There is no 'vblank' on HWC Windows mode.

Change-Id: Id6fe8740f1184dac09c3f00c4ca18487258e07ca

5 years agovideo: Added function to set properties from list for tdm_layer. 04/204504/1
Seunghun Lee [Mon, 15 Apr 2019 11:48:35 +0000 (20:48 +0900)]
video: Added function to set properties from list for tdm_layer.

Change-Id: Ibaa213a0820953cf9e60555a37093299c58ba2bc

5 years agovideo: Corrected prefix of HWC Planes internal functions. 03/204503/1
Seunghun Lee [Mon, 15 Apr 2019 11:26:58 +0000 (20:26 +0900)]
video: Corrected prefix of HWC Planes internal functions.

Change-Id: I039b88c8dff39edd5b4a7913ff15c010ac9744ad

5 years agovideo: Sorted out functions in 'e_video_hwc_planes.c' according to its attribute. 02/204502/1
Seunghun Lee [Mon, 15 Apr 2019 11:16:23 +0000 (20:16 +0900)]
video: Sorted out functions in 'e_video_hwc_planes.c' according to its attribute.

Change-Id: Id1fcf3b0ecab5782b9f5aad6cda5185d74e9573b

5 years agovideo: Change prefix of internal functions related with tdm. 01/204501/1
Seunghun Lee [Mon, 15 Apr 2019 11:12:39 +0000 (20:12 +0900)]
video: Change prefix of internal functions related with tdm.

Change-Id: Ice21ca4187472706eab482295cc5b8fca6a502b6

5 years agovideo: Grouping member variable related with tdm in 'E_Video_Hwc_Planes'. 00/204500/1
Seunghun Lee [Mon, 15 Apr 2019 11:02:31 +0000 (20:02 +0900)]
video: Grouping member variable related with tdm in 'E_Video_Hwc_Planes'.

Change-Id: I5c630c35b398dfdb4808199af264241349ec5c1d

5 years agovideo: Remove 'E_Video_Layer', it's not necessary anymore. 99/204499/1
Seunghun Lee [Mon, 15 Apr 2019 10:55:24 +0000 (19:55 +0900)]
video: Remove 'E_Video_Layer', it's not necessary anymore.

Change-Id: I50333d9a8bc668d60e9bd427d017919ab2b14365

5 years agovideo: 'E_Video_Hwc' handles event of evas show for HWC mode. 98/204498/1
Seunghun Lee [Mon, 15 Apr 2019 09:42:13 +0000 (18:42 +0900)]
video: 'E_Video_Hwc' handles event of evas show for HWC mode.

Change-Id: I0377b626a43c1a28ec9d1f7eb9272865c74ebe0e

5 years agovideo: 'E_Video_Hwc' handles commit done for HWC Planes/Windows. 97/204497/1
Seunghun Lee [Mon, 15 Apr 2019 06:55:00 +0000 (15:55 +0900)]
video: 'E_Video_Hwc' handles commit done for HWC Planes/Windows.

Change-Id: Iaa2f2537efd26e2d902979dae30045cd80bf9dd3

5 years agovideo: Sort out members of 'E_Video_Hwc_Planes'. 96/204496/1
Seunghun Lee [Mon, 15 Apr 2019 05:54:16 +0000 (14:54 +0900)]
video: Sort out members of 'E_Video_Hwc_Planes'.

Change-Id: Ie020c75d93f86a55e28f4c4f7c37012356353c09

5 years agovideo: Made a function static, which is no more necessary to expose it. 95/204495/1
Seunghun Lee [Mon, 15 Apr 2019 05:44:21 +0000 (14:44 +0900)]
video: Made a function static, which is no more necessary to expose it.

Change-Id: I79ab4e0cb31aea691d7d20c64cfc4f47095d073b

5 years agovideo: 'E_Video_Hwc' handles event of client show for HWC Planes/Windows. 94/204494/1
Seunghun Lee [Mon, 15 Apr 2019 05:37:03 +0000 (14:37 +0900)]
video: 'E_Video_Hwc' handles event of client show for HWC Planes/Windows.

Change-Id: I40be08a43421181b63a3b8c70a30d483bbc867c4

5 years agovideo: 'E_Video_Hwc' handles event of client buffer change for HWC Planes/Windows. 93/204493/1
Seunghun Lee [Mon, 15 Apr 2019 04:56:26 +0000 (13:56 +0900)]
video: 'E_Video_Hwc' handles event of client buffer change for HWC Planes/Windows.

Change-Id: I740ae3f5b9d4885f88f2d4492ab45aeb97f52423

5 years agovideo: Removed unnecessary forward declarations. 92/204492/1
Seunghun Lee [Mon, 15 Apr 2019 04:48:23 +0000 (13:48 +0900)]
video: Removed unnecessary forward declarations.

Change-Id: I4a4aa50d1067c5d57c7e82ac788539772634f04b

5 years agovideo: Removed unused member of 'E_Video_Hwc_Windows'. 91/204491/1
Seunghun Lee [Mon, 15 Apr 2019 04:40:56 +0000 (13:40 +0900)]
video: Removed unused member of 'E_Video_Hwc_Windows'.

Change-Id: Ia6ba17c287c1cef7d96acc1ac3ee825ceb7e5e98

5 years agovideo: Made exception handling improve. 90/204490/1
Seunghun Lee [Mon, 15 Apr 2019 04:39:48 +0000 (13:39 +0900)]
video: Made exception handling improve.

Change-Id: Ib12f7dee1201adce0600f88efc23b41a151b72ed

5 years agovideo: Separate set/unset layer implementation to make it clear. 89/204489/1
Seunghun Lee [Mon, 15 Apr 2019 04:32:10 +0000 (13:32 +0900)]
video: Separate set/unset layer implementation to make it clear.

Change-Id: Iba3715b1b5ffedeb636170a0afff648f920263cf

5 years agovideo: fix formatting. 88/204488/1
Seunghun Lee [Mon, 15 Apr 2019 04:23:50 +0000 (13:23 +0900)]
video: fix formatting.

Change-Id: I0244da96ce447fc9cd6626ee5770b114a7404bcc

5 years agovideo: Move an declaration at the start of the block. 87/204487/1
Seunghun Lee [Mon, 15 Apr 2019 04:21:51 +0000 (13:21 +0900)]
video: Move an declaration at the start of the block.

Change-Id: Ibb4d74d5e612e29552dd6d362ac73fb95aab88e7

5 years agovideo: Remove unnecessary lines. 86/204486/1
Seunghun Lee [Mon, 15 Apr 2019 02:48:08 +0000 (11:48 +0900)]
video: Remove unnecessary lines.

Change-Id: Ic50f8bf56f7cd31e0735377ed8bb4c9580aa5b27

5 years agovideo: Create e_video_hwc_render() to remove duplicated function _e_video_render(). 85/204485/1
Seunghun Lee [Mon, 15 Apr 2019 02:35:47 +0000 (11:35 +0900)]
video: Create e_video_hwc_render() to remove duplicated function _e_video_render().

This patch also makes all relevant functions static function.

Change-Id: Ie540114d80f0eac5498dcb40bc0621219fab7041

5 years agovideo: Remove unnecessary implementation of HWC interfaces. 84/204484/1
Seunghun Lee [Fri, 12 Apr 2019 08:16:51 +0000 (17:16 +0900)]
video: Remove unnecessary implementation of HWC interfaces.

Change-Id: Ifc51db3ebe0283a666a2c13287a421d04d8b88ff

5 years agovideo: Create e_video_hwc_input_buffer_valid() function to remove duplicated function. 83/204483/1
Seunghun Lee [Fri, 12 Apr 2019 08:07:47 +0000 (17:07 +0900)]
video: Create e_video_hwc_input_buffer_valid() function to remove duplicated function.

Change-Id: If0f06bb1f464cbeb47e85f5c92120d686dced91f

5 years agovideo: Create e_video_hwc_input_buffer_copy() function to remove duplicated function. 82/204482/1
Seunghun Lee [Fri, 12 Apr 2019 08:03:00 +0000 (17:03 +0900)]
video: Create e_video_hwc_input_buffer_copy() function to remove duplicated function.

Change-Id: I37831a2797ff0fad49fe18ecd859247c7b04b4ad

5 years agovideo: Create e_video_hwc_video_buffer_scanout_check() function to remove duplicated... 81/204481/1
Seunghun Lee [Fri, 12 Apr 2019 07:56:57 +0000 (16:56 +0900)]
video: Create e_video_hwc_video_buffer_scanout_check() function to remove duplicated functions.

Change-Id: I24ecdccaeeaf2b80a213cbb2aba21fa7230e7d16

5 years agovideo: Remove duplicated codes and create alternative function. 80/204480/1
Seunghun Lee [Fri, 12 Apr 2019 07:52:00 +0000 (16:52 +0900)]
video: Remove duplicated codes and create alternative function.

Change-Id: I3f77fd2da0c0f649edd9abdab953c35dfab55329

5 years agovideo: Move implementation for pp_buffer to E_Video_Hwc. 79/204479/1
Seunghun Lee [Fri, 12 Apr 2019 07:41:23 +0000 (16:41 +0900)]
video: Move implementation for pp_buffer to E_Video_Hwc.

Change-Id: I8d4f8007d719fbf03e0370824c5fceb24c3f5a1f

5 years agovideo: Seperate code for creating handle and initializing. 78/204478/1
Seunghun Lee [Fri, 12 Apr 2019 05:12:32 +0000 (14:12 +0900)]
video: Seperate code for creating handle and initializing.

Change-Id: I975b57fc8d2add4a084bdfaaa425f75ba6346362

5 years agovideo: Move all common members of structure between E_Video_Hwc_Windows and E_Video_H... 77/204477/1
Seunghun Lee [Fri, 12 Apr 2019 04:48:44 +0000 (13:48 +0900)]
video: Move all common members of structure between E_Video_Hwc_Windows and E_Video_Hwc_Planes to E_Video_Hwc.

Change-Id: Id8572d1812ffa8783105462ea7a0b53ef658581f

5 years agovideo: Remove duplicated codes. 09/204309/3
Seunghun [Thu, 11 Apr 2019 09:54:14 +0000 (18:54 +0900)]
video: Remove duplicated codes.

Added following codes instead of that.
e_video_hwc_comp_buffer_tbm_format_get()

Change-Id: I56ecbd8d481207d7d1b1a9aea5b7482c2d9b7647

5 years agovideo: Remove duplicated codes. 08/204308/3
Seunghun [Thu, 11 Apr 2019 09:41:58 +0000 (18:41 +0900)]
video: Remove duplicated codes.

Added following codes instead of that.
e_video_hwc_client_parent_viewable_get()

Change-Id: I73cf45433ac8737ee714ba56cb8aa0ef7e5b10df

5 years agovideo: Remove duplicated codes. 07/204307/3
Seunghun [Thu, 11 Apr 2019 09:35:12 +0000 (18:35 +0900)]
video: Remove duplicated codes.

Added following codes instead of removed one.
e_video_hwc_vbuf_find()
e_video_hwc_vbuf_find_with_comp_buffer()

Change-Id: I16d540f78c3078bace41063234127c0b21d1d228

5 years agovideo: Remove duplicated codes. 06/204306/3
Seunghun [Thu, 11 Apr 2019 08:54:39 +0000 (17:54 +0900)]
video: Remove duplicated codes.

Added HWC functions.
e_video_hwc_client_offscreen_parent_get()
e_video_hwc_client_visible_get()

Change-Id: Ia7b8ba2a0a91a7682b4966c10df59a8e50fc3784

5 years agovideo: Move duplicated code, find_video_child_get() to e_video_hwc. 05/204305/3
Seunghun [Thu, 11 Apr 2019 08:46:19 +0000 (17:46 +0900)]
video: Move duplicated code, find_video_child_get() to e_video_hwc.

Change-Id: Ifbb5980ca937acec0456669ac423a0aa3830d4ba

5 years agovideo: Move duplicated hwc code for calculating geometry to e_video_hwc. 04/204304/3
Seunghun [Thu, 11 Apr 2019 08:40:30 +0000 (17:40 +0900)]
video: Move duplicated hwc code for calculating geometry to e_video_hwc.

Change-Id: I7e6096650e6b40cc6d100f8ac82dd5457f63ded8

5 years agovideo: Create 'E_Video_Hwc' and use its interface for HWC mode. 03/204303/3
Seunghun [Thu, 11 Apr 2019 07:04:27 +0000 (16:04 +0900)]
video: Create 'E_Video_Hwc' and use its interface for HWC mode.

Change-Id: I8166368aefd5e331b6284edc13c374721db5488e

5 years agovideo: 'e_video_hwc.c' has been added to place duplicated codes for hwc operation. 02/204302/3
Seunghun [Thu, 11 Apr 2019 05:32:51 +0000 (14:32 +0900)]
video: 'e_video_hwc.c' has been added to place duplicated codes for hwc operation.

Change-Id: I2915ad50386af7a9d12ff99257bce024baab3f67

5 years agovideo: Remove unused macro. 01/204301/3
Seunghun [Thu, 11 Apr 2019 02:08:14 +0000 (11:08 +0900)]
video: Remove unused macro.

Change-Id: I64f67508fac05b3c583846713f05fce1c383326f

5 years agovideo: 'e_video_hwc.h' has been added, and move duplicated HWC macro to it. 00/204300/3
Seunghun [Thu, 11 Apr 2019 02:04:39 +0000 (11:04 +0900)]
video: 'e_video_hwc.h' has been added, and move duplicated HWC macro to it.

Change-Id: I22be70958e8bac7e12b280a4a630334e369cacc1

5 years agovideo: Remove unnecessary video_list. 99/204299/3
Seunghun Lee [Fri, 12 Apr 2019 06:53:39 +0000 (15:53 +0900)]
video: Remove unnecessary video_list.

Change-Id: I163322b78bcb6c48bad89537fd42d1aee92e30fb

5 years agovideo: Move duplicated macro for logging to 'e_video_internal.h' 98/204298/3
Seunghun [Thu, 11 Apr 2019 01:56:41 +0000 (10:56 +0900)]
video: Move duplicated macro for logging to 'e_video_internal.h'

Change-Id: I658c87a4bc7e10aaa77b5011c4915079eda1bdd0

5 years agovideo: Create 'E_Video_External' to deal with external display video. 97/204297/3
Seunghun [Wed, 10 Apr 2019 07:02:48 +0000 (16:02 +0900)]
video: Create 'E_Video_External' to deal with external display video.

This patch also removes dependency of external things in E_Video_Hwc_Planes.

Change-Id: I54b6a6d37d943e1bb999a6c66aa9e20d09835fe1

5 years agovideo: Remove unused macro 96/204296/3
Seunghun [Tue, 9 Apr 2019 07:40:09 +0000 (16:40 +0900)]
video: Remove unused macro

Change-Id: Ia3598b4c187991bc777ff4791b8953064b61a025

5 years agovideo: Correct path for including 'e_video_internal.h' 95/204295/3
Seunghun [Tue, 9 Apr 2019 07:20:26 +0000 (16:20 +0900)]
video: Correct path for including 'e_video_internal.h'

Change-Id: I740aea0613762ce973398b5abee76145ed7bfd16

5 years agovideo: Start refactoring for video implementation. 94/204294/3
Seunghun [Tue, 9 Apr 2019 05:52:53 +0000 (14:52 +0900)]
video: Start refactoring for video implementation.

Remove unused functions and attributes for 'info_get/commit_data_release/tbm_surface_get'
interface in hwc_planes implementation.

Change-Id: Id4472ad1dbb621e308830417650a64ad9577719e

5 years agovideo: Add a hook handler for 'E_COMP_WL_HOOK_SUBSURFACE_CREATE' 92/204292/6
Seunghun Lee [Tue, 16 Apr 2019 10:54:19 +0000 (19:54 +0900)]
video: Add a hook handler for 'E_COMP_WL_HOOK_SUBSURFACE_CREATE'

This patch raises an 'VISIBILITY_CHANGE' event to video client when its topmost
ancestor is changed.

Change-Id: I41877ddf410232985c5c60f32266ea08c22b4b74
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
5 years agovideo: A handler for video_set has to be freed even though it waits vblank. 91/204291/1
Seunghun Lee [Mon, 15 Apr 2019 07:28:33 +0000 (16:28 +0900)]
video: A handler for video_set has to be freed even though it waits vblank.

Change-Id: I97e312f1b90f67232016a4f310603cac8aef13e4

5 years agoe_comp_object: use ELOGF instead of INF 77/204077/1
Juyeon Lee [Fri, 19 Apr 2019 05:28:06 +0000 (14:28 +0900)]
e_comp_object: use ELOGF instead of INF

Change-Id: I010edee284192a4b86f0b97f67625b3debd82e1c

5 years agoe_comp_object: remove log for external content alpha set 43/203943/2
Juyeon Lee [Thu, 18 Apr 2019 07:39:24 +0000 (16:39 +0900)]
e_comp_object: remove log for external content alpha set

Change-Id: I1a9f1c94f587d51a3fff9abe8052114222b3ad4a

5 years agoe_plane_renderer: fix wrong checking reserved flag of client buffer 44/203744/2
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

5 years agoe_msg: add API e_msg_event_type_get for handling inter module event 02/203602/7
Juyeon Lee [Tue, 16 Apr 2019 06:40:12 +0000 (15:40 +0900)]
e_msg: add API e_msg_event_type_get for handling inter module event

each module can handle ecore event by getting ecore event type form the API.
there are hash for message string and once api called,
ecore_event_type_new generates a new ev type for the string 1st time given.
otherwize returns the type id previously generated

Change-Id: Ibee2cafa6ca48a7d274f6d9d489d667fd749642a
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
5 years agoe_info : added reply process to dump request using capture API 57/203757/4
MinJeong Kim [Wed, 17 Apr 2019 10:40:22 +0000 (19:40 +0900)]
e_info : added reply process to dump request using capture API

 e_client_image_save API does not ensure synchronous action for its
caller because capture process uses thread to proceed.
 Some reply(dbus message) are added to notify complete of capture process
to e_info_client.

Change-Id: I5b9046be6a9902d41482cac770841031a22cd5ce
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_magnifier: added privilege check for magnifier service. accepted/tizen/unified/20190416.132808 submit/tizen/20190416.012014
Gwanglim Lee [Mon, 15 Apr 2019 11:03:03 +0000 (20:03 +0900)]
e_magnifier: added privilege check for magnifier service.

From now, 'tizen.org/privilege/internal/default/platform' privilege
is required to run the magnifier service application.

Change-Id: Ie5017cbef224340abc797d565a86c91bafa7a6b2

5 years agoe_comp_wl: add intercept hooks to control cursor timer
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

5 years agoremote_surface: removed pixmap from log 80/203380/3 accepted/tizen/unified/20190415.132607 submit/tizen/20190412.094402
MinJeong Kim [Fri, 12 Apr 2019 06:39:42 +0000 (15:39 +0900)]
remote_surface: removed pixmap from log

Change-Id: I9199b6fe262a22a39c7e14f5a35c353ae07d6792
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoremote_surface : rename ambiguous varialbe and clean up some code 18/203318/5
MinJeong Kim [Thu, 11 Apr 2019 10:44:22 +0000 (19:44 +0900)]
remote_surface : rename ambiguous varialbe and clean up some code

- rename ambiguous variable name 'owner'
- replace some functions
- minor clean up

Change-Id: Ibb9df5696a3f604a581c4ec7376800d0fcfb53ce
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoRemoved 'HAVE_REMOTE_SURFACE' macro 78/203278/4
MinJeong Kim [Thu, 11 Apr 2019 08:12:20 +0000 (17:12 +0900)]
Removed 'HAVE_REMOTE_SURFACE' macro

Change-Id: Icf6f5e39a5d6f2d1a8dbf7a315d6f1e81b01ddcb
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_comp_wl_capture: separate capture process from remote surface 43/202743/6
MinJeong Kim [Thu, 11 Apr 2019 08:06:50 +0000 (17:06 +0900)]
e_comp_wl_capture: separate capture process from remote surface

Change-Id: I52d6ea5a69ff4f87e9ddb6563caa238b32ebd5c2
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoremote_surface: new request surface_create_with_wl_surface 75/203275/2
MinJeong Kim [Thu, 11 Apr 2019 07:58:59 +0000 (16:58 +0900)]
remote_surface: new request surface_create_with_wl_surface

Change-Id: Ic6e4df0ae1829946d8dc42c46a56807d85e140b1
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_hwc_window_queue: add SET_INVALID state 60/203260/1 accepted/tizen/unified/20190412.124719 submit/tizen/20190411.105800
Changyeon Lee [Fri, 5 Apr 2019 10:52:51 +0000 (19:52 +0900)]
e_hwc_window_queue: add SET_INVALID state

E_HWC_WINDOW_QUEUE_STATE_SET_INVALID means queue is set e_hwc_window
but client detached or destroyed queue_buffer.

Change-Id: Ieb1fda299f4df9f0089d905ff472a7c171e91ce3

5 years agoe_hwc_window_queue: release dequeud buffer when unset queue 59/203259/1
Changyeon Lee [Fri, 5 Apr 2019 09:07:02 +0000 (18:07 +0900)]
e_hwc_window_queue: release dequeud buffer when unset queue

Change-Id: I8719b41594038b0b27d70ce0b5046d61f8cf1c2a

5 years agoe_hwc_window: add checking deleted before get ec 05/202805/4
Changyeon Lee [Thu, 4 Apr 2019 08:49:12 +0000 (17:49 +0900)]
e_hwc_window: add checking deleted before get ec

Change-Id: Ia925ffb61ca8beddd376b48cbae76aae8539964c

5 years agoe_hwc_window: update cursor_image when client doesn't have buffer 04/202804/4
Changyeon Lee [Thu, 4 Apr 2019 07:19:35 +0000 (16:19 +0900)]
e_hwc_window: update cursor_image when client doesn't have buffer

Change-Id: Icf652d492c5edebdeede8b405256d09132482d5a

5 years agoe_eom: change resource checking method and position 17/203017/2
Junkyeong Kim [Tue, 9 Apr 2019 02:29:25 +0000 (11:29 +0900)]
e_eom: change resource checking method and position

sometimes ec->comp_data is not correct.
check the configure_send function only eom_output existed.

Change-Id: If9b6eaa7c8b6f9b8ac74c0f5f22592b1cf3e1aaa
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: do not use tdm capture if hwc window enable 92/202792/3
Junkyeong Kim [Thu, 4 Apr 2019 08:21:48 +0000 (17:21 +0900)]
e_output: do not use tdm capture if hwc window enable

because tdm do not support capture when tdm hwc enable yet.
have to revert this code after tdm support hwc mode capture.

Change-Id: Ie9722088380cfe0e07b8208b120948338cf81c7d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>