platform/upstream/enlightenment.git
5 years agoe_client: eval aux hints for clients which is ignored but commit made 45/208245/5
Juyeon Lee [Thu, 20 Jun 2019 08:42:47 +0000 (17:42 +0900)]
e_client: eval aux hints for clients which is ignored but commit made

remote surface providers usally updates in offscree but
its state is assigned as ignored
handle such clients to have event E_CLIENT_HOOK_AUX_HINT_CHANGE

Change-Id: I5c5696de1688b18c8cc68978142f7fb90f28a123

5 years agoe_policy/policy_wl: modify handing aux hint 64/208864/3
Doyoun Kang [Mon, 1 Jul 2019 04:17:50 +0000 (13:17 +0900)]
e_policy/policy_wl: modify handing aux hint

There was a bug that the aux hint code was handled many times
and the aux_hint_allowed event was sent more than once in some case.
So, we modified code that e_policy handles an aux hint once
and sends an aux_hint_allowed event once.

Change-Id: I5a59fc9427296054f3d5fe085a1422d2b78a717b

5 years agohwc: set wait_commit before do commit 64/208764/3
Changyeon Lee [Fri, 28 Jun 2019 07:29:53 +0000 (16:29 +0900)]
hwc: set wait_commit before do commit

it is possible that commit handler is called inside
tdm_layer_commit or hwc_commit.

Change-Id: I984d3afdbf14deda9dfb45fae70e7bd80b7aac0f

5 years agoe_plane: add valid check for commit_data 59/208759/3
Changyeon Lee [Thu, 27 Jun 2019 09:38:23 +0000 (18:38 +0900)]
e_plane: add valid check for commit_data

Change-Id: Ieb03380b49e5647138465aab6745c7f6cb67247f

5 years agoe_hints: change return value of e_hints_aux_hint_add_with_pixmap 46/208746/2
Doyoun Kang [Thu, 27 Jun 2019 11:46:49 +0000 (20:46 +0900)]
e_hints: change return value of e_hints_aux_hint_add_with_pixmap

We changed the return value of e_hints_aux_hint_add_with_pixmap() to true
if the aux hint id was already exist.

Change-Id: I91a321c5b820faf348679e60ec74a27ac9a9086e

5 years agoe_hwc_windows: add null check for tbm_surface of target window 17/208617/2
Changyeon Lee [Wed, 26 Jun 2019 12:08:49 +0000 (21:08 +0900)]
e_hwc_windows: add null check for tbm_surface of target window

Change-Id: I5f7697a7bfbbd9882751f2cd9f39292b9c55ad6d

5 years agoe_serivce_launcher : support launcher service 60/207960/6 accepted/tizen/unified/20190627.115212 submit/tizen/20190627.023120
MinJeong Kim [Wed, 12 Jun 2019 11:02:16 +0000 (20:02 +0900)]
e_serivce_launcher : support launcher service

e_serivce_launcher supports a launcher application who proccesses launching
animation. The launcher application should be privileged to be assigned
a role of launcher service and if the launcher is passed the privilege test,
enlightenment would accepts connection of tws_launcher_service from the launcher.
The launcher application and enlightenment are able to control launching
animation with those connection.

Change-Id: I86366ee188dc8f431a2405f4f2c2f3b6fae308ab
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoremote_surface: get remote buffer from native surface 20/207420/4
MinJeong Kim [Tue, 4 Jun 2019 10:59:14 +0000 (19:59 +0900)]
remote_surface: get remote buffer from native surface

enlightenment has replied nothing if there's no buffer on the pixmap of
remote provder/source E_Client when a remote surface requests 'redirect' or
'get_current_buffer' even if there's available tbm_surface still.

enlightenment will send to client a remote buffer which is  extracted from
available tbm_surface instead of no-reply with this patch.

