platform/upstream/enlightenment.git
7 years agoe_plane: clear info and unset_try of plane changed to fb_target 58/137458/3
Changyeon Lee [Thu, 6 Jul 2017 04:12:26 +0000 (13:12 +0900)]
e_plane: clear info and unset_try of plane changed to fb_target

Change-Id: I29f010399eb19dd68015acd5eb9670044875052a

7 years agoe_policy_wl: aux hint wm.policy.win.deiconify.update 64/138064/2
Juyeon Lee [Tue, 11 Jul 2017 03:03:06 +0000 (12:03 +0900)]
e_policy_wl: aux hint wm.policy.win.deiconify.update

wm.policy.win.deiconify.approve.disable is replaced with this name,
to extend its functionaly, noly only disabling but also pending job for
deiconify render

Change-Id: I12f897691fcbf0e33c3dd87a4d02149b20520180

7 years agoe_client: add deiconify_update at exp_iconify of E_Client 31/137931/6
Juyeon Lee [Mon, 10 Jul 2017 09:22:53 +0000 (18:22 +0900)]
e_client: add deiconify_update at exp_iconify of E_Client

Display server will wait client render when deiconify_update is set 1

Change-Id: I7d863f7bdc4cca4e623ae1bb9ce261994360e7ad

7 years agoe_info: remove unreachable code 89/138089/2
Sangjin Lee [Tue, 11 Jul 2017 04:47:11 +0000 (13:47 +0900)]
e_info: remove unreachable code

USE_WAYLAND_LOGGER is always true. so remove useless code.

Change-Id: Ie25707f7c9262438f0f69c2322348dfb98562d29

7 years agoe_info: use wl_client_for_each_resource() 29/138029/2
Sangjin Lee [Tue, 11 Jul 2017 01:17:35 +0000 (10:17 +0900)]
e_info: use wl_client_for_each_resource()

wl_client_get_resources() is tizen api,
so use wl_client_for_each_resource() instead of wl_client_get_resources()

Change-Id: Ia8c5d6b94df5a54b5c1374a0ec0bb82b36757e1f

7 years agoe_info: use wl_resource_get_class() 28/138028/2
Sangjin Lee [Tue, 11 Jul 2017 00:50:53 +0000 (09:50 +0900)]
e_info: use wl_resource_get_class()

wl_resource_get_name() is tizen api,
so use wl_resource_get_class() instead of wl_resource_get_name()

Change-Id: I2a9cbe8cf51a696eee9bcb2dc913dbcb1d5e2c24

7 years agoe_plane: add _e_plane_pp_layer_commit to avoid memory leak 17/138017/2
Junkyeong Kim [Tue, 11 Jul 2017 01:02:45 +0000 (10:02 +0900)]
e_plane: add _e_plane_pp_layer_commit to avoid memory leak

Change-Id: I41b7d47991680e27566102f3957a553d98d06bec
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_policy_wl: hide launchscreen if cursor role is set 21/137921/3 accepted/tizen/unified/20170711.180802 submit/tizen/20170710.122732
Juyeon Lee [Mon, 10 Jul 2017 08:59:32 +0000 (17:59 +0900)]
e_policy_wl: hide launchscreen if cursor role is set

Change-Id: I1d9658ad0b73b0dbaefec4b8f4ee68497d19135a

7 years agoe_comp_screen : update wl_seat capabilities for keyboard/touch device deletion 77/137877/1
Sung-Jin Park [Mon, 10 Jul 2017 07:24:43 +0000 (16:24 +0900)]
e_comp_screen : update wl_seat capabilities for keyboard/touch device deletion

Change-Id: Ie39a5bd83651401ab0882552e7358251c6885f13
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
7 years agoe_output: initialize the w and h. 06/137806/1
SooChan Lim [Mon, 10 Jul 2017 01:28:33 +0000 (10:28 +0900)]
e_output: initialize the w and h.

Change-Id: Ic6b1a092d851f5b4b9d2c8cf76046bccb1591365

7 years agoe_desk: add pp zoom 82/137482/2
Junkyeong Kim [Thu, 6 Jul 2017 06:07:23 +0000 (15:07 +0900)]
e_desk: add pp zoom

Change-Id: I063227ff678e35723f54e0d7978f583c29da8923
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_output: support zoom rotation 80/137480/2
Junkyeong Kim [Thu, 6 Jul 2017 06:04:11 +0000 (15:04 +0900)]
e_output: support zoom rotation

showing similar init coordinate area after rotating.

Change-Id: Ic6d4682f328fbf51574f273b892f0ccf9d09fdf4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_output: add e_output_zoom_set and unset function 77/137477/2
Junkyeong Kim [Thu, 6 Jul 2017 05:59:58 +0000 (14:59 +0900)]
e_output: add e_output_zoom_set and unset function

use e_plane pp_commit for pp_zoom.
use ecore_drm_device_touch_transformation_set to change touch area.

