platform/upstream/enlightenment.git
7 years agozoom: init pp_tsurface before use in _e_plane_pp_layer_commit 25/137225/1 sandbox/soolim/devel
Junkyeong Kim [Wed, 5 Jul 2017 02:50:19 +0000 (11:50 +0900)]
zoom: init pp_tsurface before use in _e_plane_pp_layer_commit

Change-Id: I3afc9bbd2a01a37e4487585b13aa9a490c679d14
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agozoom: add e_config's flag for pp zoom(use_pp_zoom) 03/137103/1
Junkyeong Kim [Tue, 4 Jul 2017 10:31:46 +0000 (19:31 +0900)]
zoom: add e_config's flag for pp zoom(use_pp_zoom)
delete HAVE_ZOOM_PP define

Change-Id: Ide5b4484a1efafce001d79b52803ba204eac2cde
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agozoom: unref pp_layer_commit surface before free 47/137047/1
Junkyeong Kim [Tue, 4 Jul 2017 08:14:07 +0000 (17:14 +0900)]
zoom: unref pp_layer_commit surface before free

Change-Id: I8d9cb6402a4afd8dbb7e70c4c54617a3ff00874f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agozoom: change tpp destroy position 46/137046/1
Junkyeong Kim [Tue, 4 Jul 2017 08:11:59 +0000 (17:11 +0900)]
zoom: change tpp destroy position

