platform/upstream/enlightenment.git
6 years agotransient_for: apply transient_for stack while handling map window 84/195684/3 accepted/tizen/unified/20181219.063254 submit/tizen/20181218.082737
Doyoun Kang [Mon, 17 Dec 2018 07:54:49 +0000 (16:54 +0900)]
transient_for: apply transient_for stack while handling map window

We add code to change window stack if it has a transient_for window when it is mapped.
For this, enlihghtenment does not send pre-visibility event when the window which set
transient_for to fully-obscured parent is mapped.

Change-Id: Ie96081f84277893cfbba9c283b4725867021992d

6 years agoadd e_event for tracing rendering, effect_start/end
Juyeon Lee [Wed, 12 Dec 2018 04:39:51 +0000 (13:39 +0900)]
add e_event for tracing rendering, effect_start/end

Change-Id: I4caf39648d1334ef9c1d623157926877d5185b03

6 years agoquickpanel: added support for getting ec list of qp services 82/195682/2 accepted/tizen/unified/20181217.142022 submit/tizen/20181212.030325
Gwanglim Lee [Mon, 17 Dec 2018 08:11:40 +0000 (17:11 +0900)]
quickpanel: added support for getting ec list of qp services

Change-Id: I739aae196a25b790cd5bbf859da6aa18bf76c9d3

6 years agoe_comp_object: Save render op value when set a mask object. 42/195642/1
Seunghun Lee [Mon, 17 Dec 2018 02:52:39 +0000 (11:52 +0900)]
e_comp_object: Save render op value when set a mask object.

Render op value should be saved to restore when it should be restored.

NOTE: DO NOT change the render op on ec->frame while mask object is set.
It's obvious to overwrite the changed op value when mask is unset.

Change-Id: I5b2807bdb69917156560956db9f0191a99b04a2c

6 years agoe_comp_wl_shell: add error log for map window 20/195620/2
Doyoun Kang [Mon, 17 Dec 2018 00:43:35 +0000 (09:43 +0900)]
e_comp_wl_shell: add error log for map window

Change-Id: I03f6953f36fdf2a65e72b9cad03ef60696fc9ec3

6 years agoe_hwc_window_queue: don't destory the queue for the target_window 18/195618/2
SooChan Lim [Sun, 16 Dec 2018 07:50:24 +0000 (16:50 +0900)]
e_hwc_window_queue: don't destory the queue for the target_window

Change-Id: I73253e4171e11907892e829a63f82b699a719ab3

6 years agoe_hwc_windows: implement the fps 08/194708/3
SooChan Lim [Fri, 7 Dec 2018 04:45:13 +0000 (13:45 +0900)]
e_hwc_windows: implement the fps

Change-Id: Ibf55d9097de11904df0a2b6a2f020a925c1da91c

6 years agoe_hwc_window: modify the cursor 61/194661/2
SooChan Lim [Thu, 6 Dec 2018 23:12:47 +0000 (08:12 +0900)]
e_hwc_window: modify the cursor

The e20 sends the virtual pointer to the tdm_hwc.
The tdm_hwc decides the hwc policy for the cursor with
the cursor information.
The tdm_hwc will display the cursor with the cursor image,
the rotation and the position information.

Change-Id: I2d908b8e38baf663bbecb2c200a87e9445be115a

6 years agoe_hwc_windows: do not deal with quickpanel policy 60/194660/2
SooChan Lim [Thu, 6 Dec 2018 23:11:13 +0000 (08:11 +0900)]
e_hwc_windows: do not deal with quickpanel policy

The quickpanel policy has to be deal at tdm backend.

Change-Id: I465db0bfeba04e84c1a0d455d49a8a2971576086

6 years agoe_client/e_pixmap: add log for pixmap 46/195546/1
Doyoun Kang [Fri, 14 Dec 2018 07:30:14 +0000 (16:30 +0900)]
e_client/e_pixmap: add log for pixmap

Change-Id: If2d93e3974d57fc68938862adadd2841019d7190

6 years agoMakefile: Remove 'E_VIDEO_CPPFLAGS' and add video directory to 'E_CPPFLAGS' 55/195255/1
Seunghun Lee [Wed, 12 Dec 2018 03:11:19 +0000 (12:11 +0900)]
Makefile: Remove 'E_VIDEO_CPPFLAGS' and add video directory to 'E_CPPFLAGS'

all executable binary and module which include e.h should include video as well.

Change-Id: Id285be91dca6431a3874d0b40088717e007374e2

6 years agoe_comp_wl: Added defensive code to check whether comp_data is NULL. 54/195254/1
Seunghun Lee [Wed, 12 Dec 2018 02:52:05 +0000 (11:52 +0900)]
e_comp_wl: Added defensive code to check whether comp_data is NULL.

There seems the case that some client doesn't have comp_data such as
launchscreen and client got to know this resource id for some reason.
To prevent from crashing enlightenment, this patch added check code.

Change-Id: I0952afe731557b950bd6f4fc3d5321ea9844e424

6 years agovideo: Added 'src/bin/video' directory to CFLAGS and remove relative path for video... 51/195251/2
Seunghun Lee [Wed, 12 Dec 2018 02:21:45 +0000 (11:21 +0900)]
video: Added 'src/bin/video' directory to CFLAGS and remove relative path for video from "e.h"

