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...
 
struct wl_surface * kzsWindowNativeGetWLSurface (const struct KzsWindowNative *windowNative)
 Gets WL native surface. More...
 
void kzsWindowNativeSetSurfaceFrameAvailable (struct KzsWindowNative *windowNative, bool value)
 Sets if surface frame is available. More...
 
bool kzsWindowNativeGetSurfaceFrameAvailable (const struct KzsWindowNative *windowNative)
 Checks if surface frame is available. More...
 
void kzsWindowNativeMarkSurfaceFrameAvailable (struct KzsWindowNative *windowNative)
 Marks surface frame available. More...
 
void kzsWindowNativeMarkSurfaceFrameConsumed (struct KzsWindowNative *windowNative)
 Marks surface frame unavailable. More...
 

Detailed Description

Kanzi window, Wayland implementation.

Copyright 2008-2017 by Rightware. All rights reserved.

Macro Definition Documentation

#define __WAYLAND__

Function Documentation

EGLNativeWindowType kzsEGLGetNativeWindow ( const struct KzsWindowNative windowNative)

Gets EGL native window.

struct wl_surface* kzsWindowNativeGetWLSurface ( const struct KzsWindowNative windowNative)

Gets WL native surface.

void kzsWindowNativeSetSurfaceFrameAvailable ( struct KzsWindowNative windowNative,
bool  value 
)

Sets if surface frame is available.

This function is thread safe.

bool kzsWindowNativeGetSurfaceFrameAvailable ( const struct KzsWindowNative windowNative)

Checks if surface frame is available.

This function is thread safe.

void kzsWindowNativeMarkSurfaceFrameAvailable ( struct KzsWindowNative windowNative)

Marks surface frame available.

This function is thread safe.

void kzsWindowNativeMarkSurfaceFrameConsumed ( struct KzsWindowNative windowNative)

Marks surface frame unavailable.

This function is thread safe.