platform/upstream/enlightenment.git
5 years agovideo: make a function _e_video_hwc_windows_iface_property_get() work. 85/197185/1
Seunghun Lee [Thu, 10 Jan 2019 04:59:07 +0000 (13:59 +0900)]
video: make a function _e_video_hwc_windows_iface_property_get() work.

Change-Id: I3670cd4820e631b99034079b8c8e1e1d7de368c7

5 years agoquickpanel: fixed to send state chagned event of qp service only to qp clients which... 91/196991/2 accepted/tizen/unified/20190109.060108 submit/tizen/20190109.012349
Gwanglim Lee [Tue, 8 Jan 2019 11:50:43 +0000 (20:50 +0900)]
quickpanel: fixed to send state chagned event of qp service only to qp clients which have same type

Change-Id: Iaec661340a6cbf1d9a661eadefa9ed29c6777c21

5 years agoe_plane_renderer: don't set release timer to buffer isn't usable 61/196961/3
Changyeon Lee [Tue, 8 Jan 2019 07:15:48 +0000 (16:15 +0900)]
e_plane_renderer: don't set release timer to buffer isn't usable

not usable buffer isn't sent to client and dequeue,
so it don't needs release timer.

Change-Id: I34ef57f465c49dd15d0b037574df8a1b05131785

5 years agoe_comp_object: add e_comp_object_native_usable_get() 63/196863/6
Juyeon Lee [Mon, 7 Jan 2019 00:37:02 +0000 (09:37 +0900)]
e_comp_object: add e_comp_object_native_usable_get()

API e_comp_object_native_usable_get returns if cw->obj is drawable using ns
when a client attaching and committing NULL buffer, its pixmap is changed unusable
and at the same time, server make the client unmap and emit hide effect
to run hide effect, moudules can refer if a window still holds native surface
by using this api

Change-Id: I976fa4662b7ba931d1ceba81ee8f4518171dbb21

5 years agoe_plane_renderer: fix leak in case fail to get acquirable surfaces 21/196921/1
Changyeon Lee [Tue, 8 Jan 2019 02:40:57 +0000 (11:40 +0900)]
e_plane_renderer: fix leak in case fail to get acquirable surfaces

Change-Id: I81f291f6758c9d252701cf20d8bbf8bf82a6d293

5 years agoe_output: remove defensive code that prevents excessive commit calls 27/196527/2
Junkyeong Kim [Wed, 2 Jan 2019 05:18:59 +0000 (14:18 +0900)]
e_output: remove defensive code that prevents excessive commit calls

fix late update error of wearable watch home after zoom panning.

Change-Id: I09a78f6a2ec754338b1d841c1c73b28903cade7a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: execute e_comp_override_add and del when primary output's dpms changeness 00/196900/2
Junkyeong Kim [Mon, 7 Jan 2019 11:21:54 +0000 (20:21 +0900)]
e_output: execute e_comp_override_add and del when primary output's dpms changeness

Change-Id: I421f0ab0f3845db15d57ff83a0bdd53e3d86887f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_plane_renderer: fix flickering when fb_target switch comp mode 61/196561/7
Changyeon Lee [Wed, 2 Jan 2019 08:45:18 +0000 (17:45 +0900)]
e_plane_renderer: fix flickering when fb_target switch comp mode

if not usable and acquired buffer released to queue of fb_target,
it cause flickering when fb_target switch composite mode.
because not usable and acquired buffer can be displayed.

Change-Id: I86e485b46ee9244eb5b8904ddbcddf403c04beac

5 years agoe_info_server: fix issue which fps isn't shown when hwc policy is planes 82/196882/2
Changyeon Lee [Mon, 7 Jan 2019 08:16:39 +0000 (17:16 +0900)]
e_info_server: fix issue which fps isn't shown when hwc policy is planes

Change-Id: I040ee39f1582c9434ea3114da1351fdf3e110bdd

5 years agoe_service_quickpanel: add bg_rect object while using E_SERVICE_QUICKPANEL_EFFECT_TYPE... 97/196897/1
Doyoun Kang [Mon, 7 Jan 2019 10:33:58 +0000 (19:33 +0900)]
e_service_quickpanel: add bg_rect object while using E_SERVICE_QUICKPANEL_EFFECT_TYPE_MOVE effect