Change-Id: Ice7c2a0f436c2acc9a931c3480d9f35401405939
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy_visibility: added grab filter 48/207348/8
MinJeong Kim [Mon, 3 Jun 2019 10:27:41 +0000 (19:27 +0900)]
e_policy_visibility: added grab filter

Added type variable for visibility grab to identify that a visibility grab is for
what types of visibility job.

Change-Id: Ia8051aa5fbf5ed1ea20f528526178cf64d05b20b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy_visibility: added new hook points and check grab for lower,hide job 62/206962/11
MinJeong Kim [Tue, 28 May 2019 08:13:31 +0000 (17:13 +0900)]
e_policy_visibility: added new hook points and check grab for lower,hide job

- E_POL_VIS_HOOK_UNICONIFY_RENDER_RUNNING hook point is newly added. This
can inform someone that, enlightenment is waiting for render process
in order to uniconify an E_Client. And it means 'someone' who subscribes this
hook point is able to know uniconify process of the E_Client is in pending state.

- E_POL_VIS_HOOK_LOWER hook point is newly added. This hook point provides
a chance that someone can grab 'lower' job.

- E_POL_VIS_HOOK_HIDE hook point is newly added. This hook point provides
a chance that someone can grab 'hide' job.

- additional check for grab on lower API.
- additional check for grab on hide interceptor callback.

Change-Id: I6a928e782fbdca25c789dd25efd568d51afbe37e
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_dpms: if dpms set failed send fail event to wl_client immediately 15/208615/1
Junkyeong Kim [Wed, 26 Jun 2019 11:46:01 +0000 (20:46 +0900)]
e_dpms: if dpms set failed send fail event to wl_client immediately

Change-Id: Iaf36baf084b5c96c449ecb8130ab3d76d8aab456
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_client: Do not cacluate the base_output_resolution transform of the parent_ec 10/208610/1
SooChan Lim [Wed, 26 Jun 2019 10:27:30 +0000 (19:27 +0900)]
e_client: Do not cacluate the base_output_resolution transform of the parent_ec

Do not calcuate the base_output_resolution transform of the parent_ec
when the ec is a subsurface of the parent_ec and when the ec calculate the transform matrix.

Change-Id: I2073621a15ad70424503c6b537bd5bf5b8239324

5 years agoe_hwc_window: set client type when e_comp_client_override_add 90/208290/2 accepted/tizen/unified/20190625.051508 submit/tizen/20190624.092820
Changyeon Lee [Fri, 21 Jun 2019 06:40:38 +0000 (15:40 +0900)]
e_hwc_window: set client type when e_comp_client_override_add

Change-Id: I23da16a414bb00aa3731ae20df67eff0c95b4e39

5 years agoe_hwc_window: add trace log in e_hwc_window_info_update 41/208241/2
Changyeon Lee [Thu, 20 Jun 2019 07:50:39 +0000 (16:50 +0900)]
e_hwc_window: add trace log in e_hwc_window_info_update

Change-Id: I3294a537504ad74296a97a298b8545f10d50ef6c

5 years agoe_hwc_window: consider transform of client when setting info 40/208240/3
Changyeon Lee [Wed, 19 Jun 2019 06:55:30 +0000 (15:55 +0900)]
e_hwc_window: consider transform of client when setting info

Change-Id: Icf5413c9c6f5a05134a9ac8c8c41a4b00cd2dbbd

5 years agoe_output: add the api for the output property 44/208444/3
SooChan Lim [Mon, 24 Jun 2019 05:56:52 +0000 (14:56 +0900)]
e_output: add the api for the output property

add the apis below.
E_API Eina_Bool           e_output_available_properties_get(E_Output *output, const output_prop **props, int *count);
E_API Eina_Bool           e_output_property_get(E_Output *output, unsigned int id, output_prop_value *value);
E_API Eina_Bool           e_output_property_set(E_Output *output, unsigned int id, output_prop_value value);

Change-Id: I6da9b84c091b8c42f14c008ddd8bb48ac897f00e