this fixes build break of modules.

Change-Id: I5eb37f2bb552136b18a6a5d21d8aff4e3dc90fe2

6 years agovideo: Remove obsolete check code 'video_client'
Seunghun Lee [Fri, 7 Dec 2018 08:06:27 +0000 (17:06 +0900)]
video: Remove obsolete check code 'video_client'

Once successfully initialized the 'e_video_hwc_plane', then video_client flag is
always true. No need to check it.

Change-Id: I93db5bd97fea5f58446a1ceb98b5eca30530f60f

6 years agovideo: remove unnecessary eom enable check code.
Seunghun Lee [Fri, 7 Dec 2018 02:06:41 +0000 (11:06 +0900)]
video: remove unnecessary eom enable check code.

external_video would be set as true when instance is created if eom is enabled.
thus no need to check eom is enabled other places. It's enough to check whether
external_video flag is on.

Change-Id: I6d2253dd55c57dfa17a635f48d9101c003819720

6 years agovideo: remove duplicated check code.
Seunghun Lee [Fri, 7 Dec 2018 01:50:03 +0000 (10:50 +0900)]
video: remove duplicated check code.

Change-Id: I7083eed80bd4e859672dea94304433d098c508bf

6 years agovideo: Added 'src/bin/video' directory to CFLAGS and remove relative path for video...
Seunghun Lee [Wed, 12 Dec 2018 02:21:45 +0000 (11:21 +0900)]
video: Added 'src/bin/video' directory to CFLAGS and remove relative path for video from "e.h"

this fixes build break of modules.

Change-Id: I3250a14b88e22483d1d5a13a71068eebed0f939e

6 years agoquickpanel: add support for context menu type 30/191730/11 submit/tizen/20181211.081840
Gwanglim Lee [Tue, 23 Oct 2018 04:21:14 +0000 (13:21 +0900)]
quickpanel: add support for context menu type

Change-Id: I366e6f6f8ae6ba72d18dd4dc479838fb8e8e3d6b

6 years agoe_plane_renderer: don't use tbm_surface_queue func in alloc callback 07/195007/1
Changyeon Lee [Mon, 10 Dec 2018 04:58:34 +0000 (13:58 +0900)]
e_plane_renderer: don't use tbm_surface_queue func in alloc callback

Change-Id: Iaa2361027cc1405e3a9e0ea8de33ee59bbc31186

6 years agoe_client: reindent code properly 69/194669/1
Gwanglim Lee [Fri, 7 Dec 2018 02:03:21 +0000 (11:03 +0900)]
e_client: reindent code properly

Change-Id: I5ba9fbd60ebee936ff9f31f976460f214a831e8f

6 years agoe_client: removed unused qtopia hint flags 66/194666/1
Gwanglim Lee [Fri, 7 Dec 2018 01:54:30 +0000 (10:54 +0900)]
e_client: removed unused qtopia hint flags

Change-Id: Iacf3fb092aee848c4abc9b76c8de74c7c455aeb8

6 years agoAdded APIs to handle displaying video internally. 57/194357/6
Seunghun Lee [Thu, 22 Nov 2018 07:12:09 +0000 (16:12 +0900)]
Added APIs to handle displaying video internally.

Created APIs of 'E_Client_Video' which handles displaying video client
automatically. 'E_Client_Video' will make interface internally according to
its capable of hardware compositing.

3 headers are introduced, and purpose of each header is as follow.
 - e_video_debug.h: Set and get video debug setting.
 - e_client_video.h: Handle given E_Client as a video client.
 - e_zone_video.h: Provides informations of corresponding E_Zone which is needed
                   by video implementation.

Change-Id: Ia5e7cbf3dfa17c85c605f68675e9375b84a347e1

6 years agoStored transform value at 'E_Comp_Wl_Buffer' and update its value whenever wl_buffer... 20/194520/1
Seunghun Lee [Tue, 4 Dec 2018 23:49:21 +0000 (08:49 +0900)]
Stored transform value at 'E_Comp_Wl_Buffer' and update its value whenever wl_buffer get attached.

In case wl_buffer was binded with tbm_surface, buffer has a transform value.
(see 'wayland-tbm.xml')

It used to be acquired by calling wayland_tbm_server_buffer_get_buffer_transform
with passing wl_resource whenever the value is needed, but this caused that
couldn't get transform properly when backup buffer is used by hw composer.
(Backup buffer has no wl_resource, it means resource of 'E_Comp_Wl_Buffer' can
be null.) This patch fixes this case.

Change-Id: I7ad584654fb03202434aef9157736b7de411c6a5

6 years agoe_plane_renderer: call evas_norender if client is set to fb target plane 16/194416/2
Changyeon Lee [Tue, 4 Dec 2018 06:03:39 +0000 (15:03 +0900)]
e_plane_renderer: call evas_norender if client is set to fb target plane

input event need to render call even if rendering of compositing
isn't needed. so e_plane_renderer call evas_norender.

Change-Id: Icd8185a9d65cf47e45ae0f26a1172e7a46d83cbc

