|
libepoxy
1.5.2
|
Functions | |
| int | epoxy_conservative_glx_version (void) |
| If we can determine the GLX version from the current context, then return that, otherwise return a version that will just send us on to dlsym() or get_proc_address(). More... | |
| int | epoxy_glx_version (Display *dpy, int screen) |
| Returns the version of GLX we are using. More... | |
| bool | epoxy_conservative_has_glx_extension (const char *ext) |
| If we can determine the GLX extension support from the current context, then return that, otherwise give the answer that will just send us on to get_proc_address(). More... | |
| bool | epoxy_has_glx_extension (Display *dpy, int screen, const char *ext) |
| Returns true if the given GLX extension is supported in the current context. More... | |
| bool | epoxy_has_glx (Display *dpy) |
| Checks whether GLX is available. More... | |
| int epoxy_conservative_glx_version | ( | void | ) |
If we can determine the GLX version from the current context, then return that, otherwise return a version that will just send us on to dlsym() or get_proc_address().
| bool epoxy_conservative_has_glx_extension | ( | const char * | ext | ) |
If we can determine the GLX extension support from the current context, then return that, otherwise give the answer that will just send us on to get_proc_address().
| int epoxy_glx_version | ( | Display * | dpy, |
| int | screen | ||
| ) |
Returns the version of GLX we are using.
The version is encoded as:
So it can be easily used for version comparisons.
| dpy | The X11 display |
| screen | The X11 screen |
| bool epoxy_has_glx | ( | Display * | dpy | ) |
Checks whether GLX is available.
| dpy | The X11 display |
true if GLX is available| bool epoxy_has_glx_extension | ( | Display * | dpy, |
| int | screen, | ||
| const char * | ext | ||
| ) |
Returns true if the given GLX extension is supported in the current context.
| dpy | The X11 display |
| screen | The X11 screen |
| extension | The name of the GLX extension |
true if the extension is available
1.8.14