Yaron Cohen-Tal
06fd4a271a
Add support for CMake (no support for building/running the tests yet). Fix support for Android. Add built-in support for building with EGL support (using "khrplatform.h" and "eglplatform.h" which are distributed together with Epoxy, and should work with any platform).
9 years ago
Yaron Cohen-Tal
90c6158d61
Unite defenitions "PUBLIC" and "EPOXY_IMPORTEXPORT" and add it where appropriate. Fix tests build errors.
9 years ago
Eric Anholt
f10bff9bc0
Avoid polluting the compiler's namespace with our own stuff.
...
We can't completely avoid it, since gl's headers use these defines for
their header guards, and we really do need to stop the system GL
headers from doing anything.
Fixes #14
11 years ago
Eric Anholt
21f4346af0
Update header comments about how the implementation works.
11 years ago
Eric Anholt
fa7aa87bc0
Drop the inconsistent use of #pragma once.
...
Apparently it's not totally portable, and the #ifdefs work fine (and
equivalently to the pragma, on some compilers).
11 years ago
Eric Anholt
982e39f188
Move the #defines into the main generated header.
...
I initially thought I was going to have two sets of defines you chose
from using #include, but that never ended up being necessary.
11 years ago
Eric Anholt
46e036419c
Include epoxy/gl.h from epoxy/glx.h.
...
This gives us consistency with GL/glx.h's include of GL/gl.h.
11 years ago
Eric Anholt
111c54992b
Drop the installed _common.h headers.
...
I was thinking at one point that part of the build was going to
require not including the #defines from the generated code, but would
want these prototypes. It turns out that's not the case (and if it
is, I'll just wrap the #defines in an ifdef).
11 years ago
Eric Anholt
725b8cfc81
Add C++ guards.
11 years ago
Eric Anholt
689abf4d4d
Fix including system glx.h after our glx.h
11 years ago
Eric Anholt
a909eb4a22
Add the generator and build infrastructure.
...
Not actually working yet, but it's a snapshot to start from.
11 years ago