Change-Id: I387a77edab37d2db504f6832c58d8505853f0e6b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_plane: add e_plane_zoom_set and e_plane_zoom_unset function 75/137475/2
Junkyeong Kim [Thu, 6 Jul 2017 05:54:09 +0000 (14:54 +0900)]
e_plane: add e_plane_zoom_set and e_plane_zoom_unset function

Change-Id: I790889a37fefb4d038ea4b6c6d0a74f72489d17b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_plane: add e_plane_pp_commit function 76/137376/3
Junkyeong Kim [Wed, 5 Jul 2017 11:13:30 +0000 (20:13 +0900)]
e_plane: add e_plane_pp_commit function

use additional scanout tbm_surface_queue for pp converting.
working sequence: pp convert -> set buffer, commit
use pp converting pending list and pp commit pending list.

Change-Id: I79ae2b3b4eae9cd8f9e886224887af343020f2f5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_config: add use_pp_zoom flag 67/137367/2
Junkyeong Kim [Wed, 5 Jul 2017 10:37:11 +0000 (19:37 +0900)]
e_config: add use_pp_zoom flag

Change-Id: I644c97ac465f14be2b88fc82758cea60dd275a57
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agocode cleanup (EAPI -> E_API) 39/137639/1
Doyoun Kang [Fri, 7 Jul 2017 02:24:51 +0000 (11:24 +0900)]
code cleanup (EAPI -> E_API)

Change-Id: Ib9a0d7fa24d385ff2b0bf24cb9d0b1bec694e8b2

7 years agoe_comp_screen: do not rotate pointer in e_comp 46/137246/3
JengHyun Kang [Wed, 5 Jul 2017 05:28:46 +0000 (14:28 +0900)]
e_comp_screen: do not rotate pointer in e_comp

  - rotates pointer in ecore_evas_drm engine
  - e_pointer calculate only window rotation

Change-Id: I93212b70ddc1fce9ea9aaa5d4e0bda8367198086

7 years agoe_comp_object: fix bug for handling the transient_for below window 52/137552/1
Doyoun Kang [Thu, 6 Jul 2017 09:39:28 +0000 (18:39 +0900)]
e_comp_object: fix bug for handling the transient_for below window

There was a bug that the transient_for below window's stack is invalid after running effect.
So, we added code to check the transient_policy of the window before chaning window stack.

Change-Id: I0c0573e55fd092b9c74c63bcad4517dd42a06c30

7 years agoe_output: use primary plane to default fb target 57/137257/2 accepted/tizen/unified/20170707.154423 submit/tizen/20170705.015808
Changyeon Lee [Wed, 5 Jul 2017 05:02:08 +0000 (14:02 +0900)]
e_output: use primary plane to default fb target

this commit is temporary output should use lowest zpos plane
to default fbtarget

Change-Id: I17bf57a8899531b09cf5e63c9bbdbda5321f349b

7 years agoe_comp_wl: don't send touch event while effect running 31/137231/6
Juyeon Lee [Wed, 5 Jul 2017 03:07:29 +0000 (12:07 +0900)]
e_comp_wl: don't send touch event while effect running

Change-Id: I93793fe111cb27524cff5925ce1cc9f117329ede

7 years agoe_plane: fix indentation 05/137205/1
Gwanglim Lee [Wed, 5 Jul 2017 01:51:59 +0000 (10:51 +0900)]
e_plane: fix indentation

Change-Id: Ib13fd63f91c69447425012ebe486de0bc5c6c712

7 years agoe_output: check if the id is null at e_output_find 31/137131/1 submit/tizen/20170705.010527
SooChan Lim [Tue, 4 Jul 2017 11:52:55 +0000 (20:52 +0900)]
e_output: check if the id is null at e_output_find

Change-Id: I533ee3a49a962787b11ba8aa7e51d099c75e4768

7 years agoe_info: check if the eout is null 30/137130/1
SooChan Lim [Tue, 4 Jul 2017 11:52:22 +0000 (20:52 +0900)]
e_info: check if the eout is null

Change-Id: Ia4891e691c2e9edfea9c7f2dd0de3a721f46e85a

7 years agoe_comp_screen: set the fake output configuration 29/137129/1
SooChan Lim [Tue, 4 Jul 2017 10:02:22 +0000 (19:02 +0900)]
e_comp_screen: set the fake output configuration

When there is no connected output, set the fake output
to initalize the ecore_evas engine.

Change-Id: I50f1b6c22fdd15be4a887a1302502b3f78cea232

7 years agoe_output: set the priority at e_output_update 28/137128/1
SooChan Lim [Tue, 4 Jul 2017 09:05:31 +0000 (18:05 +0900)]
e_output: set the priority at e_output_update

The priority of the output has to be set
even when the output is disconnected.

Change-Id: I915fe7b82a5384ed646969dbfbea6feecccb12d6

7 years agoe_info: add version infomation 98/136498/2
Sangjin Lee [Fri, 30 Jun 2017 03:44:46 +0000 (12:44 +0900)]
e_info: add version infomation

