platform/upstream/enlightenment.git
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

5 years agoe_magnifier: update code for magnifier feature
Doyoun Kang [Mon, 18 Mar 2019 09:36:34 +0000 (18:36 +0900)]
e_magnifier: update code for magnifier feature

- add an owner of the magnifier
- handle move/resize event of smart members
- handle the splash launch image

Change-Id: I81a0f8718fa4d2ad878b3af89dbb49a74743242f

5 years agoe_msg : restore e_msg.c/h from opensource enlightenment 67/201067/3
Juyeon Lee [Fri, 8 Mar 2019 03:20:36 +0000 (12:20 +0900)]
e_msg : restore e_msg.c/h from opensource enlightenment

e_msg is intended to send/handle inter-module message communication
this origins by the commit 4fa5c6343c93b4f0e73ee52e06f017c74e4cb38e

Change-Id: Ieaeca3be3c247ed7bec132686d1e901266704fa2

5 years agoPackaging: remove unnecessary file (enlightenment.spec.in) 14/201614/1
Sung-Jin Park [Mon, 18 Mar 2019 07:46:25 +0000 (16:46 +0900)]
Packaging: remove unnecessary file (enlightenment.spec.in)

Change-Id: I02aa7649b5fbc2d28ab3553c3ae54a19c62a2e18
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoe_hwc_windows: set the DEVICE type by force when the ec is not redirected. 73/201473/3 accepted/tizen/unified/20190319.051301 submit/tizen/20190318.061002
SooChan Lim [Thu, 14 Mar 2019 09:45:38 +0000 (18:45 +0900)]
e_hwc_windows: set the DEVICE type by force when the ec is not redirected.

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

Change-Id: I5298d2a044f3c7ac08da2052321adfd04f8a2dee

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

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

Change-Id: Idc1991a453ed9a8003966a5727605d9a07ff26ce

5 years agoe_output: fix wrong checking visible state of ec 83/201383/2
Changyeon Lee [Wed, 13 Mar 2019 10:21:13 +0000 (19:21 +0900)]
e_output: fix wrong checking visible state of ec

Change-Id: Id9bad67dbbccc49b44317e575787db3cd0b1049c

5 years agoe_hwc_windows: check child of smart object when update visible windows 63/201163/4
Changyeon Lee [Tue, 12 Mar 2019 07:46:22 +0000 (16:46 +0900)]
e_hwc_windows: check child of smart object when update visible windows

quickpanel and some module use e_layout and pack ec to e_layout.
so hwc_windows should check child of smart object.

Change-Id: Idced158a036c713719f2b50c3f9b0f5c51ca2cb1

5 years agoe_hwc_windows: update state of visible windows if device available is changed 62/201162/4
Changyeon Lee [Thu, 14 Feb 2019 08:38:57 +0000 (17:38 +0900)]
e_hwc_windows: update state of visible windows if device available is changed

if device available of hwc and hwc_windows is changed, e20 should do validate hwc.

Change-Id: Ifee4ce6cd3e6a2077022f837883136c1445097e2

5 years agoe_comp_object: ref/unref tbm_surface when call native_surface_set 80/201080/4
Changyeon Lee [Tue, 5 Mar 2019 08:31:12 +0000 (17:31 +0900)]
e_comp_object: ref/unref tbm_surface when call native_surface_set

Change-Id: Ib8512fa03b2adedd84089b514c48da4bb380dde3

5 years agoremote_surface: send prebind when bind_ec is called by E_EVENT_CLIENT_SHOW 26/201026/6
Changyeon Lee [Wed, 6 Mar 2019 11:36:42 +0000 (20:36 +0900)]
remote_surface: send prebind when bind_ec is called by E_EVENT_CLIENT_SHOW

Change-Id: I8e70354b862edd95e70d847a447dd3ff3f6460e9

5 years agoe_policy: fix bug for handling iconify/uniconify fully-obscured window 10/201410/1 accepted/tizen/unified/20190314.220502 submit/tizen/20190314.002211
Doyoun Kang [Wed, 13 Mar 2019 08:56:29 +0000 (17:56 +0900)]
e_policy: fix bug for handling iconify/uniconify fully-obscured window