Change-Id: I433777813c4f71253acdcba4ec2232133df05a6a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agozoom: do not execute _e_output_render_update if some visible ec is anmating(effect... 44/136944/1
Junkyeong Kim [Tue, 4 Jul 2017 00:37:48 +0000 (09:37 +0900)]
zoom: do not execute _e_output_render_update if some visible ec is anmating(effect showing)

Change-Id: Ifc636177e29120e84988c29fedcb7d5538b82a9c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agozoom: prevent 'set_buffer commit' before commit done while pp set_buffer commiting 43/136943/1
Junkyeong Kim [Tue, 4 Jul 2017 00:35:37 +0000 (09:35 +0900)]
zoom: prevent 'set_buffer commit' before commit done while pp set_buffer commiting

Change-Id: I94f1f008467b2d745165f8cc6bec7045f131781b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agozoom: do not destroy pp while pp converting 41/136941/1
Junkyeong Kim [Tue, 4 Jul 2017 00:26:08 +0000 (09:26 +0900)]
zoom: do not destroy pp while pp converting

change pp_commit to pp_layer_commit
add pp_commit flag to check pp convering

Change-Id: Id7d7c59808621c526a964d56a47094984c4b5afb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agozoom: change zoom validation checking method 95/136595/2
Junkyeong Kim [Fri, 30 Jun 2017 09:18:19 +0000 (18:18 +0900)]
zoom: change zoom validation checking method

Change-Id: I1ac9624cb1e06daa24acde54c48958dc49ead493
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agozoom: support touch transform 77/136577/1
Junkyeong Kim [Fri, 30 Jun 2017 08:25:32 +0000 (17:25 +0900)]
zoom: support touch transform

Change-Id: I6b93be25918f9c8df1b0665406ebc2a25dd8c8c3
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agozoom: support rotation 50/136550/1
Junkyeong Kim [Fri, 30 Jun 2017 07:19:06 +0000 (16:19 +0900)]
zoom: support rotation

Change-Id: I81afc1450d4ab9aed9505a19615e95f9cbd0bd02
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agofix unset
SooChan Lim [Thu, 29 Jun 2017 08:30:49 +0000 (17:30 +0900)]
fix unset

Change-Id: I8813e10c54a064b1071ef784289d4ae492357fa2

7 years agoall refactoring.
SooChan Lim [Mon, 26 Jun 2017 10:50:20 +0000 (19:50 +0900)]
all refactoring.

Change-Id: I7df3a0f5c3181b7779d210da7613240b918f0465

7 years agofixed
SooChan Lim [Fri, 23 Jun 2017 12:02:02 +0000 (21:02 +0900)]
fixed

Change-Id: I42d82226d9748493acac94664c1979682e62a439

7 years agoskip surface set
SooChan Lim [Fri, 23 Jun 2017 11:17:50 +0000 (20:17 +0900)]
skip surface set

Change-Id: I5a98323c330529f512a1fd8832132e69fa510728

7 years agomodify some code to work properly
SooChan Lim [Fri, 23 Jun 2017 10:33:19 +0000 (19:33 +0900)]
modify some code to work properly

Change-Id: I91ab54cef588b68398481564b49c2bc98f6b834b

7 years agoe_plane: generate the commit data at e_plane_zoom_commit
SooChan Lim [Fri, 23 Jun 2017 09:46:15 +0000 (18:46 +0900)]
e_plane: generate the commit data at e_plane_zoom_commit

Change-Id: Ie89cd2e93f483b38355c4c10298a2d004e826796

7 years agomake set info tdm
SooChan Lim [Thu, 22 Jun 2017 07:22:38 +0000 (16:22 +0900)]
make set info tdm

Change-Id: I28707a09e1371a35cfa2169b8736c424c42abdcd

7 years agozoom patch: use zoom_pending_commit list to avoid set buffer commit fail
Junkyeong Kim [Mon, 19 Jun 2017 08:34:12 +0000 (17:34 +0900)]
zoom patch: use zoom_pending_commit list to avoid set buffer commit fail

Change-Id: I5b2c057fc188447aaf328a71d6ff4b1a05f28b8c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
fix

Change-Id: Iebab751d0df1e97b7636bf3c826b814669aba877

7 years agozoom patch: change list name for zoom data
Junkyeong Kim [Mon, 19 Jun 2017 06:56:58 +0000 (15:56 +0900)]
zoom patch: change list name for zoom data

Change-Id: I193641d86c33d6e9505b45864c89225a80694011
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agozoom patch: use pending_pp_zoom_data_list to avoid skip
Junkyeong Kim [Mon, 19 Jun 2017 06:47:22 +0000 (15:47 +0900)]
zoom patch: use pending_pp_zoom_data_list to avoid skip

Change-Id: I90f0aa5a2a0b573ef3ed91d880adc4b9a4396ae1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agomodify the update render at zoom set/unset.
SooChan Lim [Sun, 18 Jun 2017 07:59:34 +0000 (16:59 +0900)]
modify the update render at zoom set/unset.

Change-Id: I1314573a76e43db211d248874f0a0ba733f319ab

7 years agozoom code ...
Junkyeong Kim [Tue, 30 May 2017 07:55:49 +0000 (16:55 +0900)]
zoom code ...

e_comp: make hwc_multi_plane enable and disable

use e_comp's hwc_use_multi_plane flag instead of conf->hwc_use_multi_plane.
make two function for this flag setting.(e_comp_hwc_get_multi_plane_usable, e_comp_hwc_use_multi_plane)

Change-Id: If5eb0cbbc3f8e12dda85b6f30a33d01dceae694a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
e_plane: support accessibility zoom

use tdm pp for zoom.
make another surface queue for pp dst.
convert original surface to created surface by pp and set converted surface to tdm layer.
default enable: see configure.ac

Change-Id: I95f3f4839aa208c6ed587e4e6d6a9fa89a04c55f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
e_output: support accessibility zoom

if multi plane enabled, set using only primary layer.
make primary_layer set pp convert by 'e_plane_zoom_set'

Change-Id: Iad0bce98aa7fa4f3a26aee02dcf915181ce938de
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
e_desk: support accessibility zoom by pp

if e_config->use_desk_smart_obj is not set, use tdm pp for accessibility zoom.
if smart_obj is set, do not use tdm pp for zoom.

Change-Id: Id17c227aec0c05e1866bf544b55ee64c51e5ef9e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
refactoring

Change-Id: I8ba0104753367715e81cf8a09e8e3fd5c90d8600

zoom patch

Change-Id: Iab861e8f13f796930c1fcd7fbe2cb0e66f62d7f4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
zoom patch: support zoom set and unset showing

Change-Id: I2c9994ac2353a366b4cfd6b8dc3ec11da3a3f7dc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
zoom: fix lock up

Change-Id: I7b54df08694c451ac949f2e239862cae255d5fcf
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_plane: rename tne member variable. 56/135756/1
SooChan Lim [Mon, 26 Jun 2017 08:27:49 +0000 (17:27 +0900)]
e_plane: rename tne member variable.

pending_commit --> wait_commit
pending_commit_data_list --> commit_data_list

Change-Id: I10dd28ba1c9620cedd5607b70d5186868586cfc5

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 years agoe_plane: fix the typo 50/132250/5
SooChan Lim [Thu, 1 Jun 2017 08:55:19 +0000 (17:55 +0900)]
e_plane: fix the typo

Change-Id: Ice07c4643fe18e40a44ae0592d2c02966068871e

8 years agoe_comp_screen: initialize the ecore_evas engine with the size of the primary output. 49/132249/7
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

8 years agoe_comp_screen: add e_comp_screen_primary_output_get 48/132248/3
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

8 years agoe_output: add e_output_size_get 47/132247/4
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

8 years agoe_keyrouter: add keyrouter hook functions 10/125010/13 accepted/tizen/unified/20170605.151607 submit/tizen/20170605.022315 submit/tizen/20170605.040707 submit/tizen/20170605.072005
JengHyun Kang [Thu, 13 Apr 2017 09:35:22 +0000 (18:35 +0900)]
e_keyrouter: add keyrouter hook functions

Change-Id: I1f304082b6e5040fc934915736c0b42066491e6a

8 years agoRevert "Divide into engine init and drm engine init" 66/132266/1
SooChan Lim [Fri, 2 Jun 2017 04:12:05 +0000 (13:12 +0900)]
Revert "Divide into engine init and drm engine init"

This reverts commit efa165c02dc7b3196b042a03186f1a41d08b3ae5.

Change-Id: I3fa75de40f084f0cc122ed684900f6960e4732b3

8 years agoe_comp_wl_rsm: added checking privilege for the client which wants to be the remote 71/129771/6
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

8 years agoe_info: change file permission to 644 from 755 66/132166/2
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

8 years agoe_comp_object: fixed a warning 97/132097/1
Gwanglim Lee [Thu, 1 Jun 2017 05:41:54 +0000 (14:41 +0900)]
e_comp_object: fixed a warning

Change-Id: I22f0c81f8c58e25f64dc62af8858c88394218dde

8 years ago[e_info] add -topwins and -dump_selected_buffers 34/131534/6
Minsu Han [Mon, 29 May 2017 23:39:28 +0000 (08:39 +0900)]
[e_info] add -topwins and -dump_selected_buffers

 - topwins : show all windows list include visible and invisible.
 - dump_selected_buffers : dump selected window's buffer. default path
   is /tmp/blabla.png

Change-Id: I12ada4f17a03f21cd0ad6f2f31185ee23258f23f
Signed-off-by: Minsu Han <minsu81.han@samsung.com>
8 years agoe_bindings: modified to use the up and down event structures correctly in each case. 07/131507/4
Gwanglim Lee [Mon, 29 May 2017 11:24:55 +0000 (20:24 +0900)]
e_bindings: modified to use the up and down event structures correctly in each case.

Change-Id: I41f381d46163e6ecca0dae6ae44dd02ab803b85d

8 years agoe_comp_wl_rsm: added support for filtering by buffer type and getting current buffer 07/130407/9
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

8 years agoe_comp_wl: add a subclass to the E_Comp_Wl_Input_Device structure 56/130756/2
JengHyun Kang [Wed, 24 May 2017 01:09:26 +0000 (10:09 +0900)]
e_comp_wl: add a subclass to the E_Comp_Wl_Input_Device structure

Change-Id: I3eeb8fda9e0aad0a6dcb0a4aa07f6cde95951e74

8 years agolaunch_splash: add code to reset ec->use_splash value 79/132079/1
Doyoun Kang [Thu, 1 Jun 2017 04:09:16 +0000 (13:09 +0900)]
launch_splash: add code to reset ec->use_splash value

there was no code to reset the ec's use_splash value. so we added it.

Change-Id: Id476d2f44fe6477e26a92abef116f97a46f30fbc

8 years agopolicy: apply deiconify_approve feature to the iconify request 18/131618/2
Doyoun Kang [Tue, 30 May 2017 07:51:19 +0000 (16:51 +0900)]
policy: apply deiconify_approve feature to the iconify request

Change-Id: If08d345d68214b7a816b42d1513d527e07ab67bd

8 years agoDivide into engine init and drm engine init 48/131848/3
SooChan Lim [Wed, 31 May 2017 01:05:17 +0000 (10:05 +0900)]
Divide into engine init and drm engine init

According to the HWC configuration, screen configuration
is set up by tdm or drm.
When hwc is on, screen initialization is done
at enlightenment with tdm.
When hwc is off, screen initiailzation is done
at drm or ecore_drm engine.

Change-Id: I560eff4810d7099025e96d5e0caa94a6c5431099
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
8 years agoe_pixmap : clear evas_image_data when destroy shared memory 01/131601/2
Sungbae Park [Tue, 30 May 2017 06:54:29 +0000 (15:54 +0900)]
e_pixmap : clear evas_image_data when destroy shared memory

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

8 years agoe_output: skip plane_fetch for unset if fb_target doesn't commit 63/131563/1
Changyeon Lee [Tue, 30 May 2017 04:27:03 +0000 (13:27 +0900)]
e_output: skip plane_fetch for unset if fb_target doesn't commit

Change-Id: Id3717038a9f22ffe1f9bcd9faa874e5fe3996295

8 years agoe_plane_renderer: query queue size to tdm layer properties 13/129913/2
Changyeon Lee [Mon, 15 May 2017 11:37:23 +0000 (20:37 +0900)]
e_plane_renderer: query queue size to tdm layer properties

Change-Id: I3fd3458a078edc4440977ab21d660ef904dc3a88

8 years agoe_info: initialize some variables 12/131412/1 accepted/tizen/unified/20170531.082639 submit/tizen/20170529.051440
Junkyeong Kim [Mon, 29 May 2017 04:54:43 +0000 (13:54 +0900)]
e_info: initialize some variables

Change-Id: I792456689a9be356245352cffe5d0b2abb9b4f24
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoe_comp_wl_input: send seat capability only to the bind requesting client 09/131309/3
JengHyun Kang [Fri, 26 May 2017 08:13:34 +0000 (17:13 +0900)]
e_comp_wl_input: send seat capability only to the bind requesting client

Change-Id: Ib13cb4e6fcbdaed0fca128cfcee1e9aa55b29041

8 years ago[e_info] enhance the '-prop' option behavior 95/131195/2
Sergey Sizonov [Tue, 25 Apr 2017 05:29:22 +0000 (08:29 +0300)]
[e_info] enhance the '-prop' option behavior

- [e_info] change the '-prop' option behavior (client side)
    Changes to support single property getting and setting,
    like xprop does, have been added on client side.
- [e-info] change the way we handle error cases (-prop opt.)
    I think the server has to reply either an error message
    or a reply message on a method call message, and a reply
    message has to contain ONLY payload, no errors.
    Also we have to close iterator before we return back
    from a method call callback.
- [e_info] split the properties getting into separate functions
    To make some property 'setable' I got to provide separate
    function for them. I think it seems reasonable to split the
    function responsible for getting properties too.
- [e_info] change the way we process an answer for '-prop' request
    As a reply for '-prop' request now can consist of several lines,
    we got to change how we process this reply.
- [e_info] remove inline keyword for _get_win_prop_xx functions
    As these functions are called via pointers it's useless to have
    them declared with inline keyword.
- [e_info] add touch capability for '-prop' option
    Now a window can be specified by a touch alongside
    id, pid or name.
- [e_info] add ability to set 'Geometry' property
- [e_info] improve otput readability for '-prop' option
- [e_info] add several _set_win_prop_xx functions
    Add an ability to set these properties:
    Window_Name, Role, Geometry, Layer, Visible,
    Focused, Iconic, Sticky, Urgent, Fullscreen,
    Redirected, Ignored.
    Note, at this moment I have no enough knowledge to
    make all propertis settable, if it's possible,
    even more changes I've made got to be checked by
    somebody who has such knowledge :-)