5 years agoe_client: added skip base_output_resolution_set conditions. 93/208393/3
Junseok, Kim [Mon, 24 Jun 2019 03:52:17 +0000 (12:52 +0900)]
e_client: added skip base_output_resolution_set conditions.

if the window size is same with base output resolution, then it's no need to set base output resolution.
And, if size from appinfo is zero(means the client want maximum size), then it's also no need to set base output resolution.

Change-Id: I71542adf7fee3096a3eb2bc9a4baa9f715ee130e
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_comp_wl_rsm/e_client: capture window in e_client_iconify 28/208428/1
Doyoun Kang [Mon, 24 Jun 2019 07:51:30 +0000 (16:51 +0900)]
e_comp_wl_rsm/e_client: capture window in e_client_iconify

Window was captured in E_CLIENT_HOOK_ICONIFY hook function.
We move this code into e_client_iconify function.

For this change, the capture thread can run before calling evas_object_hide(ec->frame).
So, buffer reference count is not dropped to 0 until finishing capture window.

Change-Id: Ic118feb753ce62ea9cb38733a4bae2f980504c05

5 years agoe_comp_wl_tbm: support creation of remote buffer from tbm_surface 83/207383/2
MinJeong Kim [Tue, 4 Jun 2019 07:43:25 +0000 (16:43 +0900)]
e_comp_wl_tbm: support creation of remote buffer from tbm_surface

Change-Id: I84b8f4969a93a860bbc3c701f4ba85596d45e49a
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy: added new animatable lock type CUSTOMIZED 68/206968/2
MinJeong Kim [Wed, 29 May 2019 12:28:03 +0000 (21:28 +0900)]
e_policy: added new animatable lock type CUSTOMIZED

Change-Id: I85200f99df0d2b94757989f1d2df6d1a97cab25b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_comp_screen: set input rotation for a device added at runtime 26/208226/1 accepted/tizen/unified/20190620.123700 submit/tizen/20190620.065540
Sung-Jin Park [Thu, 20 Jun 2019 05:44:18 +0000 (14:44 +0900)]
e_comp_screen: set input rotation for a device added at runtime

Change-Id: Ic66bfa71c8f330a4c23213a51b0de5225e5bffd2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoe_comp_wl: code cleanup (remove hardcode) 43/208143/1
Doyoun Kang [Wed, 19 Jun 2019 01:19:15 +0000 (10:19 +0900)]
e_comp_wl: code cleanup (remove hardcode)

Change-Id: I4841d24d50e5581c96be31f2e37918a2a7de9bf3

5 years agoe_client: add transform core of base output resolution if it is needed 03/208103/1 accepted/tizen/unified/20190618.110341 submit/tizen/20190618.082543
Changyeon Lee [Tue, 18 Jun 2019 05:30:12 +0000 (14:30 +0900)]
e_client: add transform core of base output resolution if it is needed

if base output resolution and desk geometry is same, transform isn't needed.
unnecessary transform affect rendering fps of compositor.

Change-Id: I6fe72385da3b4be3177238fc46e76cc98ef98ccf

5 years agoe_hwc_windows: consider transform of client when getting visible_windows 02/208102/2
Changyeon Lee [Tue, 18 Jun 2019 08:05:22 +0000 (17:05 +0900)]
e_hwc_windows: consider transform of client when getting visible_windows

e_client_geometry_get api checks transform of client

Change-Id: If0e49122c0296797deb309507a27d663c22568c6

5 years agoe_hwc_window: allow device type if ec only has transform of base_output_resolution 01/208101/2
Changyeon Lee [Tue, 18 Jun 2019 06:29:01 +0000 (15:29 +0900)]
e_hwc_window: allow device type if ec only has transform of base_output_resolution

Change-Id: I3d3b4dbccd83e27178367c240263f3b6d99d3ba0

5 years agoe_dpms: send wl-dpms set event to client 34/208034/5
Junkyeong Kim [Mon, 17 Jun 2019 10:21:45 +0000 (19:21 +0900)]
e_dpms: send wl-dpms set event to client