Change-Id: I4ac7481f473962646f6246e75ba901eb753e7729

7 years agoe_plane: added e_plane_video_set 10/135910/5
Changyeon Lee [Tue, 4 Jul 2017 07:42:25 +0000 (16:42 +0900)]
e_plane: added e_plane_video_set

Change-Id: I79e6f1597cd110943b2315d18d3159f4c0c12029

7 years agoe_output: set plane that has lowest zpos and support rgb to fb_target 09/135909/5
Changyeon Lee [Tue, 4 Jul 2017 07:35:01 +0000 (16:35 +0900)]
e_output: set plane that has lowest zpos and support rgb to fb_target

Change-Id: I48d9174079eff3468afc4bc9cd15f99cb11944d9

7 years agoe_plane: added e_plane_available_tbm_formats_get 72/137072/2
Changyeon Lee [Tue, 4 Jul 2017 07:31:12 +0000 (16:31 +0900)]
e_plane: added e_plane_available_tbm_formats_get

Change-Id: I799b3bb1cbb0afeb8a12c1997008257e90a3cb9b

7 years agoe_plane: added e_plane_fb_target_set 71/137071/2
Changyeon Lee [Tue, 4 Jul 2017 05:00:06 +0000 (14:00 +0900)]
e_plane: added e_plane_fb_target_set

Change-Id: I2ea8ea977635642f4e02c7a4423f40d2d6f3fdda

7 years agoe_plane: added e_plane_hook 08/135908/5
Changyeon Lee [Tue, 20 Jun 2017 05:42:27 +0000 (14:42 +0900)]
e_plane: added e_plane_hook

Change-Id: I009920b5631f04aba38e2f0d1a4a443b25ba8935

7 years agopolicy:add policy hook feature and client move hook 21/136721/3
Sungbae Park [Mon, 3 Jul 2017 04:46:21 +0000 (13:46 +0900)]
policy:add policy hook feature and client move hook

Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: Icc7394c592e4adabf88bd3e108d7d5c35c335d64

7 years agoe_policy_visibility: fix memory leak 42/136942/1
Doyoun Kang [Tue, 4 Jul 2017 00:35:46 +0000 (09:35 +0900)]
e_policy_visibility: fix memory leak

Change-Id: I9c58f8884f1e1e13896f9a2ff2b1e210307f4c14

7 years agoe_main: added sd_notify for sending start-up notification, 83/136883/3
Gwanglim Lee [Mon, 3 Jul 2017 09:21:21 +0000 (18:21 +0900)]
e_main: added sd_notify for sending start-up notification,
since ecore_main_loop_begin in the efl doesn't call that API any longer.

Change-Id: Ie60648ef0f84472927d36ee81d4ec00a2d88b851

7 years agoe_config: add deiconify_approve 27/136627/4
Juyeon Lee [Fri, 30 Jun 2017 10:38:25 +0000 (19:38 +0900)]
e_config: add deiconify_approve

Change-Id: I95e5d15e37e0be1b81e31bbf12a9915a16f844e0

7 years agoremove nocomp_want 20/136620/4
Juyeon Lee [Fri, 30 Jun 2017 10:22:27 +0000 (19:22 +0900)]
remove nocomp_want

the condition of comp/nocomp shall be defined only in job handler

Change-Id: I2dce76f4419733f46095b226fe76cb089f892d13

7 years agoe_main: removed unnecessary handler for x fatal error. 14/136714/2
Gwanglim Lee [Mon, 3 Jul 2017 04:28:51 +0000 (13:28 +0900)]
e_main: removed unnecessary handler for x fatal error.

Change-Id: I91ce87d456a8d9cb5ea3ea5990c38065478f74c9

7 years agoe_pixmap: not destroy a shm_flusher resource when a pixmap destroyed 00/136600/4
Boram Park [Fri, 30 Jun 2017 09:58:33 +0000 (18:58 +0900)]
e_pixmap: not destroy a shm_flusher resource when a pixmap destroyed

Change-Id: I8d412fbd7536eee765e43ccef9ed30b4d64521f4

7 years agoe_info: add gl,hwc,evas_engine to topvwins 97/136497/2
Sangjin Lee [Fri, 30 Jun 2017 03:41:45 +0000 (12:41 +0900)]
e_info: add gl,hwc,evas_engine to topvwins

Change-Id: Ib3eae3aa3c82d5a75162adb99c49f1364c9c32d2

7 years agoe_info: add dpms to output_mode 96/136496/2
Sangjin Lee [Fri, 30 Jun 2017 03:37:30 +0000 (12:37 +0900)]
e_info: add dpms to output_mode

Change-Id: I3df21f87b21bcdde8c56ca3a3285918e7c087bca

7 years agoe_comp: do not hwc begin in e_comp_override_del 04/136504/2
Changyeon Lee [Fri, 30 Jun 2017 04:07:13 +0000 (13:07 +0900)]
e_comp: do not hwc begin in e_comp_override_del