- [e_info] fix an issue with unclosed dbus message iterator

Change-Id: Id580761f9ea94a6f7db82e427bec9cd677e6de9b
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
8 years ago[e_info] add the wininfo option 94/131194/2
Konstantin Drabeniuk [Thu, 4 May 2017 12:03:35 +0000 (15:03 +0300)]
[e_info] add the wininfo option

- [e_info] add the wininfo option
- [e_info] add "-help", "-children", "-tree", "-id" options for the wininfo
- [e_info] add "-int", "-name" and "-pid" options for the wininfo
- [e_info] add "-wm", "-size" and "-all" options for the wininfo
- [e_info] add "-shape" option for the wininfo

Change-Id: Ie722f782a9a3b29390e71a1c5a53f4be58deaf2f
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
8 years ago[e_info] add the kill option 93/131193/2
Konstantin Drabeniuk [Wed, 12 Apr 2017 14:10:27 +0000 (17:10 +0300)]
[e_info] add the kill option

- [e_info] add the kill option
- [e_info] use the uint64_t type instead the int32_t for window id
    We have some error when a window id exceeds INT_MAX, because
    the Ecore_Window is the uintptr_t type and the  window id the
    int32_t type. I think we need use the uint64_t(for arm7l and arm64)
    type instead the int32_t type for window id.