before send dpms set event to client only e_output_dpms_async function executed.
but now send all dpms set evnet to client regardless of e_output_dpms_set sync or async.

use ecore_timer to send the event to client when e_output_dpms_set is not responded.

Change-Id: I6e9ac0f132648a111a2f593d9d35a7a5ddcda557
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_info_server: print ec's geometry as transformed geomtery 94/208094/1
Junseok, Kim [Tue, 18 Jun 2019 07:19:00 +0000 (16:19 +0900)]
e_info_server: print ec's geometry as transformed geomtery

Change-Id: I19029307fe2abc752a4576171c8d69c604e085a3

5 years agoe_client: decide scale size with base_output_resolution size 93/208093/2
Junseok, Kim [Tue, 18 Jun 2019 07:15:21 +0000 (16:15 +0900)]
e_client: decide scale size with base_output_resolution size

Change-Id: Ia6a90c0079dd5b9ead65fb1eaebd7053e25f2062

5 years agoe_comp_wl_shell: send signal when a window is mapped/unmapped 30/208030/1
Doyoun Kang [Mon, 17 Jun 2019 09:18:39 +0000 (18:18 +0900)]
e_comp_wl_shell: send signal when a window is mapped/unmapped

When a window is mapped, "e,state,map" signal is sent.
Like this, "e,state,unmap" signal is sent when a window is unmapped.

Change-Id: I16d4872577e7f72cba517d4a20c878373cec7044

5 years agoe_hwc_windows: don't check transition if pixmap doesn't have resource 76/207776/4 accepted/tizen/unified/20190617.112012 submit/tizen/20190614.071615
Changyeon Lee [Wed, 12 Jun 2019 08:59:35 +0000 (17:59 +0900)]
e_hwc_windows: don't check transition if pixmap doesn't have resource

rotation module set NULL to resource of pixmap when module doesn't
want to update until rotation is done.
it is possible that state of hwc_window is CLIENT but compositor
doesn't render it.

Change-Id: Id18967445d569b253047e9edff6375a63a041633

5 years agoe_hwc_widnows: evaluate and update windows even if norender is pushed 75/207775/3
Changyeon Lee [Wed, 12 Jun 2019 08:50:04 +0000 (17:50 +0900)]
e_hwc_widnows: evaluate and update windows even if norender is pushed

Change-Id: Ideec6c657655ba4cfa618500ffdb8953ee26e1d0

5 years agovideo: It should keep checking 'video_client' flag for E module implementation. 10/207910/4
Seunghun Lee [Fri, 14 Jun 2019 02:35:25 +0000 (11:35 +0900)]
video: It should keep checking 'video_client' flag for E module implementation.

In case of HWC Planes mode, 'video_client' flag is still important to
manage its composition.

Change-Id: I1bd37f7fcb8e49aa80505f433200db8f268671fe

5 years agoe_policy: add hooks for iconify/uniconify requests by client 98/207898/1
Doyoun Kang [Fri, 14 Jun 2019 00:54:00 +0000 (09:54 +0900)]
e_policy: add hooks for iconify/uniconify requests by client

Change-Id: I2809ca50611907134aa96243e9dc5af76bec18ea

5 years agoe_policy_visibility: changes on e_vis_ec_below_uniconify() 74/207674/3 accepted/tizen/unified/20190613.235742 submit/tizen/20190613.092423
Juyeon Lee [Mon, 27 May 2019 09:47:51 +0000 (18:47 +0900)]
e_policy_visibility: changes on e_vis_ec_below_uniconify()

if the ec is not fullfilling the screen, no needs to wait
below clients' uniconify

Change-Id: If9a81f09ab18a7496b7502b68918fad02ede949f
(cherry picked from commit 4421679ef34a3472fcb6c18e3ea11bd020f9dcf1)