if begin hwc in e_comp_override_del, used prepare_ec which is set
in previous _comp_cb_update
so called e_comp_render_queue when nocomp_override_del set to zero
for updating prepare_ec

Change-Id: If2b26f689bcaa10dce69dbe6a7de2e63fb363bcf

7 years agoremote_surface: changed to capture the normal window which has the conformant area. 43/136543/1
Gwanglim Lee [Fri, 30 Jun 2017 06:56:52 +0000 (15:56 +0900)]
remote_surface: changed to capture the normal window which has the conformant area.

Change-Id: I50eef15d5e4ab7fdda83aeb349d7e78b96fded40

7 years agoe_comp_wl_rsm: change file mode to 644 16/136516/1
Boram Park [Fri, 30 Jun 2017 05:25:51 +0000 (14:25 +0900)]
e_comp_wl_rsm: change file mode to 644

Change-Id: I0150c8f5169e8f5fed617b1d6d6c32a706c03a9b

7 years agoe_comp_wl_rsm: Before save window buffer, check window transform. 50/136250/6
Minsu Han [Thu, 29 Jun 2017 00:52:42 +0000 (09:52 +0900)]
e_comp_wl_rsm: Before save window buffer, check window transform.

When client is iconify, e_comp_wl_rsm try to save window buffer.
At this time, we should also check buffer transform.
Depends on buffer transform, window buffer will be rotated.

Change-Id: I2679c3b12c1e7c109019d7e2ed697b702a80e9f5
Signed-off-by: Minsu Han <minsu81.han@samsung.com>
7 years agoe_comp_object: fix screen rotation issue. 50/135750/7
Minsu Han [Mon, 26 Jun 2017 08:11:08 +0000 (17:11 +0900)]
e_comp_object: fix screen rotation issue.

if there's screen rotation with comp mode, then ec->effect_obj and
ec->obj should rotate. if not, in evas_map, update region is clipped.

Change-Id: I243c73ee6bbecd1dea4edbf4204f51fe2b5342e8
Signed-off-by: Minsu Han <minsu81.han@samsung.com>
Signed-off-by: Boram Park <boram1288.park@samsung.com>
7 years agoe_comp_object: print debug log when evas map applied 86/136086/3
Boram Park [Fri, 23 Jun 2017 08:05:27 +0000 (17:05 +0900)]
e_comp_object: print debug log when evas map applied

Change-Id: Iaee827729ea8814007a39b74edfdd615d4272586

7 years agoe_comp_wl: adding window rotation information to surface's buffer transform 85/136085/3
Boram Park [Thu, 15 Jun 2017 04:46:51 +0000 (13:46 +0900)]
e_comp_wl: adding window rotation information to surface's buffer transform

To show a client buffer via a HW overlay, the client buffer status is exactly
same with WR 90(Window Rotation 90) and SR 90(Screen Rotation). So it's
reasonable that the surface's buffer transform contains the information how
a client draws objects on an attached buffer regarding window rotation.

Then, we have to distinguish the window rotation and screen rotation information
from the surface's buffer transform in server side.

Change-Id: I34128a6c192fcb4fb8527f9f1fb1984a5950bc4d

7 years agoe_comp: check the buffer minimum size 81/135781/7
Boram Park [Thu, 22 Jun 2017 05:33:22 +0000 (14:33 +0900)]
e_comp: check the buffer minimum size

Change-Id: Ic39181c17b1b1d3b3f28424890b4265adca771a0

7 years agoremote_surface: added window types to exception list for capture image of window. 80/136380/1
Gwanglim Lee [Thu, 29 Jun 2017 08:23:41 +0000 (17:23 +0900)]
remote_surface: added window types to exception list for capture image of window.

Change-Id: Ia9feaa672b6a371d8bc40ef080ce79e806ac81ad

7 years agoe_comp_rsm: add buffer_mode on release 12/135912/4
Sangjin Lee [Sat, 24 Jun 2017 00:05:03 +0000 (09:05 +0900)]
e_comp_rsm: add buffer_mode on release

this patch allows select the buffer flush mode for remote_surface
- free_on_release : the buffer will be freed when every release event. so remote_surface
have only one buffer.
- free_on_hide : If the provider was hide, it has only one buffer.

Change-Id: I4af9175a38062db6d604692585bf23d918dcc6ae

7 years agoe_info: add the scale factor option for enlightenment_info -dump_buffers 59/133759/4 accepted/tizen/unified/20170703.064027 submit/tizen/20170628.060900
Konstantin Drabeniuk [Tue, 13 Jun 2017 08:31:45 +0000 (11:31 +0300)]
e_info: add the scale factor option for enlightenment_info -dump_buffers

Change-Id: I2092dca095b1a2652de9775c7b3bf36a6754cd66
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoe_plane: add skip_surface_set 80/135980/5
SooChan Lim [Tue, 27 Jun 2017 23:00:54 +0000 (08:00 +0900)]
e_plane: add skip_surface_set

