#include <kanzi/platform/platform_api.hpp>#include <kanzi/platform/graphics/color_workflow.hpp>#include <kanzi/platform/platform/gl/context_api/egl/kzs_egl.h>#include <kanzi/platform/platform/gl/context_api/egl_ng/egl_context_client_version.hpp>#include <kanzi/platform/platform/gl/context_api/egl_ng/egl_log.hpp>#include <kanzi/core/cpp/optional.hpp>#include <kanzi/core/cpp/platform.hpp>#include <kanzi/core/cpp/span.hpp>#include <kanzi/core/cpp/string_view.hpp>Namespaces | |
| namespace | kanzi |
| namespace | kanzi::egl |
Macros | |
| #define | EGL_CAST(type, value) |
Functions | |
| bool | kanzi::egl::bindApi (unsigned int api) noexcept |
| Selects current EGL rendering API. | |
| KZ_NO_DISCARD SurfaceColorSpace | kanzi::eglColorSpaceToSurfaceColorSpace (optional< EGLint > colorSpace) noexcept |
| Converts EGL_GL_COLORSPACE enum to SurfaceColorSpace. | |
| KZ_NO_DISCARD string_view | kanzi::eglEnumToString (EGLint eglEnum) noexcept |
| Converts EGL enum into a string representation. | |
| KZ_NO_DISCARD ::EGLConfig | kanzi::findFirstMatchEGLConfig (const EGLDisplay &eglDisplay, const EGLCapabilities &requiredCapabilities) noexcept |
| Finds the first EGL configuration that matches the capabilities, returns no config if no matches are found. | |
| KZ_NO_DISCARD optional< EGLContextClientVersion > | kanzi::findHighestContextClientVersion (const EGLDisplay &eglDisplay, const ::EGLConfig eglConfig) noexcept |
| Returns the highest context client version supported by an EGL configuration. | |
| KZ_NO_DISCARD optional< EGLContextClientVersion > | kanzi::findHighestContextClientVersion (const EGLDisplay &eglDisplay, span< const ::EGLConfig > eglConfigs) noexcept |
| Returns the highest context client version supported by at least one EGL configuration. | |
| KZ_NO_DISCARD ::EGLConfig | kanzi::getEGLConfig (const EGLDisplay &eglDisplay, const EGLCapabilities &requiredCapabilities) noexcept |
| Gets the EGL configuration matching with the graphics format ID, if specified, otherwise finds the first EGL configuration that matches the capabilities. | |
| KZ_NO_DISCARD int | kanzi::egl::getError () noexcept |
| Gets EGL error information and clears it. | |
| KZ_NO_DISCARD bool | kanzi::isGles1FlagSet (int glesFlags) noexcept |
| Tests whether OpenGL ES1 is supported. | |
| KZ_NO_DISCARD bool | kanzi::isGles2FlagSet (int glesFlags) noexcept |
| Tests whether OpenGL ES2 is supported. | |
| KZ_NO_DISCARD bool | kanzi::isGles3FlagSet (int glesFlags) noexcept |
| Tests whether OpenGL ES3 is supported. | |
| void | kanzi::listAllEGLConfigsFromDefaultDisplay () noexcept |
| Lists available EGL configurations for the default EGL display. | |
| void | kanzi::listAllEGLConfigsFromNativeDisplay (::EGLNativeDisplayType nativeDisplay) noexcept |
| Lists available EGL configurations for the given native EGL display. | |
| void | kanzi::egl::resetErrors () noexcept |
| Resets EGL error information. | |
| KZ_NO_DISCARD bool | kanzi::supportsContextClientVersion (const EGLDisplay &eglDisplay, const ::EGLConfig eglConfig, EGLContextClientVersion version) noexcept |
| Returns whether EGLConfig supports EGLContextClientVersion. | |
| KZ_NO_DISCARD optional< EGLint > | kanzi::surfaceColorSpaceToEGLColorSpace (SurfaceColorSpace colorSpace) noexcept |
| Converts SurfaceColorSpace to EGL_GL_COLORSPACE enum. | |
| #define EGL_CAST | ( | type, | |
| value ) |