If a quickpanel window sets a E_SERVICE_QUICKPANEL_EFFECT_TYPE_MOVE type effect and
e's configuration sets a qp_use_bg_rect to 1, then enlightenment shows an transparent
bg_rect object while showing/hiding a quickpanel window.

Change-Id: Ia573dc2c6776bc077ff34377c904d513483b67e6

5 years agoe_devicemgr: release input events occurred by input generator 25/196625/7
jeon [Thu, 3 Jan 2019 05:07:41 +0000 (14:07 +0900)]
e_devicemgr: release input events occurred by input generator

  - input events must be paired up.
  - but sometimes client request touch/key/mouse down events
    and suddenly destroyed before request up events.
  - for prepare these issue, input generator release events
    if client is destroyed except up events.

Change-Id: I75624bf706bc792fa714bfa96bb624677f7f866c

5 years agoe_hwc_window: Fix NULL pointer dereference. 74/196874/1
Seunghun Lee [Wed, 2 Jan 2019 08:20:57 +0000 (17:20 +0900)]
e_hwc_window: Fix NULL pointer dereference.

Change-Id: I9c471586d061a0dc958ab094110d08fbf590f6c6

5 years agoe_hwc_window: Give a proper instance to tdm_hwc_window_set_property() 73/196873/1
Seunghun Lee [Wed, 2 Jan 2019 08:19:26 +0000 (17:19 +0900)]
e_hwc_window: Give a proper instance to tdm_hwc_window_set_property()

Change-Id: I1dacf82a21031166cd973dc686d813df07663c5f

5 years agoe_comp_wl_viewport: erase unused variable 94/196794/1
Junkyeong Kim [Fri, 4 Jan 2019 08:30:16 +0000 (17:30 +0900)]
e_comp_wl_viewport: erase unused variable

Change-Id: I1f4f8cf0368aca31ab1c5ae90148930fca3e2983
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agofix memory leak in keyboard capture process 82/196782/1
Doyoun Kang [Fri, 4 Jan 2019 07:37:46 +0000 (16:37 +0900)]
fix memory leak in keyboard capture process

Change-Id: I4081c3f8145a21f2d49a4196b1d37849098b4845

5 years agoe_plane_renderer: unset plane if client commit with normal buffer 60/196560/2
Changyeon Lee [Tue, 11 Dec 2018 09:43:10 +0000 (18:43 +0900)]
e_plane_renderer: unset plane if client commit with normal buffer

Change-Id: I285ed8846e0e1c92aa239e5ef053df8db7df9678

5 years agoe_plane_renderer: remove render_buffers list in free callback 81/196581/2
Changyeon Lee [Wed, 2 Jan 2019 11:43:28 +0000 (20:43 +0900)]
e_plane_renderer: remove render_buffers list in free callback

Change-Id: I42873cabb0dcb6e3c7f208fddae5f042b27ce539

6 years agohwc_windows: call the deactive before tizen_surface_shm_flusher_send_flush 28/196428/1
SooChan Lim [Mon, 10 Dec 2018 10:06:54 +0000 (19:06 +0900)]
hwc_windows: call the deactive before tizen_surface_shm_flusher_send_flush

Without this patch, the client will be blocked.
The wayland-tbm has to be fixed later.

Change-Id: I356548e17719430213622a9f90c0b4c61bff8507

6 years agoe_hwc_window_queue: do not destory the queue at destroying tbm_surface_queue. 25/196425/2
SooChan Lim [Fri, 28 Dec 2018 07:30:14 +0000 (16:30 +0900)]
e_hwc_window_queue: do not destory the queue at destroying tbm_surface_queue.

e20 have to deal with the unexpected tbm_surface_queue's destroy.

Change-Id: Iaa6d1dc63b3d8a3db16434d41cf9d8d274fd0644

6 years agoe_comp_wl_viewport: fix vp source buffer info set error 22/196422/1
Junkyeong Kim [Fri, 28 Dec 2018 07:17:43 +0000 (16:17 +0900)]
e_comp_wl_viewport: fix vp source buffer info set error

Change-Id: Ib9b1bb06f719ed1e4b8174c33dc8bc1251535bcd
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_client: add log for e_client_visibility_skip_set 18/196418/1
Doyoun Kang [Fri, 28 Dec 2018 05:44:52 +0000 (14:44 +0900)]
e_client: add log for e_client_visibility_skip_set