- [e_info] add the id suboption for the kill
- [e_info] add the name suboption for the kill
- [e_info] add the "-pid" and the "-all" suboptions for the kill

Change-Id: I304592eb6c1daf33e9203be1a15092d94b6f8006
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
8 years agoremote_surface: added remote surface option to enlightenment_info 33/131033/3
MinJeong Kim [Thu, 18 May 2017 11:20:36 +0000 (20:20 +0900)]
remote_surface: added remote surface option to enlightenment_info

Change-Id: I9e128a5beb68393570e0c88d3773d4192426bfbd
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
8 years agoe_client: add vkbd.floating not to add conformant_region 14/131114/1
Juyeon Lee [Thu, 25 May 2017 10:59:06 +0000 (19:59 +0900)]
e_client: add vkbd.floating not to add conformant_region

Change-Id: Ieb83a40377e5d61ad362803f792717efb74b3b2e

8 years agoe_info_server: Added a new hook 70/129770/8
Dipen Somani [Thu, 18 May 2017 05:21:00 +0000 (10:51 +0530)]
e_info_server: Added a new hook

Change-Id: I82214877fbbea9a623b1aa46ec266191e8cbefb6
Signed-off-by: Dipen Somani <dipen.somani@samsung.com>
8 years agoe_transform: Add a new API 00/130500/7
JengHyun Kang [Mon, 22 May 2017 12:20:48 +0000 (21:20 +0900)]
e_transform: Add a new API
 - e_util_transform_matrix_inv_coords_get() is needed because
   e_transform matrix result and Evas_Map result are different