5 years agovideo: A composite object for video client has to be punched if it's laid above main... 45/207745/2
Seunghun Lee [Tue, 14 May 2019 06:44:19 +0000 (15:44 +0900)]
video: A composite object for video client has to be punched if it's laid above main client.

Otherwise, Video contents which is displayed through underlay would not
be displayed on screen, because underlay is possibly covered with contents of
primary plane.

Change-Id: I31359e93936eb161ee7063fdcac122ed4e5154a9

5 years agovideo: For code readability of mask_update() function. 44/207744/2
Seunghun Lee [Tue, 14 May 2019 05:49:41 +0000 (14:49 +0900)]
video: For code readability of mask_update() function.

Change-Id: I370d30b9abddd54eafe1d998b57eb881851a605b

5 years agovideo: Render video buffer again when video client becomes visible. 43/207743/2
Seunghun Lee [Tue, 14 May 2019 05:14:07 +0000 (14:14 +0900)]
video: Render video buffer again when video client becomes visible.

Change-Id: Idd37e121e6fbf43e6689196a58104199ab258f54

5 years agovideo: Unset mask object when it's not neccessary anymore. 42/207742/2
Seunghun Lee [Tue, 14 May 2019 05:04:17 +0000 (14:04 +0900)]
video: Unset mask object when it's not neccessary anymore.

Change-Id: I5c923f6c7f919ce6e9a200e9fa2702026e8cde47

5 years agovideo: Don't make a call e_pixmap_image_clear() in spite of no damage when it comes... 41/207741/2
Seunghun Lee [Tue, 14 May 2019 04:14:38 +0000 (13:14 +0900)]
video: Don't make a call e_pixmap_image_clear() in spite of no damage when it comes to hwc video client.

Since E20 don't mark damages on e_comp_object when it comes to
'E_COMP_WL_BUFFER_TYPE_VIDEO', so it shouldn't make a call e_pixmap_image_clear(TRUE).
It will be handled by video implementation.

Change-Id: I05eb5e065e59fa927816593025b29be309a05e6f

5 years agovideo: Changed timing to send 'wl_surface.frame' message for hwc video client. 40/207740/2
Seunghun Lee [Tue, 14 May 2019 03:45:35 +0000 (12:45 +0900)]
video: Changed timing to send 'wl_surface.frame' message for hwc video client.

This patch gives a video client chance to throttle drawing its framebuffer with
framerate under compositor's capable.

Change-Id: I97922f6b47cfab25bbbafd0fd72dff48b12ad3eb

5 years agoe_comp_wl: add the ratio_h and ratio_w variables 62/207762/2
SooChan Lim [Wed, 12 Jun 2019 06:34:09 +0000 (15:34 +0900)]
e_comp_wl: add the ratio_h and ratio_w variables

Change-Id: Ia7be98c97f8a276d437469c6c8af64b0c9f05fc3

5 years agoe_comp_wl: Remove obsolete variable and function. 62/207662/1
Seunghun Lee [Wed, 5 Jun 2019 10:50:50 +0000 (19:50 +0900)]
e_comp_wl: Remove obsolete variable and function.

There is no where setting 'need_commit_extern_parent' as true.

Change-Id: I801b2f5bb74f11c26d2759fe60894eccc7773597

5 years agoe_comp_wl_subsurface: Added separate files for a subsurface implementation. 39/207439/2
Seunghun Lee [Tue, 4 Jun 2019 09:21:19 +0000 (18:21 +0900)]
e_comp_wl_subsurface: Added separate files for a subsurface implementation.

Change-Id: I5cd8863238aea0db2e6bba60bb56cbd8404e38cf

5 years agoe_test_helper: support multi event 65/200765/7 accepted/tizen/unified/20190610.082633 submit/tizen/20190607.045805 submit/tizen/20190610.041752
Junseok, Kim [Thu, 14 Feb 2019 08:22:41 +0000 (17:22 +0900)]
e_test_helper: support multi event

Change-Id: Ied61f322962d56ab43ce08dc8e10e72890fb4ece

