Kanzi  3.9.5
Kanzi Engine API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
kzs_desktop_native.h File Reference

Kanzi desktop, Wayland implementation. More...

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 KzsInputDeviceNativekzsDesktopNativeGetInputDeviceNative (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)
 

Detailed Description

Kanzi desktop, Wayland implementation.

Copyright 2008-2017 by Rightware. All rights reserved.

Function Documentation

◆ kzsDesktopNativeDispatch()

void kzsDesktopNativeDispatch ( const struct KzsDesktopNative *  desktopNative)

Dispatch the wayland default queue.

Parameters
desktopNativeHandle to desktop-native.

◆ kzsDesktopNativeDispatchQueue()

void kzsDesktopNativeDispatchQueue ( const struct KzsDesktopNative *  desktopNative,
struct wl_event_queue *  queue 
)

Dispatch wayland queue.

Parameters
desktopNativeHandle to desktop-native.
queueThe wayland-queue to be dispatched.

◆ kzsDesktopNativeGetCompositor()

struct wl_compositor* kzsDesktopNativeGetCompositor ( const struct KzsDesktopNative *  desktopNative)

Get the wayland compositor.

Parameters
desktopNativeHandle to desktop-native.

◆ kzsDesktopNativeGetShell()

struct wl_shell* kzsDesktopNativeGetShell ( const struct KzsDesktopNative *  desktopNative)

Get the wayland shell.

Parameters
desktopNativeHandle to desktop-native.

◆ kzsDesktopNativeGetXdgShell()

struct xdg_shell* kzsDesktopNativeGetXdgShell ( const struct KzsDesktopNative *  desktopNative)

Get the xdg-shell.

Parameters
desktopNativeHandle to desktop-native.

◆ kzsDesktopNativeGetIVIApplication()

struct ivi_application* kzsDesktopNativeGetIVIApplication ( const struct KzsDesktopNative *  desktopNative)

Get the ivi-application.

Parameters
desktopNativeHandle to desktop-native.

◆ kzsDesktopNativeGetDisplay()

struct wl_display* kzsDesktopNativeGetDisplay ( const struct KzsDesktopNative *  desktopNative)

Get the wayland display.

Parameters
desktopNativeHandle to desktop-native.

◆ kzsDesktopNativeGetOutput()

struct wl_output* kzsDesktopNativeGetOutput ( const struct KzsDesktopNative *  desktopNative,
kzUint  displayID 
)

Get wayland handle for a display.

Parameters
desktopNativeHandle to desktop-native.
displayIDThe index of the display.
Returns
The wayland handle for the displayID specified in parameters, nullptr if displayID is out of range.

◆ kzsDesktopNativeGetDisplayQueue()

struct wl_event_queue* kzsDesktopNativeGetDisplayQueue ( const struct KzsDesktopNative *  desktopNative,
kzUint  displayID 
)

Get input-queue for a display.

Parameters
desktopNativeHandle to desktop-native.
displayIDThe index of the display.
Returns
The wayland-queue for the displayID specified in parameters, nullptr if displayID is out of range.

◆ kzsDesktopNativeGetInputQueue()

struct wl_event_queue* kzsDesktopNativeGetInputQueue ( const struct KzsDesktopNative *  desktopNative)

Store the input-device handle.

Parameters
desktopNativeHandle to desktop-native.
Returns
A wayland-queue reserved for input-related events.

◆ kzsDesktopNativeSetInputDeviceNative()

void kzsDesktopNativeSetInputDeviceNative ( struct KzsDesktopNative *  desktopNative,
struct KzsInputDeviceNative device 
)

Store the input-device handle.

This function is thread safe.

Parameters
desktopNativeHandle to desktop-native.
deviceThe input device native to be stored.

◆ kzsDesktopNativeGetInputDeviceNative()

struct KzsInputDeviceNative* kzsDesktopNativeGetInputDeviceNative ( const struct KzsDesktopNative *  desktopNative)

Get the current input-device handle.

This function is thread safe.

Parameters
desktopNativeHandle to desktop-native.
Returns
The input device native that has been set previously, nullptr if not set.

◆ kzsDesktopNativeSetWindowNative()

void kzsDesktopNativeSetWindowNative ( struct KzsDesktopNative *  desktopNative,
KzsWindowNative *  windowNative 
)

Store the window handle.

This function is thread safe.

Parameters
desktopNativeHandle to desktop-native.
windowNativeThe window to be stored.

◆ kzsDesktopNativeGetWindowNative()

KzsWindowNative* kzsDesktopNativeGetWindowNative ( const struct KzsDesktopNative *  desktopNative)

Get the current window handle.

This function is thread safe.

Parameters
desktopNativeHandle to desktop-native.
Returns
The window that has been set previously, nullptr if not set.

◆ kzsEGLGetNativeDisplay()

EGLNativeDisplayType kzsEGLGetNativeDisplay ( const struct KzsDesktopNative *  desktopNative,
const struct KzsDisplayNative *  displayNative,
const struct KzsWindowNative *  windowNative 
)

◆ kzsDesktopNativeGetNativeInputHandle()

NativeInputHandle kzsDesktopNativeGetNativeInputHandle ( struct KzsDesktopNative *  desktopNative)