#include <kanzi/core.ui/platform/graphics_context/common/kzs_surface.h>
#include <kanzi/core.ui/platform/graphics_context/egl/kzs_egl.h>
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... | |
void kzsGetEGLSurfaceNativeFunctions | ( | struct kzsSurfaceNativeFunctions * | 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.
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.