#include <kanzi/core.ui/platform/graphics_context/egl/kzs_egl.h>
#include <kanzi/core/cpp/optional.hpp>
#include <kanzi/core/cpp/platform.hpp>
#include <kanzi/core/cpp/span.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::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, const span< ::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::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. | |
#define EGL_CAST | ( | type, | |
value ) |