Change-Id: Idc7bf07758992f3b9136c9c6aa14cd258e9d425b

8 years agoe_info_server: change internal module hook api name
Juyeon Lee [Tue, 23 May 2017 06:50:50 +0000 (15:50 +0900)]
e_info_server: change internal module hook api name

Change-Id: I3891db0375e3b781b7ca223b7d0731e25f44b515

8 years agoe_policy_wl: add code to handle a role for cursor window
Doyoun Kang [Tue, 23 May 2017 04:37:04 +0000 (13:37 +0900)]
e_policy_wl: add code to handle a role for cursor window

If the window's role is set to "wl_pointer-cursor", then e considers it to cursor window.
And e skips the cursor window while handling tizen splash image.

Change-Id: Ibde721aec6faa1e7f60610bc0dd39699aa1be35b

8 years agoe_config: save and load config in user space 62/129962/4
Juyeon Lee [Thu, 18 May 2017 14:18:10 +0000 (23:18 +0900)]
e_config: save and load config in user space

Load cfg data 1st from /var/lib/enlightenment/.e while e_config_init
If no data under the dir. let's copy it from the installed and re-load
If there is E_CONF_RO exported or failure again, than it falls back to load cfgs
from the system cfgs at /usr/share/enlightenment/data/config

Change-Id: If13b3d356cd12d8aeab99aab727185942ea3d9fa

