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

Functions

kzsError kzsContextCreate_EGL (EGLDisplay eglDisplay, const KzsSurfaceConfiguration *surfaceConfiguration, EGLContext *out_eglContext)
 Creates EGL context. More...
 
kzsError kzsContextDestroy_EGL (EGLContext eglContext, EGLDisplay eglDisplay)
 Destroys EGL context. More...
 
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. More...
 
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. More...
 
kzsError kzsSurfaceNativeDelete_EGL (EGLContext eglContext, struct KzsSurfaceNative *surfaceNative)
 Destroys a native surface without destroying the EGL context. More...
 

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.