platform/upstream/enlightenment.git
5 years agovideo: Remove unnecessary interface for video. 62/206162/8
Seunghun Lee [Tue, 7 May 2019 07:14:27 +0000 (16:14 +0900)]
video: Remove unnecessary interface for video.

'topmost_visibility_follow' and 'property_allow' interfaces are
unnecessary.

Change-Id: I48b5f3e69f9059682534c112c59da702867edc9c

5 years agovideo: Added e_video_debug_screen_punch_set()/unset() functions. 61/206161/8
Seunghun Lee [Tue, 30 Apr 2019 01:03:13 +0000 (10:03 +0900)]
video: Added e_video_debug_screen_punch_set()/unset() functions.

This API will make full-sized transparent object overlapping canvas of
e_comp to show video plane.

Change-Id: I05976b1465ca486951e6c756d1ec7541fa3b20ad

5 years agovideo: Use internal customized LOG macro. 60/206160/8
Seunghun Lee [Tue, 30 Apr 2019 00:01:57 +0000 (09:01 +0900)]
video: Use internal customized LOG macro.

Change-Id: Ibeb4f51e50d8d59a97f22394061d291029240935

5 years agovideo: Remove deprecated functions of E_Client_Video for HWC Windows. 59/206159/8
Seunghun Lee [Mon, 29 Apr 2019 10:20:50 +0000 (19:20 +0900)]
video: Remove deprecated functions of E_Client_Video for HWC Windows.

Change-Id: I9785982494e79f9793c9b620fbfdc549586442e0

5 years agovideo: Correct name of variable for E_Video_External as proper abbreviation. 58/206158/8
Seunghun Lee [Mon, 29 Apr 2019 08:29:52 +0000 (17:29 +0900)]
video: Correct name of variable for E_Video_External as proper abbreviation.

Change-Id: Iaf82ce80eac680cb7ecfc4c8994b9b9b35be24ed

5 years agovideo: Added e_client_video_hw_composition_set/unset/check() functions to manage... 57/206157/8
Seunghun Lee [Mon, 29 Apr 2019 08:13:02 +0000 (17:13 +0900)]
video: Added e_client_video_hw_composition_set/unset/check() functions to manage the compositing methods of video client.

A internal implementation for video will call set/unset() functions according
to its compositing method. And then e_client_video_hw_composition_check() will be
used instead of video_client flag. This patch removed video_client flag from
E_Client structure.

Change-Id: Iea0e5a412c55b2990622c2f2aeb329311402d805

5 years agoe_hwc_window: check delete of ec before create hwc_window 85/206285/5
Changyeon Lee [Thu, 16 May 2019 04:54:13 +0000 (13:54 +0900)]
e_hwc_window: check delete of ec before create hwc_window

Change-Id: If770cb2c9210175526735e4f4f2ecf34a707493c

5 years agoe_hwc_window_queue: fix wrong checking flags of wayland tbm buffer 54/206854/2
Changyeon Lee [Tue, 28 May 2019 07:40:10 +0000 (16:40 +0900)]
e_hwc_window_queue: fix wrong checking flags of wayland tbm buffer

Change-Id: I8824cf29c5cebf785e8abc328ac1ade5c14fdfab

5 years agoadd e_client_frame_focus_set to set/unset focus 57/206657/1
Doyoun Kang [Thu, 23 May 2019 00:38:39 +0000 (09:38 +0900)]
add e_client_frame_focus_set to set/unset focus

We used evas_object_focus_set(ec->frame, set) API. But it was hard to debug
setting/unsetting focus. So, we make wrapper API.

FYI, no focus logic change in this patch.

Change-Id: Ia973d1da275bd81fbcb53ab6c9be1afe3c048afd

5 years agoFixed unmatched function name 57/206457/1
MinJeong Kim [Fri, 17 May 2019 06:55:49 +0000 (15:55 +0900)]
Fixed unmatched function name

Change-Id: I356dc3ff79139c0333cc4d28126ca42764437ec1
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_dpms: implementation of wayland-extension tizen-dpms-manager server interface 44/204544/9 accepted/tizen/unified/20190515.221739 submit/tizen/20190514.024650
Junkyeong Kim [Wed, 24 Apr 2019 08:35:51 +0000 (17:35 +0900)]
e_dpms: implementation of wayland-extension tizen-dpms-manager server interface

Change-Id: Iba62ebeec7a3173299b6a2e2b3e0decd3ef90e4a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_comp_wl_input: changed a code for creation of temp file to have secure permissions 97/206197/1
Gwanglim Lee [Wed, 15 May 2019 05:29:16 +0000 (14:29 +0900)]
e_comp_wl_input: changed a code for creation of temp file to have secure permissions

Change-Id: I4a74305c1884778b1ddcf6377e01e5ff4b4ca03b

5 years agoe_info_server: added check codes for return value of sscanf 92/206192/1
Gwanglim Lee [Wed, 15 May 2019 05:02:34 +0000 (14:02 +0900)]
e_info_server: added check codes for return value of sscanf

Change-Id: Iab81d293847335d22cfe7807075bbab368ca9cd4

5 years agoe_maximize: fix dereference null 87/206187/3
Juyeon Lee [Wed, 15 May 2019 03:21:48 +0000 (12:21 +0900)]
e_maximize: fix dereference null

