Kanzi desktop, Wayland implementation. More...
#include <kanzi/core.ui/platform/graphics_context/egl/kzs_egl.h>
#include <kanzi/core.ui/platform/windowing/common/kzs_native_handles.h>
#include <wayland-client.h>
Functions | |
void | kzsDesktopNativeDispatch (const struct KzsDesktopNative *desktopNative) |
Dispatch the wayland default queue. More... | |
void | kzsDesktopNativeDispatchQueue (const struct KzsDesktopNative *desktopNative, struct wl_event_queue *queue) |
Dispatch wayland queue. More... | |
struct wl_compositor * | kzsDesktopNativeGetCompositor (const struct KzsDesktopNative *desktopNative) |
Get the wayland compositor. More... | |
struct wl_display * | kzsDesktopNativeGetDisplay (const struct KzsDesktopNative *desktopNative) |
Get the wayland display. More... | |
struct wl_event_queue * | kzsDesktopNativeGetDisplayQueue (const struct KzsDesktopNative *desktopNative, kzUint displayID) |
Get input-queue for a display. More... | |
struct KzsInputDeviceNative * | kzsDesktopNativeGetInputDeviceNative (const struct KzsDesktopNative *desktopNative) |
Get the current input-device handle. More... | |
struct wl_event_queue * | kzsDesktopNativeGetInputQueue (const struct KzsDesktopNative *desktopNative) |
Store the input-device handle. More... | |
struct ivi_application * | kzsDesktopNativeGetIVIApplication (const struct KzsDesktopNative *desktopNative) |
Get the ivi-application. More... | |
NativeInputHandle | kzsDesktopNativeGetNativeInputHandle (struct KzsDesktopNative *desktopNative) |
struct wl_output * | kzsDesktopNativeGetOutput (const struct KzsDesktopNative *desktopNative, kzUint displayID) |
Get wayland handle for a display. More... | |
struct wl_shell * | kzsDesktopNativeGetShell (const struct KzsDesktopNative *desktopNative) |
Get the wayland shell. More... | |
KzsWindowNative * | kzsDesktopNativeGetWindowNative (const struct KzsDesktopNative *desktopNative) |
Get the current window handle. More... | |
struct xdg_shell * | kzsDesktopNativeGetXdgShell (const struct KzsDesktopNative *desktopNative) |
Get the xdg-shell. More... | |
void | kzsDesktopNativeSetInputDeviceNative (struct KzsDesktopNative *desktopNative, struct KzsInputDeviceNative *device) |
Store the input-device handle. More... | |
void | kzsDesktopNativeSetWindowNative (struct KzsDesktopNative *desktopNative, KzsWindowNative *windowNative) |
Store the window handle. More... | |
EGLNativeDisplayType | kzsEGLGetNativeDisplay (const struct KzsDesktopNative *desktopNative, const struct KzsDisplayNative *displayNative, const struct KzsWindowNative *windowNative) |
Kanzi desktop, Wayland implementation.
Copyright 2008-2017 by Rightware. All rights reserved.
void kzsDesktopNativeDispatch | ( | const struct KzsDesktopNative * | desktopNative | ) |
Dispatch the wayland default queue.
desktopNative | Handle to desktop-native. |
void kzsDesktopNativeDispatchQueue | ( | const struct KzsDesktopNative * | desktopNative, |
struct wl_event_queue * | queue | ||
) |
Dispatch wayland queue.
desktopNative | Handle to desktop-native. |
queue | The wayland-queue to be dispatched. |
struct wl_compositor* kzsDesktopNativeGetCompositor | ( | const struct KzsDesktopNative * | desktopNative | ) |
Get the wayland compositor.
desktopNative | Handle to desktop-native. |
struct wl_shell* kzsDesktopNativeGetShell | ( | const struct KzsDesktopNative * | desktopNative | ) |
Get the wayland shell.
desktopNative | Handle to desktop-native. |
struct xdg_shell* kzsDesktopNativeGetXdgShell | ( | const struct KzsDesktopNative * | desktopNative | ) |
Get the xdg-shell.
desktopNative | Handle to desktop-native. |
struct ivi_application* kzsDesktopNativeGetIVIApplication | ( | const struct KzsDesktopNative * | desktopNative | ) |
Get the ivi-application.
desktopNative | Handle to desktop-native. |
struct wl_display* kzsDesktopNativeGetDisplay | ( | const struct KzsDesktopNative * | desktopNative | ) |
Get the wayland display.
desktopNative | Handle to desktop-native. |
struct wl_output* kzsDesktopNativeGetOutput | ( | const struct KzsDesktopNative * | desktopNative, |
kzUint | displayID | ||
) |
Get wayland handle for a display.
desktopNative | Handle to desktop-native. |
displayID | The index of the display. |
struct wl_event_queue* kzsDesktopNativeGetDisplayQueue | ( | const struct KzsDesktopNative * | desktopNative, |
kzUint | displayID | ||
) |
Get input-queue for a display.
desktopNative | Handle to desktop-native. |
displayID | The index of the display. |
struct wl_event_queue* kzsDesktopNativeGetInputQueue | ( | const struct KzsDesktopNative * | desktopNative | ) |
Store the input-device handle.
desktopNative | Handle to desktop-native. |
void kzsDesktopNativeSetInputDeviceNative | ( | struct KzsDesktopNative * | desktopNative, |
struct KzsInputDeviceNative * | device | ||
) |
Store the input-device handle.
This function is thread safe.
desktopNative | Handle to desktop-native. |
device | The input device native to be stored. |
struct KzsInputDeviceNative* kzsDesktopNativeGetInputDeviceNative | ( | const struct KzsDesktopNative * | desktopNative | ) |
Get the current input-device handle.
This function is thread safe.
desktopNative | Handle to desktop-native. |
void kzsDesktopNativeSetWindowNative | ( | struct KzsDesktopNative * | desktopNative, |
KzsWindowNative * | windowNative | ||
) |
Store the window handle.
This function is thread safe.
desktopNative | Handle to desktop-native. |
windowNative | The window to be stored. |
KzsWindowNative* kzsDesktopNativeGetWindowNative | ( | const struct KzsDesktopNative * | desktopNative | ) |
Get the current window handle.
This function is thread safe.
desktopNative | Handle to desktop-native. |
EGLNativeDisplayType kzsEGLGetNativeDisplay | ( | const struct KzsDesktopNative * | desktopNative, |
const struct KzsDisplayNative * | displayNative, | ||
const struct KzsWindowNative * | windowNative | ||
) |
NativeInputHandle kzsDesktopNativeGetNativeInputHandle | ( | struct KzsDesktopNative * | desktopNative | ) |