5 years agoe_comp_wl_capture: modify internal function name
Doyoun Kang [Wed, 5 Jun 2019 01:41:07 +0000 (10:41 +0900)]
e_comp_wl_capture: modify internal function name

Change-Id: Id4a8266f0fbc146d0c33ff660652646547c6adf5

5 years agoe_dpms: fix typo
Junkyeong Kim [Tue, 4 Jun 2019 10:26:17 +0000 (19:26 +0900)]
e_dpms: fix typo

Change-Id: I3d93097dde9d60f94a348d92e09ccfcc35626c86

5 years agoe_devicemgr_inputgen: change file permission 28/207428/1
Doyoun Kang [Tue, 4 Jun 2019 11:35:45 +0000 (20:35 +0900)]
e_devicemgr_inputgen: change file permission

Change-Id: Ifdc620ee115f5ca04639b248f52d286af172e162

5 years agoe_devicemgr: support wheel/touch axis events generation 55/200455/10 accepted/tizen/unified/20190604.081911 submit/tizen/20190603.081230
jeon [Mon, 25 Feb 2019 08:06:38 +0000 (17:06 +0900)]
e_devicemgr: support wheel/touch axis events generation

  - New request for generation axis is added to input generator.
  - Using this request, input generator generate wheel / touch axis events.

Change-Id: I3f0631f4a92df7fd3a4f36f868ce562606663c3b

5 years agovideo: Revert removal of 'video_client' from 'E_Comp_Wl_Client_Data'. 46/207246/1 accepted/tizen/unified/20190603.095151 submit/tizen/20190530.022318 submit/tizen/20190531.051925
Seunghun Lee [Fri, 31 May 2019 05:12:32 +0000 (14:12 +0900)]
video: Revert removal of 'video_client' from 'E_Comp_Wl_Client_Data'.

This patch fixes build break for E modules.

Change-Id: I21144d42b817e48b440df2960b4e34d549b3bb85

5 years agoe_info: fixed a warning 05/207005/1
Gwanglim Lee [Thu, 30 May 2019 02:08:16 +0000 (11:08 +0900)]
e_info: fixed a warning

Change-Id: Id0bcee7a5f59a2a4c0278ab02e35317450f71de2

5 years agoe_info: print topvwins gl available(with engine config) 86/206286/5
Juyeon Lee [Thu, 16 May 2019 04:58:01 +0000 (13:58 +0900)]
e_info: print topvwins gl available(with engine config)

and remove code not using

Change-Id: Ied52ca19a6bc3a75a2107dab08d8166ab075f9d0

5 years agoe_comp_wl: automic move/resize - remove unnecessary code 43/206643/2
Juyeon Lee [Wed, 22 May 2019 10:45:40 +0000 (19:45 +0900)]
e_comp_wl: automic move/resize - remove unnecessary code

Change-Id: If490b0602b76683a131f6902d6a1dc59435e76c8

5 years agoe_policy_wl: show launchscreen when all requests(launch, owner) are ready 76/206276/4
Juyeon Lee [Thu, 16 May 2019 03:30:16 +0000 (12:30 +0900)]
e_policy_wl: show launchscreen when all requests(launch, owner) are ready

Change-Id: Icb3454c35ec07564e6b2c3f3a0308262a0ea0e7a

5 years agoe_dpms: do not set dpms if e_output is disconnected 34/206934/3
Junkyeong Kim [Wed, 29 May 2019 07:21:08 +0000 (16:21 +0900)]
e_dpms: do not set dpms if e_output is disconnected

Change-Id: I668c6f5de18570109ac058324bc8fc34286eb1c2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_dpms: send dpms set result event if e_output use async dpms set 23/206923/5
Junkyeong Kim [Wed, 29 May 2019 04:44:16 +0000 (13:44 +0900)]
e_dpms: send dpms set result event if e_output use async dpms set

use e_output hook call to catch async dpms set done.