6 years agoe_pixmap: end hwc of ec if ec is on overlay in e_pixmap_buffer_clear 64/194364/1
Changyeon Lee [Mon, 3 Dec 2018 11:53:49 +0000 (20:53 +0900)]
e_pixmap: end hwc of ec if ec is on overlay in e_pixmap_buffer_clear

Change-Id: I130f06d7715ab03906d406d8111723f844957af6

6 years agoe_plane_renderer: use fetch buffer when recover buffer 31/194131/1 accepted/tizen/unified/20181130.065014 submit/tizen/20181129.110726
Changyeon Lee [Thu, 29 Nov 2018 07:17:48 +0000 (16:17 +0900)]
e_plane_renderer: use fetch buffer when recover buffer

Change-Id: I587cdc687aa143528241a77c8ad186a4a421c36e

6 years agoe_hwc: don't allow hwc if ec is animating 49/194049/2
Changyeon Lee [Wed, 28 Nov 2018 11:30:39 +0000 (20:30 +0900)]
e_hwc: don't allow hwc if ec is animating

Change-Id: I3c63e1012b86f2431ee7e5fefb6dabe1b38581d5

6 years agoe_hwc: don't allow hwc if comp_override of ec is positive 48/194048/2
Changyeon Lee [Wed, 28 Nov 2018 11:28:20 +0000 (20:28 +0900)]
e_hwc: don't allow hwc if comp_override of ec is positive

Change-Id: Ic15e51591bdfa1b1df3240e2e4533bb99d010572

6 years agoe_hwc_window: change the prefix of the window constraint 76/194076/1
SooChan Lim [Thu, 29 Nov 2018 00:48:18 +0000 (09:48 +0900)]
e_hwc_window: change the prefix of the window constraint

Change-Id: I89a5d24cc8edddf341356a4d72f7c8a54eeefa5e

6 years agoe_hwc_windows: change the accept_changes to the accept_validation 75/194075/1
SooChan Lim [Thu, 29 Nov 2018 00:47:06 +0000 (09:47 +0900)]
e_hwc_windows: change the accept_changes to the accept_validation

Change-Id: I2b3a74722c481d837b9cdd3f035802f315f2ba26

6 years agoe_hwc_window: use e_hwc_window_state_set 25/194025/1
SooChan Lim [Wed, 28 Nov 2018 10:13:54 +0000 (19:13 +0900)]
e_hwc_window: use e_hwc_window_state_set

Change-Id: Ib66cbc94ed6911e413a9c5f23346939f221c31f0

6 years agoe_hwc_windows: move the target_window stuffs to the e_hwc_windows 24/194024/1
SooChan Lim [Wed, 28 Nov 2018 08:04:49 +0000 (17:04 +0900)]
e_hwc_windows: move the target_window stuffs to the e_hwc_windows

Change-Id: I686d7ce05c70459540cdb6811bddbf44e58bfef2

6 years agoe_hwc_window_queue: remove exported_destroy_listener at the exported_buffer_destroy... 23/194023/1
SooChan Lim [Tue, 27 Nov 2018 23:27:38 +0000 (08:27 +0900)]
e_hwc_window_queue: remove exported_destroy_listener at the exported_buffer_destroy callback

Change-Id: Idf38530cf321cbe9284470e9909b0c5990ef2261

6 years agoe_hwc_windows: check the list_count before destroy the list 22/194022/1
SooChan Lim [Tue, 27 Nov 2018 01:24:38 +0000 (10:24 +0900)]
e_hwc_windows: check the list_count before destroy the list

Change-Id: I833f4e9700255648633c83aa8ce795c8582d4445

6 years agoe_hwc_windows: update the visible windows at first 21/194021/1
SooChan Lim [Tue, 27 Nov 2018 01:20:59 +0000 (10:20 +0900)]
e_hwc_windows: update the visible windows at first

Change-Id: I6732a757ec0fcfde03340cc8ba6fee82685847c5

6 years agoe_hwc_window_queue: do not destroy the equeue at _e_hwc_window_queue_cb_destroy. 20/194020/1
SooChan Lim [Mon, 26 Nov 2018 01:52:43 +0000 (10:52 +0900)]
e_hwc_window_queue: do not destroy the equeue at _e_hwc_window_queue_cb_destroy.

It makes the curruption when it destroys the equeue in the callback function

Change-Id: Ic05866c04a10a8def6acec77a80ace789ea4c89a

6 years agoe_hwc_windows: donot set fullscreen gl composition at E_COMP_OBJECT_CONTENT_TYPE_INT_... 19/194019/1
SooChan Lim [Mon, 26 Nov 2018 01:46:39 +0000 (10:46 +0900)]
e_hwc_windows: donot set fullscreen gl composition at E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE

Change-Id: I5ebeaf0f66f8a9e1f1f3c150a6a47e92babaac8d

6 years agoe_hwc_windows: print the visible windows for debugging 18/194018/1
SooChan Lim [Mon, 26 Nov 2018 01:44:48 +0000 (10:44 +0900)]
e_hwc_windows: print the visible windows for debugging

Change-Id: I474b7cc5ea982ad01f0542aec73233118b211730

