platform/upstream/enlightenment.git
7 years agoe_output: initialize the w and h. 77/138077/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 76/138076/1
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 75/138075/1
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 74/138074/1
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 73/138073/1
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 71/138071/1
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 70/138070/1
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 agoe_comp_screen : update wl_seat capabilities for keyboard/touch device deletion 78/137878/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 agocode cleanup (EAPI -> E_API)
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 41/137541/2
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
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_comp_wl: don't send touch event while effect running accepted/tizen/3.0/common/20170707.091520 accepted/tizen/3.0/ivi/20170706.222102 accepted/tizen/3.0/mobile/20170706.221958 accepted/tizen/3.0/tv/20170706.222017 accepted/tizen/3.0/wearable/20170706.222042 submit/tizen_3.0/20170705.085031
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 agopolicy:add policy hook feature and client move hook
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
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_config: add deiconify_approve
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
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 agopolicy: add transient below feature
Doyoun Kang [Tue, 27 Jun 2017 08:00:15 +0000 (17:00 +0900)]
policy: add transient below feature

Change-Id: Ia90d25af2b149c08513b8a75857493e06ad2574d

7 years agodeiconify_approve: check transient child while finding above window when the win...
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
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
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_policy_wl: fix svace leak
Juyeon Lee [Tue, 13 Jun 2017 07:52:55 +0000 (16:52 +0900)]
e_policy_wl: fix svace leak

Change-Id: Ia8a5f9b88a913bdce40f2420d86d1844047a3591

7 years agoe_policy: Added interceptor for activate above/below
Doyoun Kang [Wed, 17 May 2017 04:59:04 +0000 (13:59 +0900)]
e_policy: Added interceptor for activate above/below

Change-Id: I0f840cc2a2816561ec98380fc8dc526f6abaace5

7 years agoe_output: use primary plane to default fb target sandbox/boram1288/SR
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_plane: fix indentation
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
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
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
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
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
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
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
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
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
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
Changyeon Lee [Tue, 20 Jun 2017 05:42:27 +0000 (14:42 +0900)]
e_plane: added e_plane_hook

Change-Id: I009920b5631f04aba38e2f0d1a4a443b25ba8935

7 years agoe_pixmap: not destroy a shm_flusher resource when a pixmap destroyed
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
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
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_wl_rsm: change file mode to 644
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.
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.
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
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
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
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 agoe_plane: add skip_surface_set
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_plane: make some static functions
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.
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 agoe_plane: refine the e_plane_commit_aquire code.
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.
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
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
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
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
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
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
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.
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
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
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_plane: enhance commit data release logic
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
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
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
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
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
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_main: added sd_notify for sending start-up notification, accepted/tizen/3.0/common/20170705.074905 accepted/tizen/3.0/ivi/20170704.221618 accepted/tizen/3.0/mobile/20170704.221605 accepted/tizen/3.0/tv/20170704.221557 accepted/tizen/3.0/wearable/20170704.221612 submit/tizen_3.0/20170704.032921
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_main: removed unnecessary handler for x fatal error.
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 agoremote_surface: changed to capture the normal window which has the conformant area.
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 agoremote_surface: added window types to exception list for capture image of window.
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 agoremote_surface: added hold_prev_win_img configuration value to keep saved image files.
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.
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.
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 agoe_comp: do not hwc begin in e_comp_override_del 50/136750/1
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 agoe_comp_rsm: add buffer_mode on release 80/136280/1
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_pixmap: change e_pixmap_buffer_clear 79/136279/1
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_client/e_comp: add new layer for CURSOR 42/135242/1 accepted/tizen/3.0/common/20170630.143936 accepted/tizen/3.0/ivi/20170630.081458 accepted/tizen/3.0/mobile/20170630.081421 accepted/tizen/3.0/tv/20170630.081236 accepted/tizen/3.0/wearable/20170630.081435 submit/tizen_3.0/20170622.052758
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 agoe_comp_wl: close fd if it's allocated newly accepted/tizen/3.0/common/20170619.133508 accepted/tizen/3.0/ivi/20170619.075542 accepted/tizen/3.0/mobile/20170619.075529 accepted/tizen/3.0/tv/20170619.075534 accepted/tizen/3.0/wearable/20170619.075537 submit/tizen_3.0/20170619.034553
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_info_client: fix bug on strncmp arguemnts
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
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 accepted/tizen/3.0/common/20170616.064412 accepted/tizen/3.0/ivi/20170615.081014 accepted/tizen/3.0/mobile/20170615.080957 accepted/tizen/3.0/tv/20170615.081004 accepted/tizen/3.0/wearable/20170615.081009 submit/tizen_3.0/20170615.012522
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 ago[e_info] add the scale factor option for enlightenment_info -dump_buffers 84/133984/1 accepted/tizen/3.0/ivi/20170614.223754 accepted/tizen/3.0/mobile/20170614.223737 accepted/tizen/3.0/tv/20170614.223743 accepted/tizen/3.0/wearable/20170614.223749 submit/tizen_3.0/20170614.064107
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: clear the pixmap of the ec at e_plane_commit 80/133980/1
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 79/133979/1
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 78/133978/1
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 77/133977/1
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_plane: fix the typo 76/133976/1
SooChan Lim [Thu, 1 Jun 2017 08:55:19 +0000 (17:55 +0900)]
e_plane: fix the typo

