platform/upstream/enlightenment.git
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>
5 years agoe_output: support hwc window policy output capture 91/202791/4
Junkyeong Kim [Thu, 4 Apr 2019 08:04:03 +0000 (17:04 +0900)]
e_output: support hwc window policy output capture

add _e_output_vbuf_capture_hwc_window function for hwc window mode output capture.

Change-Id: I1a7ea11cb2087ed0ea81d496b47e4718837d3836
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: change the capture function name to _e_output_vbuf_capture 83/202783/3
Junkyeong Kim [Thu, 4 Apr 2019 06:38:40 +0000 (15:38 +0900)]
e_output: change the capture function name to _e_output_vbuf_capture

change rotate value calculation position.

Change-Id: Iee09701eae066e0eef89228aefd364cbb6c387de
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_window: do not make pp commit data if comp mode and hwc_window is not device... 24/202924/2
Junkyeong Kim [Mon, 8 Apr 2019 02:32:11 +0000 (11:32 +0900)]
e_hwc_window: do not make pp commit data if comp mode and hwc_window is not device type

Change-Id: Idc3a5f45c3fdb6cb3dd5df296dda7e1f2030126f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: do not pp commit if there is a pending data 22/202922/2
Junkyeong Kim [Mon, 8 Apr 2019 02:26:31 +0000 (11:26 +0900)]
e_hwc_windows: do not pp commit if there is a pending data

cannot make two pending data.(prevent memory leak)
so if there is a pending data, cannot commit.

Change-Id: I229f770d791a93a5d9e86ca9d2da622ee6bcc6e5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: change log for pp zoom 21/202921/1
Junkyeong Kim [Mon, 8 Apr 2019 02:24:59 +0000 (11:24 +0900)]
e_hwc_windows: change log for pp zoom

Change-Id: Idb0613c0363e0cef134e4c8d1c0cb549d8f977cd
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: move pp_done hander set position 47/202847/1
Junkyeong Kim [Fri, 5 Apr 2019 05:00:23 +0000 (14:00 +0900)]
e_hwc_windows: move pp_done hander set position

Change-Id: If26c28ef84bd104255e70a333cd1a7f94fd5b3c0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows : remove unused variable 42/202742/1
minjjj.kim [Wed, 3 Apr 2019 11:24:06 +0000 (20:24 +0900)]
e_hwc_windows : remove unused variable

Change-Id: Ieba29bbac177902b7bef31ddbae7fa8198286837

5 years agoe_comp_wl: check cursor_timer config in caller not function inside 36/202636/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

5 years agoe_comp_wl: show a cursor when button is pressed using cursor timer 08/202508/2
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

5 years agoe_output: change method to get vblank interval for stream capture 04/202604/1
Junkyeong Kim [Mon, 1 Apr 2019 11:22:22 +0000 (20:22 +0900)]
e_output: change method to get vblank interval for stream capture

Change-Id: I7c6b2ab465bd835c8b9e1f2560aed67a4afe8145
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agomodify code to use e_client_geometry_get not ec->w and ec->h directly 56/202556/2 accepted/tizen/unified/20190401.224926 submit/tizen/20190401.094108
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 agoe_hwc_window: set info of hwc_window to commit_data 01/202401/4
Changyeon Lee [Thu, 28 Mar 2019 05:20:17 +0000 (14:20 +0900)]
e_hwc_window: set info of hwc_window to commit_data

Change-Id: I40536c64bf088f27d22a35253f9821d30455c751

5 years agoe_hwc_window: fix wrong release buffer to queue 00/202400/4
Changyeon Lee [Wed, 27 Mar 2019 12:52:14 +0000 (21:52 +0900)]
e_hwc_window: fix wrong release buffer to queue

if buffer of display and buffer of commit data are same,
don't release buffer to queue

Change-Id: I0638b73b109c7abf218581b8c605cd6e0e170fe1

5 years agoe_hwc_windows: erase unnecessary code for pp zoom 53/202253/2
Junkyeong Kim [Tue, 26 Mar 2019 09:20:47 +0000 (18:20 +0900)]
e_hwc_windows: erase unnecessary code for pp zoom

Change-Id: Ibeb5b20684c19e0d0a0e38c35062c5b285931864
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: support hwc mode pp zoom 52/202252/2
Junkyeong Kim [Tue, 26 Mar 2019 09:18:47 +0000 (18:18 +0900)]
e_hwc_windows: support hwc mode pp zoom

