Kanzi 3.9.10
kzs_egl_surface_native.h File Reference

Functions

kzsError kzsContextCreate_EGL (EGLDisplay eglDisplay, const KzsSurfaceConfiguration *surfaceConfiguration, EGLContext *out_eglContext)
 Creates EGL context.
 
kzsError kzsContextDestroy_EGL (EGLContext eglContext, EGLDisplay eglDisplay)
 Destroys EGL context.
 
kzsError kzsCreateBackupSurface_EGL (EGLContext eglContext, EGLDisplay eglDisplay, const struct KzsSurfaceConfiguration *configuration, struct KzsSurfaceNative **out_surfaceNative)
 Creates a headless native surface that can be used to make EGL context current before there is a proper window surface available.
 
void kzsGetEGLSurfaceNativeFunctions (struct kzsSurfaceNativeFunctions *functions)
 
kzsError kzsSurfaceNativeCreate_EGL (EGLContext eglContext, EGLDisplay eglDisplay, const struct KzsSurfaceConfiguration *configuration, const struct KzsWindow *window, struct KzsSurfaceNative **out_surfaceNative)
 Creates a native surface using given EGL context.
 
kzsError kzsSurfaceNativeDelete_EGL (EGLContext eglContext, struct KzsSurfaceNative *surfaceNative)
 Destroys a native surface without destroying the EGL context.
 

Function Documentation

◆ kzsGetEGLSurfaceNativeFunctions()

void kzsGetEGLSurfaceNativeFunctions ( struct kzsSurfaceNativeFunctions * functions)

◆ kzsContextCreate_EGL()

kzsError kzsContextCreate_EGL ( EGLDisplay eglDisplay,
const KzsSurfaceConfiguration * surfaceConfiguration,
EGLContext * out_eglContext )

Creates EGL context.

◆ kzsContextDestroy_EGL()

kzsError kzsContextDestroy_EGL ( EGLContext eglContext,
EGLDisplay eglDisplay )

Destroys EGL context.

◆ kzsCreateBackupSurface_EGL()

kzsError kzsCreateBackupSurface_EGL ( EGLContext eglContext,
EGLDisplay eglDisplay,
const struct KzsSurfaceConfiguration * configuration,
struct KzsSurfaceNative ** out_surfaceNative )

Creates a headless native surface that can be used to make EGL context current before there is a proper window surface available.

◆ kzsSurfaceNativeCreate_EGL()

kzsError kzsSurfaceNativeCreate_EGL ( EGLContext eglContext,
EGLDisplay eglDisplay,
const struct KzsSurfaceConfiguration * configuration,
const struct KzsWindow * window,
struct KzsSurfaceNative ** out_surfaceNative )

Creates a native surface using given EGL context.

◆ kzsSurfaceNativeDelete_EGL()

kzsError kzsSurfaceNativeDelete_EGL ( EGLContext eglContext,
struct KzsSurfaceNative * surfaceNative )

Destroys a native surface without destroying the EGL context.