Name Description Size
config.h Autogenerated by the Meson build system. Do not edit, your changes will be lost. 584
dispatch_common.c \mainpage Epoxy \section intro_sec Introduction Epoxy is a library for handling OpenGL function pointer management for you. It hides the complexity of `dlopen()`, `dlsym()`, `glXGetProcAddress()`, `eglGetProcAddress()`, etc. from the app developer, with very little knowledge needed on their part. They get to read GL specs and write code using undecorated function names like `glCompileShader()`. Don't forget to check for your extensions or versions being present before you use them, just like before! We'll tell you what you forgot to check for instead of just segfaulting, though. \section features_sec Features - Automatically initializes as new GL functions are used. - GL 4.6 core and compatibility context support. - GLES 1/2/3 context support. - Knows about function aliases so (e.g.) `glBufferData()` can be used with `GL_ARB_vertex_buffer_object` implementations, along with GL 1.5+ implementations. - EGL, GLX, and WGL support. - Can be mixed with non-epoxy GL usage. \section using_sec Using Epoxy Using Epoxy should be as easy as replacing: ```cpp #include <GL/gl.h> #include <GL/glx.h> #include <GL/glext.h> ``` with: ```cpp #include <epoxy/gl.h> #include <epoxy/glx.h> ``` \subsection using_include_sec Headers Epoxy comes with the following public headers: - `epoxy/gl.h` - For GL API - `epoxy/egl.h` - For EGL API - `epoxy/glx.h` - For GLX API - `epoxy/wgl.h` - For WGL API \section links_sec Additional links The latest version of the Epoxy code is available on [GitHub](https://github.com/anholt/libepoxy). For bug reports and enhancements, please use the [Issues](https://github.com/anholt/libepoxy/issues) link. The scope of this API reference does not include the documentation for OpenGL and OpenGL ES. For more information on those programming interfaces please visit: - [Khronos](https://www.khronos.org/) - [OpenGL page on Khronos.org](https://www.khronos.org/opengl/) - [OpenGL ES page on Khronos.org](https://www.khronos.org/opengles/) - [docs.GL](http://docs.gl/) 26083
dispatch_common.h Disable including X11 headers if the X11 support was disabled at configuration time 8869
dispatch_egl.c @brief Returns the version of OpenGL we are using The version is encoded as: ``` version = major * 10 + minor ``` So it can be easily used for version comparisons. @param The EGL display @return The encoded version of EGL we are using @see epoxy_gl_version() 3190
dispatch_glx.c 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(). 4749
dispatch_wgl.c If we can determine the WGL extension support from the current context, then return that, otherwise give the answer that will just send us on to get_proc_address(). 5798
egl_generated_dispatch.c GL dispatch code. This is code-generated from the GL API XML files from Khronos. 154728
gl_generated_dispatch.c 3522600