add pp_hwc_window to support hwc mode pp zoom.
if pp_zoom set, it works forcely gl compositing mode by change all hwc_window state to client type.(except video)
but if there is only 1 visible hwc_window, do not use gl compositor.
instead, get the pp source buffer from this hwc_window.

Change-Id: I24e0d6d5b25e85d7fc4795f000f605cab6cbf0d8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_window: add e_hwc_window_pp_commit_data_acquire API for pp zoom 71/202071/3
Junkyeong Kim [Fri, 22 Mar 2019 08:01:14 +0000 (17:01 +0900)]
e_hwc_window: add e_hwc_window_pp_commit_data_acquire API for pp zoom

e_hwc_window_buffer_fetch: do not execute tdm set. tdm set execute after pp done.
e_hwc_window_pp_commit_data_acquire: if pp_hwc_mode set, it means there is only 1 visible hwc_window.
in this case do not execute compositor, get commit data from this client type hwc_window.

Change-Id: Icfdc0629a71c166614ddb9d05dda29ea96fe277e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_window: add e_hwc_window_pp_rendered_window_update API for pp zoom 64/202064/2
Junkyeong Kim [Fri, 22 Mar 2019 07:34:09 +0000 (16:34 +0900)]
e_hwc_window: add e_hwc_window_pp_rendered_window_update API for pp zoom

if pp set, make all hwc_window to client forcely.(except video)
so execute _e_hwc_window_rendered_window_set with FALSE parameter.

Change-Id: I5e9c3fc9bc0e4e47b7d51821519c80d5da125fad
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: add pp_unset flag 62/202062/2
Junkyeong Kim [Fri, 22 Mar 2019 07:23:44 +0000 (16:23 +0900)]
e_hwc_windows: add pp_unset flag

need pp_unset flag when pp zoom unset.
make once comp mode buffer to show origin size buffer.
after showing that comp buffer, disable pp_unset flag.

Change-Id: I499716cc49a62c73a1b04c07148dc9ee509983b0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: enable pp zoom 49/202049/3
Junkyeong Kim [Fri, 22 Mar 2019 04:40:46 +0000 (13:40 +0900)]
e_hwc_windows: enable pp zoom

if pp set, execute tdm_hwc_set_client_target_buffer and
tdm_hwc_accept_validation after pp commit done.
make all hwc_windows type to client except video.

Change-Id: I47558b74ce96c2be746263d00875ae21b2a3b896
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_client: check buffer_flush during revert_focus 11/202511/2 accepted/tizen/unified/20190330.030049 submit/tizen/20190329.084058
Junseok, Kim [Fri, 29 Mar 2019 07:41:12 +0000 (16:41 +0900)]
e_client: check buffer_flush during revert_focus

there is bug that didn't send iconic_state_changed event to client.
if the client has buffer_flush off, that the client can uniconify without send iconic_state_changed event.
this patch fix it with check buffer_flush before doing revert_focus.

Change-Id: I33dd62a0f5cdc43b804b2f5196fbfac671835266

5 years agoe_desk: fix svace issue 25/202225/2
Junseok, Kim [Tue, 26 Mar 2019 06:32:43 +0000 (15:32 +0900)]
e_desk: fix svace issue

Change-Id: I09e146afbe0fffb7441e5d2b3f34a7a1f7cdbb05

5 years agohwc: turn off the hwc log as a default. 99/202399/1
SooChan Lim [Thu, 28 Mar 2019 05:05:49 +0000 (14:05 +0900)]
hwc: turn off the hwc log as a default.

Change-Id: I2c8312bf1e46470df2657716acde704f30c796b7

5 years agoe_policy_wl: add privilege check function for tzsh-softkey 22/200622/5 accepted/tizen/unified/20190327.160602 submit/tizen/20190327.014939
Junseok, Kim [Wed, 27 Feb 2019 10:16:03 +0000 (19:16 +0900)]
e_policy_wl: add privilege check function for tzsh-softkey

Change-Id: I748159c4d73ecd6b11689526bf562b0e03008753

5 years agoremote_surface: manage consumers having multiple remote surface 69/201969/3
minjjj.kim [Thu, 21 Mar 2019 04:37:39 +0000 (13:37 +0900)]
remote_surface: manage consumers having multiple remote surface

Previous structure of hash which is storing consumer e_client was not considered
about multiple remote surface. This patch will improve and prevent predictable
malfunction when enlightenment handles consumers having multiple remote surface.

