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
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
Doyoun Kang [Fri, 14 Dec 2018 07:30:14 +0000 (16:30 +0900)]
e_client/e_pixmap: add log for pixmap
Change-Id: If2d93e3974d57fc68938862adadd2841019d7190
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
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
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
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
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
Seunghun Lee [Fri, 7 Dec 2018 01:50:03 +0000 (10:50 +0900)]
video: remove duplicated check code.
Change-Id: I7083eed80bd4e859672dea94304433d098c508bf
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
Gwanglim Lee [Tue, 23 Oct 2018 04:21:14 +0000 (13:21 +0900)]
quickpanel: add support for context menu type
Change-Id: I366e6f6f8ae6ba72d18dd4dc479838fb8e8e3d6b
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
Gwanglim Lee [Fri, 7 Dec 2018 02:03:21 +0000 (11:03 +0900)]
e_client: reindent code properly
Change-Id: I5ba9fbd60ebee936ff9f31f976460f214a831e8f
Gwanglim Lee [Fri, 7 Dec 2018 01:54:30 +0000 (10:54 +0900)]
e_client: removed unused qtopia hint flags
Change-Id: Iacf3fb092aee848c4abc9b76c8de74c7c455aeb8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Doyoun Kang [Tue, 27 Nov 2018 09:42:13 +0000 (18:42 +0900)]
support tzsh_softkey_service protocol
Change-Id: I1ebbc1289994e17a0f815fa109ca0f09d88e35ac
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
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
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
Doyoun Kang [Tue, 10 Jul 2018 06:08:59 +0000 (15:08 +0900)]
support tzsh_softkey protocol
Change-Id: I19dabded95beaacf5c34a172c10b047a3264b97a
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
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
Doyoun Kang [Thu, 22 Nov 2018 08:19:10 +0000 (17:19 +0900)]
visibility: add some information in the visibility log
Change-Id: Ic3465f425aa109ecc9c6454ff15416538868b6a2
Changyeon Lee [Wed, 21 Nov 2018 12:43:23 +0000 (21:43 +0900)]
e_comp: remove unnecessary log
Change-Id: I2f209049408a4ffd9ae62f4d33cc081d57406e5b
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
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
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
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
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
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
Changyeon Lee [Mon, 19 Nov 2018 02:23:41 +0000 (11:23 +0900)]
e_pixmap: add e_pixmap_ref_resource_get
Change-Id: I7d8971e77f42a5a9f1c25b19ed256940467fe4cd
SooChan Lim [Mon, 19 Nov 2018 10:31:29 +0000 (19:31 +0900)]
e_hwc_windows: enhance the logs
Change-Id: I79d5799f6446cb5fceb66a04527f890e1f475bc5
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
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
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
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
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
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
Doyoun Kang [Wed, 14 Nov 2018 02:21:48 +0000 (11:21 +0900)]
e_comp_wl_rsm: capture image with keyboard
Change-Id: I69fdc3d5c8b6b417ff5d4cc0b13c0c93f0e29994
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
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
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
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
SooChan Lim [Mon, 12 Nov 2018 12:52:19 +0000 (21:52 +0900)]
e_hwc_planes: fix the typo
Change-Id: I060c649d7e76ec7e12eff9361291ccfb6fec8b55
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
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
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
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
SooChan Lim [Fri, 9 Nov 2018 06:07:46 +0000 (15:07 +0900)]
e_hwc_windows: fix the transition state
Change-Id: Ia917d5dcb6a2ebf9cd4f8c47808593235bf8cbff
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
SooChan Lim [Fri, 9 Nov 2018 05:39:31 +0000 (14:39 +0900)]
e_hwc_window: change the goto label
Change-Id: I0e5e8cb00a441f84d9d2d3fa2516597de27dedfa
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
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
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
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
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
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
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
SooChan Lim [Fri, 2 Nov 2018 05:25:05 +0000 (14:25 +0900)]
e_hwc_window_queue: refactor the code
Change-Id: I230dd04cb99cc5910695b3d3c7b2eba7907fbd4e
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
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
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
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
SooChan Lim [Fri, 2 Nov 2018 01:51:47 +0000 (10:51 +0900)]
e_hwc: change the order of deinit
Change-Id: I660fbf368f579336a5dc5951b55d7d5bdb04a29b
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
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
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
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
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
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
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>
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>
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>
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>
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>
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
SooChan Lim [Thu, 11 Oct 2018 04:48:45 +0000 (13:48 +0900)]
e_hwc_windows: set the zpos at the _e_hwc_windows_visible_windows_update()
Change-Id: Ieff70ac175e772c6ce1da922913f7ea963fea2b2
SooChan Lim [Thu, 11 Oct 2018 02:12:33 +0000 (11:12 +0900)]
e_hwc_window: check the hwc_window->ec
e_hwc_window_activate
e_hwc_window_deactivate
Change-Id: I9ab48ba2ec7685757c08f8bb83faadfe31f5a4cf
SooChan Lim [Fri, 5 Oct 2018 08:43:07 +0000 (17:43 +0900)]
e_hwc_windows: change the name of the static function
Change-Id: Ie64793d2fa70dbc23653cf4582b0f9bcdc158e90
SooChan Lim [Fri, 5 Oct 2018 06:48:37 +0000 (15:48 +0900)]
e_hwc_window: add e_hwc_window_device_state_available_check
Change-Id: I241587e7c14869c408853949e6829855cca9e117
SooChan Lim [Fri, 5 Oct 2018 06:29:43 +0000 (15:29 +0900)]
e_hwc_windows: set the states in _e_hwc_windows_states_evaluate function
refactor the _e_hwc_windows_states_evaluate()
The comopsition update has to be done in this function and
let the libtdm know the composition type of the tdm_hwc_windows
Change-Id: I727060868bd434b7350f8066b3450f72e91cc86f
SooChan Lim [Fri, 5 Oct 2018 05:00:35 +0000 (14:00 +0900)]
e_hwc_windows: remove _e_hwc_windows_composition_evaluate
Change-Id: I3d316dbb9019bd4feaba5756696bb796b69f5878
SooChan Lim [Fri, 5 Oct 2018 02:55:50 +0000 (11:55 +0900)]
e_hwc_windows: remove the transition at hwc
The transition at hwc is not used.
Change-Id: Ib23a0e682426ebfccef7ede5628a4aa4afa24211