Change-Id: Ice07c4643fe18e40a44ae0592d2c02966068871e

7 years agoe_comp_screen: initialize the ecore_evas engine with the size of the primary output. 75/133975/1
SooChan Lim [Thu, 1 Jun 2017 05:35:59 +0000 (14:35 +0900)]
e_comp_screen: initialize the ecore_evas engine with the size of the primary output.

1. use the only tdm for the e_comp_sreen_init. do not use ecore_drm.
  When the enlightenment initialize the ecore_evas engine
  with the proper size of the primary output, ecore_evas is created
  with the output size. Therefore, there is no need to resize of the
  ecore_evas at the initial time.
2. only ee engine which can get the tbm_surface_queue from.
  Updating Screen is done by enlightenment with tdm. Therefore,
  ee enging which can get the tbm_surface_queue from is
  acceptable for intiailization of e20.
3. remove the ecore drm dependency code for the display.

Change-Id: I27dd5d9b01d78ae6f5e4b3e085504b31462dbfda

7 years agoe_comp_screen: add e_comp_screen_primary_output_get 74/133974/1
SooChan Lim [Thu, 1 Jun 2017 05:32:55 +0000 (14:32 +0900)]
e_comp_screen: add e_comp_screen_primary_output_get

The primary output is the most highest priority of e_output.
The lower index of the tdm_output gets the higher priority of e_output.

Change-Id: I71e726f9ec71d991d5bb541c3c3b82d2c3468df0

7 years agoe_output: add e_output_size_get 73/133973/1
SooChan Lim [Thu, 1 Jun 2017 05:28:28 +0000 (14:28 +0900)]
e_output: add e_output_size_get

e_output_size_get function gets the size of the output.

Change-Id: Iaaef2b33d7f1f3c6ef74cdd4152828dd036611db

7 years agoe_comp_wl: add a video global variable to E_Comp_Wl_Data accepted/tizen/3.0/common/20170614.124837 accepted/tizen/3.0/ivi/20170614.000425 accepted/tizen/3.0/mobile/20170614.000411 accepted/tizen/3.0/tv/20170614.000416 accepted/tizen/3.0/wearable/20170614.000421 submit/tizen_3.0/20170613.050916 submit/tizen_3.0/20170613.104916
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
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
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
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
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_info: add cleanup function for module_hook
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_info: change file permission to 644 from 755
JengHyun Kang [Thu, 1 Jun 2017 09:18:51 +0000 (18:18 +0900)]
e_info: change file permission to 644 from 755

Change-Id: Ibf5f755bb6d189c51b76a1136da72e1323ab5ca9

7 years agoremote_surface: use version constant value instead of TIZEN_REMOTE_SURFACE_RELEASE_SI... accepted/tizen/3.0/common/20170612.121608 accepted/tizen/3.0/ivi/20170612.050113 accepted/tizen/3.0/mobile/20170612.050048 accepted/tizen/3.0/tv/20170612.050054 accepted/tizen/3.0/wearable/20170612.050107 submit/tizen_3.0/20170609.043109
Gwanglim Lee [Fri, 9 Jun 2017 11:37:17 +0000 (20:37 +0900)]
remote_surface: use version constant value instead of TIZEN_REMOTE_SURFACE_RELEASE_SINCE_VERSION.

It is workaround for the tizen 3.0. Old version wayland-scanner in the tizen 3.0
can't generation SINCE macro.

Change-Id: I0389d78d2a4edad6920e002b63316772685f2c28

7 years agoe_comp_wl_rsm: added checking privilege for the client which wants to be the remote
Gwanglim Lee [Thu, 18 May 2017 05:24:58 +0000 (14:24 +0900)]
e_comp_wl_rsm: added checking privilege for the client which wants to be the remote
surface of normal UI client.

Change-Id: I8e03b70745acc8230374c0872d34142b67536613

7 years agoe_comp_wl_rsm: added support for filtering by buffer type and getting current buffer
Gwanglim Lee [Mon, 22 May 2017 08:05:07 +0000 (17:05 +0900)]
e_comp_wl_rsm: added support for filtering by buffer type and getting current buffer

Change-Id: I3068c0b4640c5659ae8396a741674dbd33b726db

7 years agoe_privilege: added E_PRIVILEGE_SYSTEM_INFO_READ for checking client whether it has...
Gwanglim Lee [Thu, 18 May 2017 05:16:34 +0000 (14:16 +0900)]
e_privilege: added E_PRIVILEGE_SYSTEM_INFO_READ for checking client whether it has system privilege.

Change-Id: If27a5682799c13af3b8c5a89db703342703ae199

7 years agoe_security: changed log type to E_SECURITY from TZPOL
Gwanglim Lee [Mon, 15 May 2017 05:45:53 +0000 (14:45 +0900)]
e_security: changed log type to E_SECURITY from TZPOL

Change-Id: If0a18bc20500a7ab27eae1ad73861dc075a07241

7 years agoe_policy_wl: changed checking for privilege to use e_security
Gwanglim Lee [Mon, 15 May 2017 05:43:12 +0000 (14:43 +0900)]
e_policy_wl: changed checking for privilege to use e_security

Change-Id: I497115aadb8e73075006609d9e8844f6b4e4d67b