When the skip_surface_set is true,
e20 does not set/unset the tsurface to the layer.
Do not call the tdm functions below.
- tdm_layer_set_info
- the tdm_layer_set_buffer
- tdm_layer_unset_buffer

Change-Id: I7b6ba55e4c561e065a8857f3ff14ba004bc1f7e1

7 years agoe_client/e_comp: add new layer for CURSOR 41/135241/4
Doyoun Kang [Wed, 21 Jun 2017 09:56:35 +0000 (18:56 +0900)]
e_client/e_comp: add new layer for CURSOR

Change-Id: I659db8f88bcc3220553486825abe59e3d7ef2721

7 years agoremote_surface: added hold_prev_win_img configuration value to keep saved image files. 74/135974/2
Gwanglim Lee [Tue, 27 Jun 2017 15:18:00 +0000 (00:18 +0900)]
remote_surface: added hold_prev_win_img configuration value to keep saved image files.

the default value is disabled, so if you don't change this value, the E always removes
old image files.

Change-Id: Idaef88dbfa137e37f045cdcfbccdacce87cd4e90

7 years agoremote_surface: changed image file path to include pid and rid. 73/135973/2
Gwanglim Lee [Tue, 27 Jun 2017 15:03:53 +0000 (00:03 +0900)]
remote_surface: changed image file path to include pid and rid.

Change-Id: Ifa2d45ac4f7b5a7a07179b739a38a58edeaa639d

7 years agoremote_surface: fixed unexpected cancellation issue when saving image file. 71/135971/3
Gwanglim Lee [Tue, 27 Jun 2017 14:57:59 +0000 (23:57 +0900)]
remote_surface: fixed unexpected cancellation issue when saving image file.

changed to retry a thread job for saving image file after updating the window buffer.

Change-Id: Ib6e65669849db484d2ad94db615b4855d300f748

7 years agopolicy: add transient below feature 89/135889/2
Doyoun Kang [Tue, 27 Jun 2017 08:00:15 +0000 (17:00 +0900)]
policy: add transient below feature

Change-Id: Ia90d25af2b149c08513b8a75857493e06ad2574d

7 years agoe_plane: make some static functions 79/135979/3
SooChan Lim [Tue, 27 Jun 2017 22:47:55 +0000 (07:47 +0900)]
e_plane: make some static functions

make two static functions.
1. _e_plane_tlayer_info_set
2. _e_plane_aligned_width_get

Change-Id: I30ba0f97eed538eb4bb25fa68973fcfed571531f

7 years agoe_plane: rename the member variable. 56/135756/3
SooChan Lim [Mon, 26 Jun 2017 08:27:49 +0000 (17:27 +0900)]
e_plane: rename the member variable.

pending_commit --> wait_commit
pending_commit_data_list --> commit_data_list

Change-Id: I10dd28ba1c9620cedd5607b70d5186868586cfc5

7 years agodeiconify_approve: check transient child while finding above window when the win... 20/135820/4
Doyoun Kang [Tue, 27 Jun 2017 00:47:32 +0000 (09:47 +0900)]
deiconify_approve: check transient child while finding above window when the win is lowered/iconified

When an app requested to lower/iconify window, we check its above window.
If above window was full size non-alpha window, then we didn't operate the deiconify_approve functionality.
But there was no code to check whether the above window was child of the window or not.
If the above window is child window, then we skip it.

Change-Id: I9f78b8e453ba1a937ca650ba02344c9c6327d45c

7 years agodeiconify_approve: change code for activating window 78/135778/2
Doyoun Kang [Mon, 26 Jun 2017 10:43:03 +0000 (19:43 +0900)]
deiconify_approve: change code for activating window

We changed code to call e_policy_visibility_client_uniconify() instead of
e_policy_visibility_client_activate() for children window.

Change-Id: If744603c7a6d8655314e23dd85d8bbecaea3c7cb

7 years agodeiconify_approve: remove unnecessary code for iconifying/lowering window 77/135777/2
Doyoun Kang [Mon, 26 Jun 2017 10:33:35 +0000 (19:33 +0900)]
deiconify_approve: remove unnecessary code for iconifying/lowering window

There is no need to add children window to the deiconifying job list.
We just add the parent window to the job list.

Change-Id: Ie9783b51582e8cf3a93e088ca005a5cd248ab31a

7 years agoe_plane: do not return at gl_drm_tbm engine 25/135725/1
SooChan Lim [Mon, 26 Jun 2017 06:38:58 +0000 (15:38 +0900)]
e_plane: do not return at gl_drm_tbm engine

Change-Id: I9ec904c113761b68f378abf07f494ca3879351db

7 years agoe_plane: refine the e_plane_commit_aquire code. 53/135653/1
SooChan Lim [Fri, 23 Jun 2017 12:49:32 +0000 (21:49 +0900)]
e_plane: refine the e_plane_commit_aquire code.