There was a bug that the fully-obscured window was not iconified in visibility hook.
If a skip_iconify window is placed above on the fully-obsucred window, then the fully-obscured
window could not be iconified because the skip_iconify window is not considered to find above window.

So, If below case, "win B" is not iconified and could get the focus wrong.

[top]
Win A (24 bit skip_iconify)
Win B (24 bit fully-obscured, but not iconic)
[bottom]

Change-Id: Ibd72f426d68661b9f767914db6f64915959adaad

5 years agoe_comp_wl_shell: remove unnecessary comment. 60/201160/1 sandbox/headless/master sandbox/inputhacker/devel sandbox/lsj119/devel accepted/tizen/unified/20190311.072549 submit/tizen/20190311.043722
Seunghun [Mon, 11 Mar 2019 04:35:34 +0000 (13:35 +0900)]
e_comp_wl_shell: remove unnecessary comment.

Change-Id: I85be47c848d00f9891f91bd0253018274c44784b

5 years agoe_comp_wl_shell: 'ec->comp_data->shell.surface' has to be NULL. 59/201159/1
Seunghun [Mon, 11 Mar 2019 04:26:54 +0000 (13:26 +0900)]
e_comp_wl_shell: 'ec->comp_data->shell.surface' has to be NULL.

It is to prevent for 'E_Shell_Surface_Api' functions to be called from outside.

Change-Id: I257c1ef1d6db7dffd86a43aa2349b195f8eb55ca

5 years agoe_util_transform.c/h: change file not executable 60/201060/1 submit/tizen/20190308.051425
Juyeon Lee [Fri, 8 Mar 2019 01:04:47 +0000 (10:04 +0900)]
e_util_transform.c/h: change file not executable

Change-Id: Iea81d2618d6e94744f5f5b10c185601741d0a961

5 years agoe_hwc: fix the build break 54/201054/1 submit/tizen/20190307.084014
SooChan Lim [Thu, 7 Mar 2019 23:45:49 +0000 (08:45 +0900)]
e_hwc: fix the build break

Change-Id: I1df5e772b3c7334bcf5548f1ebb97269f8db54dc

5 years agoe_policy_wl: fix typo 31/201031/2
Junseok, Kim [Thu, 7 Mar 2019 08:41:08 +0000 (17:41 +0900)]
e_policy_wl: fix typo

Change-Id: Ifc79ebd97f5287214419b6add1a14e7860a8c67c

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

Change-Id: Iba6c65cb1a953fa9cd7e5fb27eada5c16d5d2ec7

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

Change-Id: I33f8f878a318a6ff7d80d5dbce9f4aae5dbe0bc5

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

Change-Id: I56b207369565d0519189106ebb8efd207f455d0e

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

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

Change-Id: I88cbd2f2d6b967fda1e6ab2443d42c033b277d48

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

Change-Id: I80723a9252ad399bda870430f75b2d81779847f4

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

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

Change-Id: I65ab8e0dc9aefd373594996ac6331041a1f9fc52

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

Change-Id: I38b30d0bc24e29af696291514f2905f8953eb473

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

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

Change-Id: I1769c03bc9ee81885d66a6a299f437dab1d5f088

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

it's a dead code.

Change-Id: I1597a20b337d7954aaa2b4d30c654907356cd396

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

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

Change-Id: I8721877b21579389fd43a047070f5da1884e7680

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

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

Change-Id: I0fd5012d49c2df39a8f08b141a0c4b391d0b517c

5 years agotitle: send E_EVENT_CLIENT_PROPERTY when title changed 16/200816/2
Juyeon Lee [Mon, 4 Mar 2019 12:22:23 +0000 (21:22 +0900)]
title: send E_EVENT_CLIENT_PROPERTY when title changed

if zxdg_toplevel_v6 requests title_set than, while evaluating sends e event
   so E modules can handle specific window exceptions refer title

Change-Id: Ic459e7a1040e1178730fe40b9cb6c9b1d47e2567
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>