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

Kanzi window, Wayland implementation. More...

#include <kanzi/core.ui/platform/graphics_context/egl/kzs_egl.h>
#include <wayland-client.h>
#include <wayland-egl.h>

Macros

#define __WAYLAND__
 

Functions

EGLNativeWindowType kzsEGLGetNativeWindow (const struct KzsWindowNative *windowNative)
 Gets EGL native window. More...
 
bool kzsWindowNativeGetSurfaceFrameAvailable (const struct KzsWindowNative *windowNative)
 Checks if surface frame is available. More...
 
struct wl_surface * kzsWindowNativeGetWLSurface (const struct KzsWindowNative *windowNative)
 Gets WL native surface. More...
 
void kzsWindowNativeMarkSurfaceFrameAvailable (struct KzsWindowNative *windowNative)
 Marks surface frame available. More...
 
void kzsWindowNativeMarkSurfaceFrameConsumed (struct KzsWindowNative *windowNative)
 Marks surface frame unavailable. More...
 
void kzsWindowNativeSetSurfaceFrameAvailable (struct KzsWindowNative *windowNative, bool value)
 Sets if surface frame is available. More...
 

Detailed Description

Kanzi window, Wayland implementation.

Copyright 2008-2017 by Rightware. All rights reserved.

Macro Definition Documentation

◆ __WAYLAND__

#define __WAYLAND__

Function Documentation

◆ kzsEGLGetNativeWindow()

EGLNativeWindowType kzsEGLGetNativeWindow ( const struct KzsWindowNative *  windowNative)

Gets EGL native window.

◆ kzsWindowNativeGetWLSurface()

struct wl_surface* kzsWindowNativeGetWLSurface ( const struct KzsWindowNative *  windowNative)

Gets WL native surface.

◆ kzsWindowNativeSetSurfaceFrameAvailable()

void kzsWindowNativeSetSurfaceFrameAvailable ( struct KzsWindowNative *  windowNative,
bool  value 
)

Sets if surface frame is available.

This function is thread safe.

◆ kzsWindowNativeGetSurfaceFrameAvailable()

bool kzsWindowNativeGetSurfaceFrameAvailable ( const struct KzsWindowNative *  windowNative)

Checks if surface frame is available.

This function is thread safe.

◆ kzsWindowNativeMarkSurfaceFrameAvailable()

void kzsWindowNativeMarkSurfaceFrameAvailable ( struct KzsWindowNative *  windowNative)

Marks surface frame available.

This function is thread safe.

◆ kzsWindowNativeMarkSurfaceFrameConsumed()

void kzsWindowNativeMarkSurfaceFrameConsumed ( struct KzsWindowNative *  windowNative)

Marks surface frame unavailable.

This function is thread safe.