Change-Id: I0b3ce9f7062d59b2569f8dc72af22e7354bedd75

7 years agoe_plane: set redireted/unredirect when ec is set/unset to plane. 55/135555/4
Changyeon Lee [Thu, 22 Jun 2017 08:53:05 +0000 (17:53 +0900)]
e_plane: set redireted/unredirect when ec is set/unset to plane.

if ec is already unredirected before plane set ec, e_plane_renderer don't
force update when create backup buffer.

Change-Id: Icd2bdf983fdddba18e5021a141ef7b1036b6d044

7 years agoe_plane: released fetched tbm_surface to queue when unfetch plane 54/135554/2
Changyeon Lee [Fri, 23 Jun 2017 03:45:17 +0000 (12:45 +0900)]
e_plane: released fetched tbm_surface to queue when unfetch plane

Change-Id: I6d42579d25fb4247e0062a9525f04274da134612

7 years agoe_output: added e_output_plane_get_by_zpos 88/135388/4
Changyeon Lee [Tue, 20 Jun 2017 11:55:41 +0000 (20:55 +0900)]
e_output: added e_output_plane_get_by_zpos

Change-Id: Ibaac3641f7c31213705ae4d50df4f8d74359ee0e

7 years agoe_output: added e_output_find_by_index 87/135387/4
Changyeon Lee [Tue, 20 Jun 2017 11:54:08 +0000 (20:54 +0900)]
e_output: added e_output_find_by_index

Change-Id: I685df2969746160c67298d4ab5dd9b4e39b13eb2

7 years agoe_output: added e_output_is_fb_full_compositing 86/135386/4
Changyeon Lee [Tue, 20 Jun 2017 11:40:03 +0000 (20:40 +0900)]
e_output: added e_output_is_fb_full_compositing

Change-Id: I7555c60e664d5162a0911348225cef274ff1f3c9

7 years agoe_plane_renderer: added e_plane_renderer_ecore_evas_force_render 84/135384/3
Changyeon Lee [Tue, 20 Jun 2017 05:35:16 +0000 (14:35 +0900)]
e_plane_renderer: added e_plane_renderer_ecore_evas_force_render

Change-Id: I6a28afc01ebe4afbd69948a6904653a2214e5e0c

7 years agoe_plane_renderer: send activate event after export buffer 94/134794/3
Changyeon Lee [Tue, 20 Jun 2017 05:12:30 +0000 (14:12 +0900)]
e_plane_renderer: send activate event after export buffer

Change-Id: Ie9f17eb5cfa10bcbde9ac1619d4b3d6f358f76db

7 years agoe_output: refactor the synchronous unset of the plane. 92/134992/3
SooChan Lim [Mon, 19 Jun 2017 11:09:08 +0000 (20:09 +0900)]
e_output: refactor the synchronous unset of the plane.

The plane is set to be null at the e_plane_ec_set(plane, NULL);
To set null to a plane means two things.
1. If the plane is fb target, the plane uses the ecore_evas.
2. If the plane is not fb target, the plane needs to unset
  at the time that the result of the ecore_evas renderer(compositing)
  is finished with the tsurface(ec) of the plane. For this,
  we set the unset_candidate flags to the plane and measure to unset
  the plane at the e_output_commit.

Change-Id: I6f91a143a0f30727d6284063063505c9ad3773f1
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
7 years agoe_info: use _util_string_to_int_token to parse punch's args 30/135330/1
Boram Park [Thu, 22 Jun 2017 01:39:48 +0000 (10:39 +0900)]
e_info: use _util_string_to_int_token to parse punch's args

Change-Id: I43d6e4d05216c126dc85e2f3f4f14cc99af98f6f

7 years agoe_info: use strtol to check args for punch option 77/135077/2
Boram Park [Wed, 21 Jun 2017 01:34:51 +0000 (10:34 +0900)]
e_info: use strtol to check args for punch option

Change-Id: I516f1faee197a4fbb796b39e68d0196a4d94d34b

7 years agoe_comp_wl: close fd if it's allocated newly 84/134484/1
Boram Park [Mon, 19 Jun 2017 00:32:02 +0000 (09:32 +0900)]
e_comp_wl: close fd if it's allocated newly

Change-Id: Id80f461dec2ef71075a427fbe80c8573f9e7e5fe

7 years agoe_plane: enhance commit data release logic 47/134247/1
Changyeon Lee [Tue, 13 Jun 2017 07:21:45 +0000 (16:21 +0900)]
e_plane: enhance commit data release logic

- ec and renderer set to display info and commit_data
- tsurface of display_info release to renderer of display_info
- reset renderer of commit_data and dispalay_info when renderer is deleted

Change-Id: I835be5bfd6363fa2c6da60965441a4e998b25e26

7 years agoe_plane: wrap member of display information to struct 46/134246/1
Changyeon Lee [Mon, 12 Jun 2017 05:33:36 +0000 (14:33 +0900)]
e_plane: wrap member of display information to struct