6 years agoe_hwc_window: use the address of the ee_rendered_hw_list_key as the key 17/194017/1
SooChan Lim [Mon, 26 Nov 2018 01:40:41 +0000 (10:40 +0900)]
e_hwc_window: use the address of the ee_rendered_hw_list_key as the key

Change-Id: I40257c5e23097cc522072129c2a0c30a0e0d6ea6

6 years agosupport tzsh_softkey_service protocol 01/193901/3 accepted/tizen/unified/20181128.144719 submit/tizen/20181127.104536
Doyoun Kang [Tue, 27 Nov 2018 09:42:13 +0000 (18:42 +0900)]
support tzsh_softkey_service protocol

Change-Id: I1ebbc1289994e17a0f815fa109ca0f09d88e35ac

6 years agoe_info: added '-trace serial' to print tbm serial updates 11/193511/2
Juyeon Lee [Wed, 21 Nov 2018 09:43:40 +0000 (18:43 +0900)]
e_info: added '-trace serial' to print tbm serial updates

Change-Id: I5f94e220250f00988bf0194af62f06ad832ad1a9

6 years agoe_info: -hwc -hwc_trace are changed 07/193507/4
Juyeon Lee [Wed, 21 Nov 2018 07:43:13 +0000 (16:43 +0900)]
e_info: -hwc -hwc_trace are changed

-hwc : had on and off option, added 3rd option to print out hwc information
       0 means hwc policy deactive
       1 means hwc policy active
       2 means prints out plane info regarding hwc
-trace : the option name is changed from -hwc_trace to -trace
       for the genernal purpose of log trace
       -trace hwc 1,0 turns on and off of plane_trace_debug

Change-Id: Ia0f68615558a8eab010d294e03b2f4b8537b81a8

6 years agoe_xdg_shell_v6: change condition for client's surface commit
Juyeon Lee [Mon, 26 Nov 2018 04:52:30 +0000 (13:52 +0900)]
e_xdg_shell_v6: change condition for client's surface commit

whenever client set and unset its user geometry,
configure event with width and height(zero or screen size) is sent to client.
when user geometry gets unset, sometimes client commit serveral times
with invalid size buffer, and right size buffer after a while eventually.
in that case e20 was not adjust its ec->frame size refer to delayed commit(the right size)
because of this issue, make client to be changed by their commit buffer size

in addition to that, added new condition for error
(a commit which attempts configure prior to the first xdg_surface.configure is error)

Change-Id: I1e7279db49fa1fb7bce0be63c82f143b8394c6ca

6 years agosupport tzsh_softkey protocol 96/183696/3
Doyoun Kang [Tue, 10 Jul 2018 06:08:59 +0000 (15:08 +0900)]
support tzsh_softkey protocol

Change-Id: I19dabded95beaacf5c34a172c10b047a3264b97a

6 years agoe_client: consider ec's bg_state while handling focus 91/193691/1 accepted/tizen/unified/20181126.143053 submit/tizen/20181125.235238
Doyoun Kang [Fri, 23 Nov 2018 08:26:57 +0000 (17:26 +0900)]
e_client: consider ec's bg_state while handling focus

Change-Id: I5fd1873fac533199750798fcb6b0dac5aa48c91c

6 years agoadd a bg_state value in E_Client to handle background state 68/193668/1
Doyoun Kang [Fri, 23 Nov 2018 03:07:22 +0000 (12:07 +0900)]
add a bg_state value in E_Client to handle background state

There was a bug that the visibility was changed to fully-obscured <-> un-obsucred continuously
when an application set a background state.
This patch fixes this bug.

Change-Id: I43f3486e02b7fb9fe30d68d5e09f5fc06269b4b8

6 years agovisibility: add some information in the visibility log 14/193614/2
Doyoun Kang [Thu, 22 Nov 2018 08:19:10 +0000 (17:19 +0900)]
visibility: add some information in the visibility log

Change-Id: Ic3465f425aa109ecc9c6454ff15416538868b6a2

6 years agoe_comp: remove unnecessary log 34/193534/1
Changyeon Lee [Wed, 21 Nov 2018 12:43:23 +0000 (21:43 +0900)]
e_comp: remove unnecessary log

Change-Id: I2f209049408a4ffd9ae62f4d33cc081d57406e5b

6 years agofocus: apply focus history 97/184697/42
JunSeok, Kim [Wed, 27 Jun 2018 11:40:04 +0000 (20:40 +0900)]
focus: apply focus history

Focus history is list of E_Clients that have been focused.
in focus history, E_Client can exist only one and sorted by latest focused.

Revert focus is called when there are no focused E_Client.
If revert focus called then find next focus in turn on the focus history.

Change-Id: I2e72b47c24579bdbf287e815c6dca7e9f56d7c9c

6 years agoe_client: fix wrong bit field for surface sync 94/193394/1
Juyeon Lee [Tue, 20 Nov 2018 06:52:38 +0000 (15:52 +0900)]
e_client: fix wrong bit field for surface sync

Change-Id: I5035b66d60a8b7d9dda14a962e366adc48cd1711

6 years agoe_comp: define e_comp_client_render_list_add 41/193341/1 accepted/tizen/5.0/unified/20181120.061311 accepted/tizen/unified/20181120.061336 submit/tizen/20181119.115215 submit/tizen_5.0/20181119.115322
Changyeon Lee [Mon, 19 Nov 2018 12:01:21 +0000 (21:01 +0900)]
e_comp: define e_comp_client_render_list_add

