summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2.c (unfollow)
AgeCommit message (Collapse)Author
2019-07-31ecore_wl2: Changed log macro ERR->EINA_LOG_ERR.Woochanlee
Summary: When the ecore_wl2_shutdown() calling without ecore_wl2_init(). It makes crash. Reviewers: eagleeye, devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9452
2019-04-29ecore-wl2: Minor formatting fixesChristopher Michael
NB: No functional changes
2018-10-17ecore_wl2: Fix a memory leaking caseWonki Kim
Summary: there is a memory leaking in some case. this patch fixes it. Signed-off-by: Wonki Kim <wonki_.kim@samsung.com> Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7167
2018-10-10ecore_wl2: fix build breakMarcel Hollerbach
when i tested this commit i had wayland turned off. Sorry for the noise.
2018-10-10ecore_wl2: fix coverity issue. (Resource Leak)Hosang Kim
Module is not freed when eina_module_load is failed. Differential Revision: https://phab.enlightenment.org/D7152
2018-09-12ecore_wl2: add support for intree loading of the moduleMarcel Hollerbach
Summary: the module was not loaded when we were running intree. Reviewers: ManMower, devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7023
2018-01-30ecore_wl2: Add new event for windows not displayed on any outputDerek Foreman
When a window leaves all outputs we can free its render buffers to save memory. This new event is generated when a window leaves all outputs.
2018-01-26ecore_wl2: Make surface managers modularDerek Foreman
This allows loading modules to handle wayland surfaces, and makes the existing dmabuf manager a module.
2018-01-26ecore_wl2: Add a way to register new surface managersDerek Foreman
And use it for the existing dmabuf surface manager.
2017-12-19efl: Reset ecore event types on initJean-Philippe Andre
This fixes cycles of init/shutdown/init where ecore event types would become invalid, since they are now stored in a dynamic array rather than a statically stored array. The risk here is that if a module of EFL tends to init/shutdown in a "normal" scenario then the event type array will grow in a leaking manner. This could be fixed by resetting those event ID's only when the loop actually exits (EFL_EVENT_DEL on the main loop). I'm not using EFL_EVENT_DEL in this patch as this would add too many event callbacks to the main loop object, which may result in slightly slower event calls to it, affecting the overall performance.
2017-08-08ecore-wl2: Add support for Window Iconify State ChangeChris Michael
This patch adds support for the Window Iconify State Change event structure and the ecore event type to support it. '#divergence' @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-07-28ecore-wl2: implement support for aux hintsMike Blumenkrantz
this is a direct copy of a feature from tizen git with no modifications other than what was required for compilation and functionality https://review.tizen.org/git/?p=platform/upstream/efl.git;a=commitdiff_plain;h=01e72b7e3484ece4b589f95315990ba2c366c231 https://review.tizen.org/git/?p=platform/upstream/efl.git;a=commitdiff;h=670d84b579f248ae0e3df48e9953fe8128da9468 fix T5780 @feature
2017-06-27ecore-wl2: Add client-side event for Window DeactivateChris Michael
This patch adds and sends a client-side event for when a window gets deactivated. '#divergence' @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-27ecore-wl2: Add client-side event for Window ActivateChris Michael
This patch adds and sends a client-side event when a window gets activated. '#divergence' @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-27ecore-wl2: Add client-side event for Window HideChris Michael
Small patch to add and send a client-side event for when a window gets hidden. '#divergence' @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-27ecore-wl2: Add client-side event for Window ShowChris Michael
Small patch to add and send a client-side event for when a window gets shown. '#divergence' @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-13ecore-wl2: Add event and structure for auxiliary hintsChris Michael
@feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-09ecore-wl2: Fix window rotation event structure and various typosChris Michael
As these events will be raised to ecore_evas_wl and the handlers there do not pass along the Ecore_Evas as 'data', we need to change the type of variable passed along in the event struture so that ecore_event_window_match can be called to find the Ecore_Evas. This patch also fixes some typos discovered during compile Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-09ecore-wl2: Add event type for window rotate eventsChris Michael
@feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-09ecore-wl2: Add API and Event for window rotation change doneChris Michael
@feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-09ecore-wl2: Add API and Event for window rotation change requestChris Michael
@feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-09ecore-wl2: Add API and Event for window rotation change prepare doneChris Michael
@feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-09ecore-wl2: Add API and event for window rotation change prepareChris Michael
@feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-07ecore-wl2: Add event for output transformationChris Michael
Some servers may need to do special animations or other effects when an output transformation happens, so raise an event in the output geometry callback when this happens. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-12ecore-wl2: add events for changes in keymap, selection, and kbd repeat rateMike Blumenkrantz
@feature
2017-03-09ecore_wl2: avoid crash during shutdown due to Ecore_Event queue.Cedric BAIL
2017-01-11ecore-wl2: Add event to raise when window configure is completed.Chris Michael
Small patch to create and raise a new event letting ecore_evas know when the window has been configured. With the addition of xdg_shell v6 support, we cannot commit a surface with an existing buffer until the surface has been configured. This patch allows us to raise an event to ecore_evas when the surface has been configured, so we can then attach a buffer to it. ref T5090 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-01ecore_wl2: associate evas devices to input ecore eventsBruno Dilly
So users would be able to differentiate between source seats.
2016-11-01ecore_wl2: add ecore event for seat capabilities changeBruno Dilly
So when mouse / keyboard are present or not it will generate events. ecore_evas/wayland will handle that creating or deleting evas devices for each one (seat device will be used as parent).
2016-11-01ecore_wl2: add ecore event for seat name changeBruno Dilly
And handle it on ecore_evas/wayland, properly setting the evas device names.
2016-10-25ecore_wl2: Add API to disable session recoveryDerek Foreman
Enlightenment needs a way to avoid using session recovery functionality when connecting to itself for internal windows.
2016-09-23ecore_wl2: introduce offer apiMarcel Hollerbach
This commits adds api to deal with wayland offers. It also ports elm_cnp to use the new api. The selection_get and dnd_drag_get calls are replaced by simply receive data from the offer. The Offer object is now also emitted in every Enter,Motion,Drop and Leave event, so a potential user can prefetch data and display it. To finish a dnd operation positiv, the user has to call the finish call before the offer is destroyed
2016-07-11ecore_wl2: split of cnp_selection_data_ready andMarcel Hollerbach
dnd_selection_data_ready before there was the case that both handlers are called even if just dnd data arrived.
2016-05-05wayland: implement session recoveryMike Blumenkrantz
add support for reconnecting wayland applications if the compositor dies disconnect -> destroy gl ctx + image textures -> block rendering -> reconnect -> create gl ctx -> create image textures -> unblock rendering -> sprinkle special seasoning on top -> just like ma used to make #SamsungFeatures @feature
2016-04-21ecore-wl2: more dnd v3 updatesMike Blumenkrantz
ref d34b5958051c87fe491e358b24e9f25238fda10f #gladthiswasabetaapi
2016-04-01ecore_wl2: implement www extension for client-side useMike Blumenkrantz
handling for global binding and signal prop Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
2015-12-11ecore-wl2: Add new event for sync doneChris Michael
This removes the usage of ecore_main_loop_iterate inside of the display_connect function. It creates a new event type for when display sync is done, this was we can defer surface creation and EE showing until the compositor has had a chance to synchronize globals. We need this for Enlightenment so that it does not try to create error dialogs too early and thus crash due to not having sync'd globals yet @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Remove setting custom wl_log handlerChris Michael
Seems EINA_LOG_DOM has a problem printing out wayland protocol logs, so allow wayland to handle that itself. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Reset Ecore_Wl2 events to 0 on shutdownChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Create new event type for window configureChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Add event structure and event type for selection data readyChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Add remaining events and event structures for data sourceChris Michael
(dnd) Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Add event structure for dnd end eventChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Add dnd drop event type and event structureChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Add event and structure for dnd motion eventsChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Add event and structure for event dnd leaveChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Add structure and event type for dnd enterChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Add event structures for focus in/outChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Add wayland log handler callback to print wl log messagesChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03ecore-wl2: Add API function for ecore_wl2_shutdownChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>