added current displaying ec and renderer to display info.

Change-Id: I36878c7772a5f0053ba7254fc5354ca0f81871f5

7 years agoe_plane: remove unnecessary static function 45/134245/1
Changyeon Lee [Mon, 12 Jun 2017 05:00:53 +0000 (14:00 +0900)]
e_plane: remove unnecessary static function

Change-Id: I548fce392a5f5678971b7bfb5e29d2f8e919ff3d

7 years agoe_plane: clear info of plane when unset surface 44/134244/1
Changyeon Lee [Mon, 12 Jun 2017 04:33:57 +0000 (13:33 +0900)]
e_plane: clear info of plane when unset surface

Change-Id: I90ff735bcc281e761da7d7c50bac8c2724113555

7 years agoe_plane: enhance trace_debug log 46/132146/4
Changyeon Lee [Mon, 12 Jun 2017 04:24:10 +0000 (13:24 +0900)]
e_plane: enhance trace_debug log

Change-Id: I09cb6886729b7b06f4f069f3651a90205460fab7

7 years agoe_plane: add pending_commit_data at e_plane_commit_data_aquire to the list 57/134157/1
SooChan Lim [Thu, 15 Jun 2017 04:31:50 +0000 (13:31 +0900)]
e_plane: add pending_commit_data at e_plane_commit_data_aquire to the list

add commit_date to the pending list at e_plane_commit_data_aquire
remove commit_data from the pending list at the e_plane_commit_data_release

Change-Id: I85bd8aff2f83139b6ac627c60f3333540679eeed

7 years agoe_info_client: fix bug on strncmp arguemnts 09/134009/2
Juyeon Lee [Wed, 14 Jun 2017 08:01:53 +0000 (17:01 +0900)]
e_info_client: fix bug on strncmp arguemnts

Change-Id: Ibdc54bb8f149f8a598263a78f952304f7ef8814d

7 years agoe_comp_wl_rsm: fix memory leak 08/134008/2
Juyeon Lee [Wed, 14 Jun 2017 08:00:38 +0000 (17:00 +0900)]
e_comp_wl_rsm: fix memory leak

Change-Id: Ibe88b5ca3f016b8ec77d72f2896693932afbeeb0

7 years agoe_plane: create renderer after hwc_enable is set true 02/134102/1 accepted/tizen/unified/20170615.070938 submit/tizen/20170615.012408
Changyeon Lee [Wed, 14 Jun 2017 13:50:53 +0000 (22:50 +0900)]
e_plane: create renderer after hwc_enable is set true

- e20 sholud render after hwc_enalbe of engine_info is set true
  because e20 doens't want to use gbm_surface in evas engine.
  manual_render is called in e_plane_renderer_new fuction.

Change-Id: I37a99dc0c96be63df274de9581b8fdc9ec4e192b

7 years agoe_policy_wl: fix svace leak 39/133739/1 accepted/tizen/unified/20170613.194842 submit/tizen/20170613.104812
Juyeon Lee [Tue, 13 Jun 2017 07:52:55 +0000 (16:52 +0900)]
e_policy_wl: fix svace leak

Change-Id: Ia8a5f9b88a913bdce40f2420d86d1844047a3591

7 years agospec: use openmp if arm arch 61/132961/7 accepted/tizen/unified/20170613.194535 submit/tizen/20170613.064539
Juyeon Lee [Thu, 8 Jun 2017 11:22:28 +0000 (20:22 +0900)]
spec: use openmp if arm arch

Change-Id: I2196de882ca7e2f6757a9e9689d85064047088db

7 years agoe_comp_wl: add a video global variable to E_Comp_Wl_Data 23/133623/1
Boram Park [Sat, 10 Jun 2017 23:53:20 +0000 (08:53 +0900)]
e_comp_wl: add a video global variable to E_Comp_Wl_Data

Change-Id: I060cd7a17c857884f24499d8d357a75be06b87b1

7 years agoe_comp_wl: use the common structure for provider and surface 54/133254/2
Boram Park [Fri, 9 Jun 2017 10:37:11 +0000 (19:37 +0900)]
e_comp_wl: use the common structure for provider and surface

Change-Id: Iae71f47ee0864c073dad4c3b935048d71b9e8e52

7 years agoe_comp_wl_rsm: prepare hwc whenever buffer changed 14/133214/2
Boram Park [Fri, 9 Jun 2017 08:12:20 +0000 (17:12 +0900)]
e_comp_wl_rsm: prepare hwc whenever buffer changed

Change-Id: Ib87413db5d5e60bd35819451ba8664214d101ace

7 years agoe_comp_object: reset and move the position of an object 03/133203/3
Boram Park [Fri, 9 Jun 2017 07:08:15 +0000 (16:08 +0900)]
e_comp_object: reset and move the position of an object

Even cw->x and cw->y are already set to -99999 value, if new value is same
with old value, cw->x and cw->y can't be changed by evas_object_move().
So only when the new position is different with old value, we reset and
move the position of an object.