Change-Id: I27313fd3f8cbd3edfd2820df7b311927489a7bea

6 years agovideo: Remove unused function find_offscreen_parent_get(). 12/196312/1
Seunghun Lee [Thu, 27 Dec 2018 05:30:43 +0000 (14:30 +0900)]
video: Remove unused function find_offscreen_parent_get().

Change-Id: Iba03b6a0ce3a6e418435c2404651cd04082f25bd

6 years agovideo: remove unused function _e_video_is_visible() 10/196310/1
Seunghun Lee [Thu, 27 Dec 2018 05:24:50 +0000 (14:24 +0900)]
video: remove unused function _e_video_is_visible()

Change-Id: Ia8f4cb9a2bd99cf856b050b1d7d93696916e628c

6 years agoe_video_hwc_window: fix calling inappropriately tdm_hwc API passing with E_Hwc_Window... 93/196293/2
Seunghun Lee [Thu, 27 Dec 2018 04:33:20 +0000 (13:33 +0900)]
e_video_hwc_window: fix calling inappropriately tdm_hwc API passing with E_Hwc_Windows instance.

This patch also disable interface of property_get, it's not implemented yet.

Change-Id: I1811d650cefe96b0cc6ff6f1e7985dbce47ce984

6 years agoe_plane_renderer: check redirect of ec if state is candidate 51/196251/2
Changyeon Lee [Wed, 26 Dec 2018 12:34:42 +0000 (21:34 +0900)]
e_plane_renderer: check redirect of ec if state is candidate

candidate state means that ec isn't set to plane so we need to check
redirect of ec in deactivate.

Change-Id: I83be69b3341abdc6206f7876f3bd338b5fd12d94

6 years agoe_comp_wl_video: do not set to delay 25/196225/1
SooChan Lim [Wed, 26 Dec 2018 10:08:37 +0000 (19:08 +0900)]
e_comp_wl_video: do not set to delay

Change-Id: I0617c3ccb66f5fa9b0f8bd74de80eea5b6f98641

6 years agoe_comp_wl_video: print the log at set_attribute 24/196224/1
SooChan Lim [Wed, 26 Dec 2018 10:04:37 +0000 (19:04 +0900)]
e_comp_wl_video: print the log at set_attribute

Change-Id: Ief18528c09e781cc356400cba67a83b8cd181267

6 years agoe_log: get rid of unused e_pixmap parameter of ELOG 24/196124/7 accepted/tizen/unified/20181226.063554 submit/tizen/20181224.063831
Gwanglim Lee [Mon, 24 Dec 2018 02:04:02 +0000 (11:04 +0900)]
e_log: get rid of unused e_pixmap parameter of ELOG

Change-Id: I3b0a2d95a13e7683d42f137067e67b941237336c

6 years agoe_hwc_window: Make sure return an instance of hwc_window properly. 55/196155/1
Seunghun Lee [Mon, 24 Dec 2018 04:41:33 +0000 (13:41 +0900)]
e_hwc_window: Make sure return an instance of hwc_window properly.

Change-Id: I34943ca8bb34d37470d0f497b6e1c53ec6857036

6 years agoe_client_video: Add APIs for a video module to allow set functions which is needed... 53/196153/1
Seunghun Lee [Mon, 24 Dec 2018 04:18:45 +0000 (13:18 +0900)]
e_client_video: Add APIs for a video module to allow set functions which is needed by hwc implementation.

Change-Id: Idf852f49e679e91881f1fc90382047281e0807a0

6 years agoe_hwc_window: Just changes hwc_window state in case hwc_window is already created. 52/196152/1
Seunghun Lee [Mon, 24 Dec 2018 04:16:34 +0000 (13:16 +0900)]
e_hwc_window: Just changes hwc_window state in case hwc_window is already created.

Change-Id: Ibfd5c4dcb1767ae34f55ebab5fc8ca7d2a120164

6 years agoe_hwc_windows: Indicates pointer of Eina_List, not using eina_list_clone() 51/196151/1
Seunghun Lee [Mon, 24 Dec 2018 02:41:21 +0000 (11:41 +0900)]
e_hwc_windows: Indicates pointer of Eina_List, not using eina_list_clone()

this fixes memory leak.

Change-Id: Iacc8c5373edb525c1b36a30c9849ac1bd0385152

