|
libepoxy
1.4.3
|
Provides an implementation of an EGL dispatch layer using global function pointers. More...
Functions | |
| bool | epoxy_has_egl_extension (EGLDisplay dpy, const char *extension) |
| Returns true if the given EGL extension is supported in the current context. More... | |
| int | epoxy_egl_version (EGLDisplay dpy) |
| Returns the version of OpenGL we are using. More... | |
| bool | epoxy_has_egl (void) |
| Checks whether EGL is available. More... | |
Provides an implementation of an EGL dispatch layer using global function pointers.
You should include <epoxy/egl.h> instead of <EGL/egl.h>.
| 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
1.8.13