Change-Id: I0dbab086cae9013ccbcb1e0595ba0d8aa61f1d5b

7 years agoe_comp_wl_rsm: sending an ignore_output_transform event 02/133202/2
Boram Park [Thu, 8 Jun 2017 12:17:25 +0000 (21:17 +0900)]
e_comp_wl_rsm: sending an ignore_output_transform event

We send an ignore_output_transform(false) event if below conditions are true
- if remote_surface's count is 1 and it's binded to a onscreen surface
- if remote_surface's count is 1 and it's onscreen surface.

Otherwise, we send an ignore_output_transform(true) event.

Change-Id: I989dbdbc2d5543b0861fd18bd13e6672a0d63aa6

7 years agoe_plane: clear the pixmap of the ec at e_plane_commit 12/133212/3 accepted/tizen/unified/20170613.193739 submit/tizen/20170612.102910
SooChan Lim [Fri, 9 Jun 2017 07:50:44 +0000 (16:50 +0900)]
e_plane: clear the pixmap of the ec at e_plane_commit

move the e_pixmap_image_clear from e_plane_commit_data_aquire
to e_plane_commit when the comp is nocomp mode.

Change-Id: I1c0840744182bb753911bf6f2ceccd39b5c6d291

7 years agoe_comp: add e_comp_hwc_multi_plane_set 11/133211/4
SooChan Lim [Fri, 9 Jun 2017 07:55:08 +0000 (16:55 +0900)]
e_comp: add e_comp_hwc_multi_plane_set

Change-Id: I3878801dcdbc7e86ca48130cbd5ba69acf2409bb

7 years agoe_comp: use hwc_use_multi_plane at e_comp 10/133210/3
SooChan Lim [Fri, 9 Jun 2017 07:28:36 +0000 (16:28 +0900)]
e_comp: use hwc_use_multi_plane at e_comp

use hwc_use_multi_plane at e_comp
instead of using hwc_use_multi_plane at conf

Change-Id: I9751c055ce8949498091c68de48a26398d41447e

7 years agoe_comp_screen: add e_comp_screen_pp_support 09/133209/3
SooChan Lim [Fri, 9 Jun 2017 07:15:21 +0000 (16:15 +0900)]
e_comp_screen: add e_comp_screen_pp_support

Change-Id: I86006deec8c6f1d9cacdb4150fca5b7fe96bc467

7 years agoe_info: add cleanup function for module_hook 78/133378/2
JengHyun Kang [Mon, 12 Jun 2017 04:16:41 +0000 (13:16 +0900)]
e_info: add cleanup function for module_hook

Change-Id: I3d2540cc97eabab1b64f044819374c16d53ed7e7

7 years agoe_pixmap: change e_pixmap_buffer_clear 43/132543/5
Sangjin Lee [Mon, 5 Jun 2017 08:04:04 +0000 (17:04 +0900)]
e_pixmap: change e_pixmap_buffer_clear

For remove just free buffer, add the function parameter.
the only_free param has meaning that only free_buffer on client side shoud be removed.
For this operation, tizen_surface_shm_flusher is added the protocol and version up to 2.
The first usage is quickpanel. For reduse idle memory, quickpaenl has just on active buffer.
so quick-panel service call e_pixmap_buffer_clear() function with only_free value.

Change-Id: I0979552e8dc724bc48603a3c94d2be9eeda1f3f9

7 years agoe_comp: change to use gl_drm_tbm. 52/132252/7 accepted/tizen/unified/20170608.072604 submit/tizen/20170608.043915
Sangjin Lee [Tue, 30 May 2017 05:02:27 +0000 (14:02 +0900)]
e_comp: change to use gl_drm_tbm.

Basically ecore_gl_drm support two mode. one is gl_drm and unother is gl_tbm.
In gl_tbm evas engine, it use offscreen GL engine(tbm_surface_queue).
To seperate the render engine and present to lcd, we should use tbm base evas_engine.

Change-Id: I4af327a2ed5fd1e350b18685d8df3a2f3b1fae44

7 years agoe_comp_wl: change the buffer type into E_COMP_WL_BUFFER_TYPE_TBM 51/132251/6
SooChan Lim [Thu, 1 Jun 2017 23:28:53 +0000 (08:28 +0900)]
e_comp_wl: change the buffer type into E_COMP_WL_BUFFER_TYPE_TBM

All committed buffer type of the E_Comp_Wl_buffer was E_COMP_WL_BUFFER_TYPE_NATIVE.
Howerver, the enlightenment set the buffer type into E_COMP_WL_BUFFER_TYPE_TBM
instead E_COMP_WL_BUFFER_TYPE_NATIVE for the client buffers.

So enlightenment make the texture with the EVAS_NATIVE_SURFACE_TBM type of
the Evas_Native_Surface to set the buffer to the evas
through evas_object_image_native_surface_set function.

Change-Id: I49db960fbfabb4800c0054635f188d8097d810eb