8 years agoe_privilege: added E_PRIVILEGE_SYSTEM_INFO_READ for checking client whether it has... 66/129766/3
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

8 years agoe_comp_wl_rsm: changed to use EINA_SAFETY for checking validation of tizen remote... 54/129754/3
Gwanglim Lee [Thu, 18 May 2017 04:55:23 +0000 (13:55 +0900)]
e_comp_wl_rsm: changed to use EINA_SAFETY for checking validation of tizen remote surface requests

Change-Id: I22eeb3b37460712162535ecd758a38326770cd3b

8 years agoe_plane: consider the output transform when showing a buffer to HW layer 66/129866/2
Boram Park [Thu, 18 May 2017 07:58:08 +0000 (16:58 +0900)]
e_plane: consider the output transform when showing a buffer to HW layer

if output is transformed, the position of a buffer on screen should be also
transformed.

Change-Id: I34be071ca58d8afb979db1f60454bcea822fe9a1

8 years agoe_comp: not enable hwc if client's buffer is not transformed 65/129865/2
Boram Park [Thu, 18 May 2017 07:56:40 +0000 (16:56 +0900)]
e_comp: not enable hwc if client's buffer is not transformed

if the buffer transform of surface is not same with output's transform, we
can't show it to HW overlay directly.

Change-Id: I4c616c71b13af9b836f9a3b69f35940aa3df2d0e

8 years agoe_compl_wl.c: Send pointer_leave event to all wl_pointer objects in a client 95/129195/2
ritesh.u [Mon, 15 May 2017 10:25:07 +0000 (15:55 +0530)]
e_compl_wl.c: Send pointer_leave event to all wl_pointer objects in a client

Change-Id: I26b204732c47165fcd0c08fe38fff5ce8ee2589d
Signed-off-by: ritesh.u <ritesh.u@samsung.com>
8 years agoe_pixmap: checking if ec->comp_data is valid 40/129640/1 accepted/tizen/unified/20170517.125612 submit/tizen/20170517.050332 tizen_4.0.m1_release
Boram Park [Wed, 17 May 2017 08:32:59 +0000 (17:32 +0900)]
e_pixmap: checking if ec->comp_data is valid

Change-Id: I54f5ffa19adce8e0c013b787b85b35ceeeaac0a4

8 years agoe_comp_object: checking if ec->comp_data is valid 39/129639/1
Boram Park [Wed, 17 May 2017 08:14:35 +0000 (17:14 +0900)]
e_comp_object: checking if ec->comp_data is valid

Change-Id: I6a991f0da608bdcfff52d644e3fdc2e96518b771

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

Change-Id: I0f840cc2a2816561ec98380fc8dc526f6abaace5

8 years agoe_output: return null if output disconnected in e_output_best_mode_find() 05/128905/2
Junkyeong Kim [Fri, 12 May 2017 04:55:35 +0000 (13:55 +0900)]
e_output: return null if output disconnected in e_output_best_mode_find()

Change-Id: Ia24e3468f3810b66047616e5576c1eee3755292c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>