Change-Id: I6b964f29506c75489a119df3a6a7aae06330f1de

6 years agoe_comp_wl: don't change usable of pixmap if state of ec is unmap
Changyeon Lee [Mon, 19 Nov 2018 11:30:04 +0000 (20:30 +0900)]
e_comp_wl: don't change usable of pixmap if state of ec is unmap

Change-Id: Id9b6246b95938ee66e88a072462bc922c2946dde

6 years agoe_plane_renderer: delay send release event until rendering of compositor is done
Changyeon Lee [Mon, 19 Nov 2018 10:10:32 +0000 (19:10 +0900)]
e_plane_renderer: delay send release event until rendering of compositor is done

e20 send release event when receive buffer of next frame and render post callback of
current frame in compositing.
it is possible that client use buffer while compositor is using buffer as the source.

Change-Id: Ifaaf1359bbcd15cf2ef94eb40144a7663e92dcd0

6 years agoe_comp: add render_list to e_comp
Changyeon Lee [Mon, 19 Nov 2018 10:06:22 +0000 (19:06 +0900)]
e_comp: add render_list to e_comp

clients that are composited at current frame are append to the render list.

Change-Id: Ib9a814b4d87a741420e9c1625326077d2054182a

6 years agoe_pixmap: add e_pixmap_ref_resource_get
Changyeon Lee [Mon, 19 Nov 2018 02:23:41 +0000 (11:23 +0900)]
e_pixmap: add e_pixmap_ref_resource_get

Change-Id: I7d8971e77f42a5a9f1c25b19ed256940467fe4cd

6 years agoe_hwc_windows: enhance the logs 38/193338/1
SooChan Lim [Mon, 19 Nov 2018 10:31:29 +0000 (19:31 +0900)]
e_hwc_windows: enhance the logs

Change-Id: I79d5799f6446cb5fceb66a04527f890e1f475bc5

6 years agoe_hwc_window: change the prefix of the TDM_COMPOSITION_ 27/193327/1
SooChan Lim [Mon, 19 Nov 2018 09:52:28 +0000 (18:52 +0900)]
e_hwc_window: change the prefix of the TDM_COMPOSITION_

Change-Id: I8b381930a502ba43e4286be5d9eb62102ac2c1f3

6 years agoe_hwc_windows: change the tdm_hwc_accept_changes to the tdm_hwc_accept_validation 26/193326/1
SooChan Lim [Mon, 19 Nov 2018 09:50:26 +0000 (18:50 +0900)]
e_hwc_windows: change the tdm_hwc_accept_changes to the tdm_hwc_accept_validation

Change-Id: Ifb49b627a0df2add796c96ea2b506957eaaf024e

6 years agoe_hwc_window: do not make all windows be clients at UI subsurface case 25/193325/1
SooChan Lim [Mon, 19 Nov 2018 09:43:18 +0000 (18:43 +0900)]
e_hwc_window: do not make all windows be clients at UI subsurface case

Change-Id: Ie908d0a34a3fa93c6373b46294c4c9156451e869

6 years agoe_hwc_window_queue: use the address of the tqueue as the key 24/193324/1
SooChan Lim [Mon, 19 Nov 2018 09:41:37 +0000 (18:41 +0900)]
e_hwc_window_queue: use the address of the tqueue as the key

Change-Id: Ib132b00663e774ee19bd6410e181141f3e2cacea

6 years agoe_hwc_window: change the logic to check windows on target 23/193323/1
SooChan Lim [Mon, 19 Nov 2018 09:38:42 +0000 (18:38 +0900)]
e_hwc_window: change the logic to check windows on target

Change-Id: Id7091c0e3518f22708cb83648e474273312913b3

6 years agoe_test_helper: register ec when window is registered. 99/192299/2 accepted/tizen/unified/20181115.151628 submit/tizen/20181115.031559
JunSeok, Kim [Fri, 2 Nov 2018 05:31:21 +0000 (14:31 +0900)]
e_test_helper: register ec when window is registered.

there was so many timeout occured when e-tizen-testcase doing waitEvent.
when event occured, event callback checks their registrant's ec.
but, original code was registed ec when visibility event came up
and it makes timeout issue due to the ec isn't registed.

So, this patch register window's ec instantly to prevent timeout.

Change-Id: Id34968c58497ac9233e1d7f1f6f86c6efeb06d3c

6 years agoe_comp_wl_rsm: capture image with keyboard 18/193018/1
Doyoun Kang [Wed, 14 Nov 2018 02:21:48 +0000 (11:21 +0900)]
e_comp_wl_rsm: capture image with keyboard

Change-Id: I69fdc3d5c8b6b417ff5d4cc0b13c0c93f0e29994

6 years agoe_dbus_conn: added E_DBUS_CONN_INIT_RETRY_INTERVALS to support 42/192742/4 accepted/tizen/5.0/unified/20181115.063706 accepted/tizen/unified/20181114.074436 submit/tizen/20181114.011255 submit/tizen_5.0/20181114.012131
Gwanglim Lee [Fri, 9 Nov 2018 02:28:32 +0000 (11:28 +0900)]
e_dbus_conn: added E_DBUS_CONN_INIT_RETRY_INTERVALS to support
time intervals during retrying D-BUS connection.

