platform/upstream/enlightenment.git
5 years agoe_client: add a way to prevent generating event duplicated 82/197482/3
Doyoun Kang [Fri, 11 Jan 2019 10:57:35 +0000 (19:57 +0900)]
e_client: add a way to prevent generating event duplicated

There was a bug that events (such as E_EVENT_CLIENT_ADD) were sent duplicated in some cases.
So, we added a flag to e_client structure to check whether an event was generated already.
For example, if a E_EVENT_CLIENT_ADD was generated and sent, then it could not be send until
generating E_EVENT_CLIENT_REMOVE event.

For this, we could pair sending ADD/REMOVE, SHOW/HIDE events.

Change-Id: Id42d9c0a6594d0abef270a4970745fa8f23ebf1e

5 years agoe_plane: do not execute layer_commit if output is disconnected 18/197418/2
Junkyeong Kim [Fri, 11 Jan 2019 05:27:39 +0000 (14:27 +0900)]
e_plane: do not execute layer_commit if output is disconnected

if output is disconnected, cannot use output resources.
so do not execute commit function.

Change-Id: Idbf3262b7edfd87f6c7dbe6ebc456a1ed9c8c1d4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_window_queue: don't release buffer to queue in retrieve 50/197450/2
Changyeon Lee [Fri, 11 Jan 2019 05:29:49 +0000 (14:29 +0900)]
e_hwc_window_queue: don't release buffer to queue in retrieve

Change-Id: Ib282c2bdc6226a9ff8246ec9792134458f87d8cd

5 years agoe_hwc_window_queue: allocate e_hwc_window_queue with E_Object 49/197449/2
Changyeon Lee [Thu, 10 Jan 2019 08:36:32 +0000 (17:36 +0900)]
e_hwc_window_queue: allocate e_hwc_window_queue with E_Object

Change-Id: I252acdf5df5fadb3a543b4fa060ca3c7fcea898f

5 years agoe_hwc_windows: call evas_norender if state of target_hwc_window is none 33/197233/2
Changyeon Lee [Thu, 10 Jan 2019 08:41:49 +0000 (17:41 +0900)]
e_hwc_windows: call evas_norender if state of target_hwc_window is none

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

Change-Id: I0e6646a12b83367dc1cecd1d964bfaa5914c6a49

5 years agoe_hwc_windows: delay send release event until rendering of compositor is done 82/196982/3
Changyeon Lee [Tue, 8 Jan 2019 10:14:46 +0000 (19:14 +0900)]
e_hwc_windows: 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.

this patch is same logic with below commit

e_plane_renderer: delay send release event until rendering of compositor is done

Change-Id: Ie6e40f22adc47567cdc6e281f58a16db7f982c1c

5 years agoe_hwc_window_queue: add e_hwc_window_queue_acquirable_buffers_get 81/196981/3
Changyeon Lee [Tue, 8 Jan 2019 10:12:52 +0000 (19:12 +0900)]
e_hwc_window_queue: add e_hwc_window_queue_acquirable_buffers_get

Change-Id: I3ef8fdcc72c89816b696cd68afd12d9119483906

5 years agoe_client: make fake mouse-out upon focus-out conditional 43/197043/4
jeon [Wed, 9 Jan 2019 05:26:11 +0000 (14:26 +0900)]
e_client: make fake mouse-out upon focus-out conditional

  - cursor is not changed correctly on wayland
    when a window lost focus while the cursor remained
    inside the window.
  - so patch this fake mouse-out condition refer to opensource

Change-Id: Iac21c482c4c4a274aa8748c390f6031efc1c7510

5 years agoe_dbus_conn: do eldbus_connection_unref in the main thread, add a logic to do unref... 68/197368/1
Sung-Jin Park [Thu, 10 Jan 2019 07:47:08 +0000 (16:47 +0900)]
e_dbus_conn: do eldbus_connection_unref in the main thread, add a logic to do unref using reference count

Change-Id: Iae87d1903d2a0778c4c22f8902c20f20a7f8d94d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
(cherry picked from commit f03ac88fdc39b7e4bf38065b3bab8c348b982e3e)

5 years agodecrease a e_comp->new_clients when ec->new_client is unset 62/197362/2
Doyoun Kang [Thu, 10 Jan 2019 12:26:17 +0000 (21:26 +0900)]
decrease a e_comp->new_clients when ec->new_client is unset

Change-Id: If7d2df01c89760fdc8ff2a0b0837c3de52fd2ec7

5 years agoremove executable permission bit of spec file 32/197032/3
Gwanglim Lee [Wed, 9 Jan 2019 04:10:30 +0000 (13:10 +0900)]
remove executable permission bit of spec file

Change-Id: Ibd8974e43bcd5faae05fd58a1aac1f15cdefe36d

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

5 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

5 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

5 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>
5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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