6 years agovideo: More check in macro for entry of api and change its name. 50/196150/1
Seunghun Lee [Fri, 21 Dec 2018 05:21:28 +0000 (14:21 +0900)]
video: More check in macro for entry of api and change its name.

Change-Id: Idacaa9d8dccfc8ba540e2e64e82a96593440d9eb

6 years agovideo: Use an static function to get hwc policy of zone. 49/196149/1
Seunghun Lee [Mon, 17 Dec 2018 02:17:02 +0000 (11:17 +0900)]
video: Use an static function to get hwc policy of zone.

Change-Id: I016fd4e04d442602108d9b459f986fd15c1a196a

6 years agovideo: Destroy all video instances in e_comp_wl_video_shutdown() 48/196148/1
Seunghun Lee [Tue, 18 Dec 2018 02:42:06 +0000 (11:42 +0900)]
video: Destroy all video instances in e_comp_wl_video_shutdown()

Change-Id: Id373a70657d1adc3d64f30c1a855abf214262263

6 years agovideo: Remove an unused code line. 47/196147/1
Seunghun Lee [Tue, 18 Dec 2018 02:05:58 +0000 (11:05 +0900)]
video: Remove an unused code line.

Change-Id: Icd972b12c1d84f103a8eb2f10174775f4cc3ff5f

6 years agovideo: Remove an ineffective code. 46/196146/1
Seunghun Lee [Tue, 18 Dec 2018 01:53:02 +0000 (10:53 +0900)]
video: Remove an ineffective code.

There is no setting code before this unset code.

Change-Id: If0db9e4da636f5bfc5a77b29ff9d3801cdf3fc9f

6 years agoe_plane_renderer: fix a code checking validation of file descriptor.
Seunghun Lee [Tue, 18 Dec 2018 06:30:35 +0000 (15:30 +0900)]
e_plane_renderer: fix a code checking validation of file descriptor.

Change-Id: I9d7aeefaecb3ec344856b8294af412aff3395577

6 years agoe_comp_wl_rsm: check whether ec is deleted or not before creating E_Comp_Wl_Remote_Source
Doyoun Kang [Fri, 21 Dec 2018 03:42:47 +0000 (12:42 +0900)]
e_comp_wl_rsm: check whether ec is deleted or not before creating E_Comp_Wl_Remote_Source

Change-Id: Ic5303795fddc9d850c0cf6f04ef1dc268496b065

6 years agoe_video_hwc_windows: add the first implementation
SooChan Lim [Sun, 16 Dec 2018 07:31:46 +0000 (16:31 +0900)]
e_video_hwc_windows: add the first implementation

Change-Id: Ib8eccf5eeec3e51b94c3f02c4a9e6c3e98de46fb

6 years agoe_input: close input device's fd in close restricted function only
jeon [Wed, 19 Dec 2018 10:48:00 +0000 (19:48 +0900)]
e_input: close input device's fd in close restricted function only

Change-Id: I1a8c07bf09a5112e2743f7deed9abcf2105c37d6

6 years agofixed warnings while building on the 64-bit system 31/195831/5 submit/tizen/20181213.113859
Gwanglim Lee [Tue, 18 Dec 2018 12:24:40 +0000 (21:24 +0900)]
fixed warnings while building on the 64-bit system

Change-Id: I73c5b63daa88c39016889a162f3b2c550cacaf9a

6 years agoe_policy_visibility: add a function not to uniconify below window 99/195899/1
Doyoun Kang [Wed, 19 Dec 2018 05:34:21 +0000 (14:34 +0900)]
e_policy_visibility: add a function not to uniconify below window

We add a e_policy_visibility_client_below_uniconify_skip_set() function.
If a window set the below_uniconify_skip, then the below window of it is not uniconified
when it is hidden.
This function can be used by a module such as effect module.

Change-Id: I83cfdc45c0895ff1f9da3bee0c713d7bea5ac55d

6 years agoe_test_helper: added Method:RenderTrace, Signal:RenderRun 68/195268/3
Juyeon Lee [Wed, 12 Dec 2018 05:28:28 +0000 (14:28 +0900)]
e_test_helper: added Method:RenderTrace, Signal:RenderRun

RenderTrace method provides iface how to trace rendering by given condition
(for example, it can trace from the start of effect to the end of effect)
RenderRun signal is sending only the registred window's rendering state.

Change-Id: Ib8b2af88e6a2669c474ee0f931b664d9c1885e84

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