If user wants to connect with D-BUS through another thread,
then we also need to check that wants to use time intervals
during retrying connection.

It is required for some systems which don't support sync call
for connecting D-BUS to avoid thread problems.

Change-Id: Id151b3fc722e34d6a52aa28d5cdfc392d76a5edb

6 years agoe_output: get touched information from e_input insteads of e_comp_wl 43/192643/4
jeon [Tue, 6 Nov 2018 09:52:15 +0000 (18:52 +0900)]
e_output: get touched information from e_input insteads of e_comp_wl

Change-Id: Ie008c2606af890a3e06600c1ea7f8f63ba692fbb

6 years agoe_input: support a function to get currently touched fingers 36/192636/2
jeon [Wed, 7 Nov 2018 07:40:14 +0000 (16:40 +0900)]
e_input: support a function to get currently touched fingers

  - unsigned int ecore_drm_device_touch_pressed_get()

Change-Id: Ic5691f34eff430a2ccc4374ab2ff3e66a1886691

6 years agoe_plane_renderer: get the transform before checking config.rotation 02/192902/1
SooChan Lim [Mon, 12 Nov 2018 12:56:10 +0000 (21:56 +0900)]
e_plane_renderer: get the transform before checking config.rotation

Change-Id: I4f19aaa9d4127d426af00d1031391fac51ef4f6e

6 years agoe_hwc_planes: fix the typo 01/192901/1
SooChan Lim [Mon, 12 Nov 2018 12:52:19 +0000 (21:52 +0900)]
e_hwc_planes: fix the typo

Change-Id: I060c649d7e76ec7e12eff9361291ccfb6fec8b55

6 years agoe_hwc_planes: allow begin hwc even if nocomp_override is positive 55/192855/1 accepted/tizen/unified/20181113.085937 submit/tizen/20181112.074735
Changyeon Lee [Fri, 9 Nov 2018 09:14:58 +0000 (18:14 +0900)]
e_hwc_planes: allow begin hwc even if nocomp_override is positive

some hwc module want to use hwc even if nocomp_override is positive.
core policy of hwc set all plane to null when nocomp_override is positive.
if hwc module prepare client to plane, hwc mode is begined.

Change-Id: I6bef487acac93698570c177394e3df02bbe07985

6 years agoe_plane: force render when set/unset_counter are set 54/192854/1
Changyeon Lee [Mon, 29 Oct 2018 05:57:28 +0000 (14:57 +0900)]
e_plane: force render when set/unset_counter are set

Change-Id: I4287be9aa07e364dd318129774da798ad71b115f

6 years agoe_plane_renderer: send output_transform event regardless of current transform 53/192853/1
Changyeon Lee [Thu, 8 Nov 2018 10:05:54 +0000 (19:05 +0900)]
e_plane_renderer: send output_transform event regardless of current transform

Change-Id: Ia104e0b2ce31bf4150c15f6215ffa97d24c22e89

6 years agoe_hwc: unset plane if ec of plane and ec are same 52/192852/1
Changyeon Lee [Fri, 9 Nov 2018 08:55:01 +0000 (17:55 +0900)]
e_hwc: unset plane if ec of plane and ec are same

Change-Id: Ia456f707c5b6e5deb1e1b17a64060ac7b183a56f

6 years agoe_hwc_windows: fix the transition state 59/192759/3
SooChan Lim [Fri, 9 Nov 2018 06:07:46 +0000 (15:07 +0900)]
e_hwc_windows: fix the transition state

Change-Id: Ia917d5dcb6a2ebf9cd4f8c47808593235bf8cbff

6 years agoe_hwc_windows: change the mode_get to the mode_update 57/192757/2
SooChan Lim [Fri, 9 Nov 2018 05:59:16 +0000 (14:59 +0900)]
e_hwc_windows: change the mode_get to the mode_update

Change-Id: I65289d69490de6a4aa04c551c656bf3617b1657d

6 years agoe_hwc_window: change the goto label 56/192756/2
SooChan Lim [Fri, 9 Nov 2018 05:39:31 +0000 (14:39 +0900)]
e_hwc_window: change the goto label

Change-Id: I0e5e8cb00a441f84d9d2d3fa2516597de27dedfa

6 years agoe_hwc_window_queue: refactor the e_hwc_window_queue 55/192755/2
SooChan Lim [Mon, 5 Nov 2018 06:24:40 +0000 (15:24 +0900)]
e_hwc_window_queue: refactor the e_hwc_window_queue

Change-Id: I2a971e08967f54a8eb33989f901f3c3952e33fd5

6 years agoe_client: consider ec's zone size when check fully contain by above 58/192658/2
JunSeok, Kim [Wed, 7 Nov 2018 10:05:04 +0000 (19:05 +0900)]
e_client: consider ec's zone size when check fully contain by above

there was a irregular focus bug during check fully contain by above.
when the below ec's size is bigger then above ec and display size,
the function returns it isn't fully covered by above window despite the above is fullsize window.

so, corrected this bug with clip the below ec's size to their zone size.

Change-Id: I0e136409ee85b939eaf39d307e0b90fbcbcb800e

6 years agoe_devicemgr: use ecore event handler insteads of event filter 15/191415/5 accepted/tizen/5.0/unified/20181108.074417 submit/tizen/20181107.044109 submit/tizen_5.0/20181107.044303
JengHyun Kang [Wed, 17 Oct 2018 02:00:48 +0000 (11:00 +0900)]
e_devicemgr: use ecore event handler insteads of event filter

Change-Id: Ieee6c559fed96ab67b0c174d1c1b03bd5437bec0

6 years agoe_input: do not use E_INPUT_EVENT_INPUT_DEVICE_ADD/DEL events 54/191054/9
JengHyun Kang [Thu, 11 Oct 2018 05:37:32 +0000 (14:37 +0900)]
e_input: do not use E_INPUT_EVENT_INPUT_DEVICE_ADD/DEL events

 - use ECORE_EVENT_DEVICE_ADD/DEL events for notify device add/remove

Change-Id: I17d3b742693508c7f472acb50a57c15853e1bc02

6 years agoe_hwc_window_queue: move the user_pending_set_add call 44/192344/4
SooChan Lim [Fri, 2 Nov 2018 09:55:02 +0000 (18:55 +0900)]
e_hwc_window_queue: move the user_pending_set_add call

Change-Id: I38e4798e41279413a72849a1e274e49fdb4f85c9

6 years agoe_hwc_window_queue: change the internal function names. 29/192329/3
SooChan Lim [Fri, 2 Nov 2018 08:00:35 +0000 (17:00 +0900)]
e_hwc_window_queue: change the internal function names.

Change-Id: I26787310517ddee43e09a8693c6fe7fa5a9a0a2e

6 years agoe_hwc_window_queue: switch the pending to the waiting 24/192324/2
SooChan Lim [Fri, 2 Nov 2018 07:36:19 +0000 (16:36 +0900)]
e_hwc_window_queue: switch the pending to the waiting

The pending means that the queue does not decide the candidate user yet.
The waiting means that the queue decide the candidate user and
the queue is waiting the exported buffer to the candidate user.

Change-Id: I1cd4d0d2526d7b3e6b8fc51882213e67afb61269

6 years agoe_hwc_window_queue: refactor the code 96/192296/3
SooChan Lim [Fri, 2 Nov 2018 05:25:05 +0000 (14:25 +0900)]
e_hwc_window_queue: refactor the code

Change-Id: I230dd04cb99cc5910695b3d3c7b2eba7907fbd4e

6 years agoe_hwc_window_queue: Do not check the cqueue in the e_hwc_window_queue_user_set 94/192294/2
SooChan Lim [Fri, 2 Nov 2018 05:08:47 +0000 (14:08 +0900)]
e_hwc_window_queue: Do not check the cqueue in the e_hwc_window_queue_user_set

check the cqueue at the call of e_hwc_window_queue_user_set

Change-Id: Ic8af48923f13f55accd46cf64819887b9c1b8ed9

6 years agoe_hwc_window_queue: use e_hwc_window_is_target 85/192285/2
SooChan Lim [Fri, 2 Nov 2018 04:37:45 +0000 (13:37 +0900)]
e_hwc_window_queue: use e_hwc_window_is_target

Change-Id: I28720a6e3b3c06588f61507016b8ffe4b7908dc7

6 years agoe_hwc_window_queue: remove e_hwc_window_queue_target_set function 83/192283/2
SooChan Lim [Fri, 2 Nov 2018 04:28:59 +0000 (13:28 +0900)]
e_hwc_window_queue: remove e_hwc_window_queue_target_set function

e_hwc_window_queue_target_set is not used.

Change-Id: Ie1ea6a729155311733778594fefdd6596577cabb

6 years agoe_hwc_window_queue: check the validation of the _hwc_winq_mgr at the EINTERN functions 76/192276/2
SooChan Lim [Fri, 2 Nov 2018 01:52:38 +0000 (10:52 +0900)]
e_hwc_window_queue: check the validation of the _hwc_winq_mgr at the EINTERN functions

- check the validation of the _hwc_winq_mgr at the EINTERN functions
- use the global variable and do not cast the local variable

Change-Id: Ib872bfc84aeafa4d72d279c2b856093ba3052a0e

6 years agoe_hwc: change the order of deinit 75/192275/2
SooChan Lim [Fri, 2 Nov 2018 01:51:47 +0000 (10:51 +0900)]
e_hwc: change the order of deinit

Change-Id: I660fbf368f579336a5dc5951b55d7d5bdb04a29b

6 years agoe_hwc_window_queue: arrange the functions in the file. 69/192269/2
SooChan Lim [Fri, 2 Nov 2018 01:29:21 +0000 (10:29 +0900)]
e_hwc_window_queue: arrange the functions in the file.

Change-Id: Ie7a323fd41174decd7a307b3b7087cdc356bdc3d

6 years agoe_hwc_window_queue: set NULL after un-referencing the object 52/192252/2
SooChan Lim [Thu, 1 Nov 2018 12:03:59 +0000 (21:03 +0900)]
e_hwc_window_queue: set NULL after un-referencing the object

