GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing android.googlesource.com — platform/external/libepoxy - Git at Google Bug: 129426276Clone this repo:
Epoxy is a library for handling OpenGL function pointer management for you. It hides the complexity of 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. Features
Buildingmkdir _build && cd _build meson ninja sudo ninja install Dependencies for Debian:
Dependencies for macOS (using MacPorts):
The test suite has additional dependencies depending on the platform. (X11, EGL, a running X Server). Switching your code to using epoxyIt should be as easy as replacing: #include <GL/gl.h> #include <GL/glx.h> #include <GL/glext.h> with: #include <epoxy/gl.h> #include <epoxy/glx.h> As long as epoxy‘s headers appear first, you should be ready to go. Additionally, some new helpers become available, so you don’t have to write them:
Note that this is not terribly fast, so keep it out of your hot paths, ok? Why not use libGLEW?GLEW has several issues:
The motivation for this project came out of previous use of libGLEW in piglit. Other GL dispatch code generation projects had similar failures. Ideally, piglit wants to be able to build a single binary for a test that can run on whatever context or window system it chooses, not based on link time choices. We had to solve some of GLEW's problems for piglit and solving them meant replacing every single piece of GLEW, so we built piglit-dispatch from scratch. And since we wanted to reuse it in other GL-related projects, this is the result. Known issues when running on WindowsThe automatic per-context symbol resolution for win32 requires that epoxy knows when The win32 |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |