libepoxy
1.5.3
|
Functions | |
int | epoxy_conservative_egl_version (void) |
int | epoxy_egl_version (EGLDisplay dpy) |
Returns the version of OpenGL we are using. More... | |
bool | epoxy_conservative_has_egl_extension (const char *ext) |
bool | epoxy_has_egl_extension (EGLDisplay dpy, const char *ext) |
Returns true if the given EGL extension is supported in the current context. More... | |
bool | epoxy_has_egl (void) |
Checks whether EGL is available. More... | |
int epoxy_conservative_egl_version | ( | void | ) |
bool epoxy_conservative_has_egl_extension | ( | const char * | ext | ) |
int epoxy_egl_version | ( | EGLDisplay | dpy | ) |
Returns the version of OpenGL we are using.
The version is encoded as:
So it can be easily used for version comparisons.
The | EGL display |
bool epoxy_has_egl | ( | void | ) |
bool epoxy_has_egl_extension | ( | EGLDisplay | dpy, |
const char * | ext | ||
) |
Returns true if the given EGL extension is supported in the current context.
dpy | The EGL display |
extension | The name of the EGL extension |
true
if the extension is available