Change-Id: Ie7aa034a883549f2acee4d81a3c3dc36113fb8ab
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_dpms: manage dpms wayland global resource 20/206920/3
Junkyeong Kim [Wed, 29 May 2019 04:35:02 +0000 (13:35 +0900)]
e_dpms: manage dpms wayland global resource

Change-Id: I51097463e41d9bd4108273f4aab97641036c478d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: add e_output_dpms_async_check function 10/206910/3
Junkyeong Kim [Tue, 28 May 2019 10:07:06 +0000 (19:07 +0900)]
e_output: add e_output_dpms_async_check function

check supporting async dpms set or not

Change-Id: I4b8c496acf0604ae659c48b0e06986a028841948
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: support tdm async dpms set 64/206864/2
Junkyeong Kim [Tue, 28 May 2019 08:40:40 +0000 (17:40 +0900)]
e_output: support tdm async dpms set

if tdm support async dpms set, use tdm_output_set_dpms_async function.(TDM_OUTPUT_CAPABILITY_ASYNC_DPMS)

Change-Id: I0749c718c389dc1d2927b5b7d875faf6687c3011
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_eom: erase unnecessary condition 10/206810/2
Junkyeong Kim [Mon, 27 May 2019 10:40:49 +0000 (19:40 +0900)]
e_eom: erase unnecessary condition

Change-Id: If5f5cd4304e9c7c624cb98d5f08fedc83dc0d006
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_client_video: Lower log level(DEBUG) for API entry to reduce noise levels. 69/206169/7
Seunghun Lee [Fri, 10 May 2019 06:08:09 +0000 (15:08 +0900)]
e_client_video: Lower log level(DEBUG) for API entry to reduce noise levels.

Change-Id: I2a252c085daea385e0886c99a8c72e1909c610b3

5 years agovideo: Remove workaround code, it's not necessary anymore. 68/206168/7
Seunghun Lee [Wed, 8 May 2019 11:11:51 +0000 (20:11 +0900)]
video: Remove workaround code, it's not necessary anymore.

Change-Id: I990cade7c22007bae86b715922cde5ae2ec96826

5 years agovideo: Remove unnecessary include files. 67/206167/7
Seunghun Lee [Wed, 8 May 2019 10:59:14 +0000 (19:59 +0900)]
video: Remove unnecessary include files.

Change-Id: Ie5af2a191f8e38edccddb8a1fc58161a34f0e6cc

5 years agovideo:e_comp_wl_video: Remove unused attribute from 'E_Video' 66/206166/7
Seunghun Lee [Wed, 8 May 2019 10:47:16 +0000 (19:47 +0900)]
video:e_comp_wl_video: Remove unused attribute from 'E_Video'

Change-Id: Ie4b5d677a914db62076890a8f4e833fef3bbdc5f

5 years agovideo:e_comp_wl_video: Add event handler for E_EVENT_CLIENT_REMOVE when create video... 65/206165/7
Seunghun Lee [Wed, 8 May 2019 10:44:36 +0000 (19:44 +0900)]
video:e_comp_wl_video: Add event handler for E_EVENT_CLIENT_REMOVE when create video object.

Change-Id: I1255354e90a529d071df00647dc6525fb6e10783

5 years agovideo:e_comp_wl_video: Use common log macro. 64/206164/8
Seunghun Lee [Wed, 8 May 2019 10:18:33 +0000 (19:18 +0900)]
video:e_comp_wl_video: Use common log macro.

Change-Id: I2ee155958e9a0f95b701bff97416d8eeeacec28b

5 years agovideo: Remove unused attribute 'allow_attribute'. 63/206163/8
Seunghun Lee [Wed, 8 May 2019 06:46:47 +0000 (15:46 +0900)]
video: Remove unused attribute 'allow_attribute'.

It's handled by 'E_Client_Video'

Change-Id: I4fd4daa870ea5c2a3d1916fa55eca0020ceb8ef9

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