Change-Id: Ib5891e9b8254380429a6a8797197399ea368e99c

5 years agoe_service_gesture: prevent a single object from having multiple gestures 45/200245/5
jeon [Wed, 20 Feb 2019 11:57:04 +0000 (20:57 +0900)]
e_service_gesture: prevent a single object from having multiple gestures

Change-Id: Ib1b2e17556f5584e6bcc3bfcce22d807141c5fdc

5 years agoe_comp_screen: Add e_comp_screen_rotation_pre_set() API 53/202153/3 accepted/tizen/unified/20190327.025224 submit/tizen/20190326.072819
YoungJun Cho [Mon, 25 Mar 2019 09:04:26 +0000 (18:04 +0900)]
e_comp_screen: Add e_comp_screen_rotation_pre_set() API

This patch adds e_comp_screen_rotation_pre_set() API.

Change-Id: I663e69408605deaa8813cc657d38fc26c6a729eb
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
5 years agoe_devicemgr_inputgen: allow inputgenerator generate events using already connected... 24/200424/2
jeon [Mon, 25 Feb 2019 04:58:23 +0000 (13:58 +0900)]
e_devicemgr_inputgen: allow inputgenerator generate events using already connected devices

Change-Id: I0834d96c22e37b813378dd237385a586b78b911b

5 years agoe_hwc_windows: consider 24bit partial window when get visible windows list 64/202164/1
Changyeon Lee [Mon, 25 Mar 2019 09:49:58 +0000 (18:49 +0900)]
e_hwc_windows: consider 24bit partial window when get visible windows list

Change-Id: I0203704570cc33a903d292f87cc295222dfcd496

5 years agoe_hwc_window: set composition state when hwc_window is created 33/202133/4
Changyeon Lee [Mon, 25 Mar 2019 06:57:28 +0000 (15:57 +0900)]
e_hwc_window: set composition state when hwc_window is created

if set directly composition state, it is possible that
composition state of tdm_hwc_window isn't updated

Change-Id: I22cee2d791e5bb8a72ea80161fab37a468ba7a5c

5 years agoe_comp_wl_rsm: Support EClient capture 39/202039/5 accepted/tizen/unified/20190325.070954 submit/tizen/20190325.014313
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 17/201917/3 submit/tizen/20190322.093733
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 83/201883/3
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 82/201882/2
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 agoviewport: Export e_comp_wl_viewport_create() to service modules. 33/202033/2
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_client: add e_client_pos_set/get, e_client_size_set/get 18/201818/2 accepted/tizen/unified/20190321.062519 submit/tizen/20190320.115856
Doyoun Kang [Wed, 20 Mar 2019 01:37:02 +0000 (10:37 +0900)]
e_client: add e_client_pos_set/get, e_client_size_set/get

Change-Id: Ib39548edfd17a73764dec7b8a955b228a3c759f1

5 years agoadded config: canvas_render_delay_after_boot 01/201701/5
Juyeon Lee [Tue, 19 Mar 2019 03:31:23 +0000 (12:31 +0900)]
added config: canvas_render_delay_after_boot

no canvas update before client's commit request
begin rendering after 1st commit form normal window

Change-Id: I2b019b809321899e69ea3ca1c0530e1b3013f3c0

5 years agoe_keyrouter_wl: don't check the privilege for media keys only for or-excl grab 79/201779/2
jeon [Tue, 19 Mar 2019 10:17:14 +0000 (19:17 +0900)]
e_keyrouter_wl: don't check the privilege for media keys only for or-excl grab

  - capi-system-media-key provides key grabs for media keys in or-excl
    which is overridible-exclusive mode of grab. As most of the media
    keys are not harmful, we don't check the privilege for them.
    By the way, when it comes to exclusive mode of grab for them we need
    to check the privilege of it because they may seem not working when
    they're sent to the application which grabs them in exclusive mode.
    Therefore we must bypass the check of privilege only for or-excl
    mode of grab.

Change-Id: I9d07b22800bdaaa91d0e0f85bd0688314e50030f

5 years agoe_magnifier: add stand_alone mode 55/201755/2 accepted/tizen/unified/20190320.082328 submit/tizen/20190319.081004
Doyoun Kang [Tue, 19 Mar 2019 07:39:58 +0000 (16:39 +0900)]
e_magnifier: add stand_alone mode

Change-Id: I2c3a3f4f54acac0c2fb7643a87dd0e8d3bfcdd99