Change-Id: I840e84bd8e508c9243ff2fbede959fd159bd6ba7

5 years agoe_comp_object: fix dereference null 85/206185/1
Juyeon Lee [Wed, 15 May 2019 03:00:53 +0000 (12:00 +0900)]
e_comp_object: fix dereference null

Change-Id: If129de06d85655ef60194a7d10a7168974964256

5 years agoe_comp_wl_video: Remove data from list before destroy resource. 78/206178/2
Seunghun Lee [Wed, 15 May 2019 02:16:37 +0000 (11:16 +0900)]
e_comp_wl_video: Remove data from list before destroy resource.

This patch is to silence coverity alarm.

Change-Id: Ib19d764c19af5d5657b80b58ca5ba3183c08f0fe

5 years agoremote_surface: fixed a memory leak 79/206179/1
Gwanglim Lee [Wed, 15 May 2019 02:22:24 +0000 (11:22 +0900)]
remote_surface: fixed a memory leak

Change-Id: I0b9321883cd9741ef091afead4c896a37ccc794f

5 years agoe_comp_wl: cast the integer varaiables with the float 25/206125/2
SooChan Lim [Tue, 14 May 2019 11:17:58 +0000 (20:17 +0900)]
e_comp_wl: cast the integer varaiables with the float

Change-Id: I96167f4da2cf0b674c59e347f922ae8ef3c82620

5 years agoe_client: add function for get screen geometry 12/205812/4
Junseok, Kim [Thu, 9 May 2019 08:55:42 +0000 (17:55 +0900)]
e_client: add function for get screen geometry

Change-Id: I7183a75a469a159f81dd850bb716999bc01a794c

5 years agoadd e_client_focus_skip_set and focus_skip event 60/205860/2 accepted/tizen/unified/20190513.082557 submit/tizen/20190510.072056 submit/tizen/20190512.233104
Doyoun Kang [Fri, 10 May 2019 01:58:37 +0000 (10:58 +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: Idb1c9353c2f2cab141233d5676258de619d4074e

5 years agoe_client: add function for adjust tramsform using base_output_resolution 11/205811/1 accepted/tizen/unified/20190510.012047 submit/tizen/20190509.093504
Junseok, Kim [Thu, 9 May 2019 08:45:53 +0000 (17:45 +0900)]
e_client: add function for adjust tramsform using base_output_resolution

Change-Id: If6b177f91fd44ed3822632ffaee8af22e52b9cbe

5 years agoe_policy_wl: move doing transform when shell surface ready. 10/205810/1
Junseok, Kim [Thu, 9 May 2019 07:43:02 +0000 (16:43 +0900)]
e_policy_wl: move doing transform when shell surface ready.

to solve partial window's transform problem, doing transform when shell surface ready instead of client maximize

Change-Id: I197688f0bd0551480ffcc59708ebf96354b7ac80

5 years agoe_client: remove transform_move during adjust base_output_resolution transforming 09/205809/1
Junseok, Kim [Thu, 9 May 2019 07:38:46 +0000 (16:38 +0900)]
e_client: remove transform_move during adjust base_output_resolution transforming

removed transform move during adjust base_output_resolution transform because of it's unnecessary.
and add more info to log.

Change-Id: Iaeed8b3352fa0dc75ce2a58c43e39f9a5c73460d

5 years agoe_client: change API visibility of e_client_base_output_resolution_update 84/205684/1
Junseok, Kim [Wed, 8 May 2019 11:10:49 +0000 (20:10 +0900)]
e_client: change API visibility of e_client_base_output_resolution_update

Change-Id: Iefdab1734006bd21d1e406c29a52fff42eaa1f86

5 years agoe_comp_wl: fixed implicit conversion of float to int 71/205571/1 accepted/tizen/unified/20190508.111125 submit/tizen/20190507.115421
Gwanglim Lee [Tue, 7 May 2019 11:47:01 +0000 (20:47 +0900)]
e_comp_wl: fixed implicit conversion of float to int

Change-Id: I693e7d575462d5865be4fc34067aea3c3ab2e019

5 years agoe_comp_wl: change the physical size of the output with the ratio of the configured... accepted/tizen/unified/20190429.103843 accepted/tizen/unified/20190503.040756 submit/tizen/20190429.074436 submit/tizen/20190502.125225
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 the physical size of the output via the ratio of the configured output size

Change-Id: Iafbc7c83c2e49754501f4973f7b5689b87d0bf85

5 years agovideo: Fix a defect referencing invalid ec pointer. 07/205107/1
Seunghun Lee [Mon, 29 Apr 2019 07:10:21 +0000 (16:10 +0900)]
video: Fix a defect referencing invalid ec pointer.

Change-Id: Ie4205648a66f14745292cdfb7caa1a208213b5ed

5 years agoe_comp_wl_shell: call base_output_resolution_update after create shell surface 73/204773/2
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 agoe_policy_visibility: fixed a heap-use-after-free error for the deleted ec when logging 87/204787/2
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

5 years agoe_policy_appinfo: switch visibility of appinfo functions for module 67/204667/4 submit/tizen/20190426.023741
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 66/204666/4
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 65/204665/4
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 84/204384/5
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 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