Change-Id: I73e0461bc4676871b9ac1efbaadb0f8c9ed2f3b7

6 years agoe_plane_renderer: don't change pixmap usable in deactivate 01/192201/2
Changyeon Lee [Tue, 30 Oct 2018 05:31:32 +0000 (14:31 +0900)]
e_plane_renderer: don't change pixmap usable in deactivate

if pixmap usable is true when map state is changed to map,
client is immediately showed.
map state should be changed by rendering of client.

Change-Id: Iecbc66dba92f40c70adb1768962a1f31a253adff

6 years agoMakefile: enlightenment_info requires both -fPIE and -pie compile options, even if... 80/190880/4
Gwanglim Lee [Mon, 8 Oct 2018 08:00:37 +0000 (17:00 +0900)]
Makefile: enlightenment_info requires both -fPIE and -pie compile options, even if it is building for TV profile.

Change-Id: Iac8c25573ae88d207387e4392feb7ab9d2a5fbcc

6 years agoe_info_client: modify proc description 89/190189/10
Juyeon Lee [Fri, 28 Sep 2018 05:15:17 +0000 (14:15 +0900)]
e_info_client: modify proc description

by this commit, enlightenment_info provides
options in alphabetic order
options to be categorized in 3 groups
(1. log trace, 2.information print out, 3.execution requests for enlightenment)

Change-Id: Ic9fcfe0259b55bbd722a657ec3246640d32da571

6 years agoe_policy_visibility: add a E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE state 67/191767/6 submit/tizen/20181030.101450
Doyoun Kang [Tue, 23 Oct 2018 08:49:25 +0000 (17:49 +0900)]
e_policy_visibility: add a E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE state

There was a bug that the window which was pending uniconify by visibility didn't raise
even if it requested to activate.

[TOP] A win -> B win(32bit) -> C win [BOTTOM]

Above window stack,
when "A win" request to lower, then "B win" and "C win" are running uniconify_pending with
not_raise flag.
After "C win" is rendered, its internal state changed to E_VIS_ICONIFY_STATE_UNICONIC.
But e_client_uniconify() is not called because e is waiting for rendering of "B win".

In this time, if "C win" requests to activate, then this request is not added to pending list
because the state of "C win" is E_VIS_ICONIFY_STATE_UNICONIC.

As a result of this, the window stack is changed as below.
[TOP] B win(32bit) -> C win -> A win [BOTTOM]

But, the expected stack is as below.
[TOP] C win -> B win(32bit) -> A win [BOTTOM]

To fix this problem, we add a additional state - E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE.
It means that the window is rendered, but it remains iconic state.
So, the activate request of "C win" is added to the pending list in above case.

The E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE state
is changed to E_VIS_ICONIFY_STATE_UNICONIC after all pending windows are rendered.

Change-Id: I3fff995dbbad7f438e952616bc6840e7a92e2424

6 years agoe_hwc_window: reduce the unnecessary code 06/190806/6
SooChan Lim [Fri, 5 Oct 2018 10:28:31 +0000 (19:28 +0900)]
e_hwc_window: reduce the unnecessary code

Change-Id: Ie8778cd9eeb2ad9716a2042717b992b4e60fb222
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_hwc_windows: refactor the _e_hwc_windows_accept function 18/191818/3
SooChan Lim [Wed, 24 Oct 2018 07:15:38 +0000 (16:15 +0900)]
e_hwc_windows: refactor the _e_hwc_windows_accept function

- split two functions below.
_e_hwc_windows_validated_changes_update
_e_hwc_windows_accept

- if there is no composition changes after validation,
  do not call the _e_hwc_windows_validated_changes_update

Change-Id: Id78635bec1a46418f10e790ef6428d8ea5f3b26c
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_hwc_windows: update the states of the visible windows at the windows_changes_update 16/191816/3
SooChan Lim [Wed, 24 Oct 2018 06:52:15 +0000 (15:52 +0900)]
e_hwc_windows: update the states of the visible windows at the windows_changes_update

Change-Id: Ic9f62d82a726a1de75b5c7a5256381a96151c8e4
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_hwc_window: update the composition_types at e_hwc_window_state_set 14/191814/3
SooChan Lim [Wed, 24 Oct 2018 06:39:04 +0000 (15:39 +0900)]
e_hwc_window: update the composition_types at e_hwc_window_state_set

Change-Id: I88e5a826d9d772edc8dc1b08969d348e291e00e2
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_hwc_windows: update hwc_mode and state of target window in case not accept 68/191568/3
Changyeon Lee [Thu, 18 Oct 2018 12:26:47 +0000 (21:26 +0900)]
e_hwc_windows: update hwc_mode and state of target window in case not accept

target window should be set by DEVICE type for transition

Change-Id: I13d65fa189ea2d05b924b7d8c7ebbe933cb30579
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_hwc_window: initialize accepted state of target window to DEVICE. 66/191566/5
Changyeon Lee [Thu, 18 Oct 2018 12:19:51 +0000 (21:19 +0900)]
e_hwc_window: initialize accepted state of target window to DEVICE.

Change-Id: I1cfba51a32738a9eff3595d203b8abc4fc7dfae9