Commit Graph
29 Commits
Author SHA1 Message Date
Emmanuele Bassi f1c038a54d Update the "why not GLEW" section
GLEW has grown support for OpenGL 3.2+ core contexts over the years.
Everything else has stayed pretty much the same, though, so you should
still use Epoxy over libGLEW.
2017-02-10 17:57:01 +00:00
Emmanuele Bassi 176db4b655 Add the Appveyor build badge
Gamifying the development experience, once achievement at a time.
2017-02-10 11:43:03 +00:00
Emmanuele Bassi 87371e9005 Add TravisCI build badge to the README 2017-02-09 14:30:13 +00:00
Emmanuele Bassi 061cc48f40 Update README
The OpenGL registry has been updated with the 4.5 API.
2017-01-31 13:00:06 +00:00
Emmanuele Bassi 7c902e3e2b docs: Update the README file
Use the appropriate Markdown syntax (with GitHub extensions) for code
blocks and preformatted bits, and update the build instructions and
dependencies for Meson and Ninja.
2017-01-25 14:51:04 +00:00
Emmanuele Bassi 8dead45cb3 Revert all changes since 8bbc0d40
Most of the changes that happened after commit 8bbc0d40 broke epoxy
pretty much irreparably because of the CMake build and the attempt at
making libepoxy a static library that can be copy-pasted into another
project without generating files.

Since all the commits are entangled, and are full of unrelated changes,
we cannot simply do a localized set of reverts; instead, we need to hit
the reset button.

From this point forward, we're going to improve libepoxy's build while
attempting to keep the existing build system working. This may mean
reinstating the CMake build system at a later date.
2016-12-07 14:45:14 +00:00
Caleb Anderson c8fb7dd27d Update README.md
Typo and code block fixes
2016-10-07 22:14:37 -06:00
Caleb Anderson 1814f06490 Update README.md
Fix nmake list
2016-09-29 01:21:44 -06:00
Yaron Cohen-Tal 4b6d637ae0 Update "README.md". 2015-09-05 10:37:14 +03:00
Yaron Cohen-Tal 44d51f2844 Fix support for a static build of Epoxy. Add support building and running tests with CMake. Add support for linking with the static run-time library with MSVC. 2015-09-03 23:17:39 +03:00
Yaron Cohen-Tal ec2f42f01a Add support for building static libs with CMake. Fix file permissions. Update documentation about building static libs and about using OpenGL ES / EGL. 2015-08-27 19:13:54 +03:00
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). 2015-08-26 19:41:51 +03:00
Yaron Cohen-Tal 540952010b Fix tests to work with some OpenGL ES / EGL implementations. 2015-08-24 12:36:35 +03:00
Yaron Cohen-Tal 90c6158d61 Unite defenitions "PUBLIC" and "EPOXY_IMPORTEXPORT" and add it where appropriate. Fix tests build errors. 2015-07-19 13:40:35 +03:00
Yaron Cohen-Tal 773dd02f59 Added makefiles to build with MSVC 2013, and fixed errors and warnings. 2015-07-18 17:39:12 +03:00
Eric Anholt 8ce3e5f14f Update README for the dropping of X11 on OSX.
Fixes #39
2015-07-15 13:42:43 -07:00
Eric Anholt 3e09de7550 win32: Delay using dispatch tables until the second MakeCurrent.
Fixes #11.
2014-03-28 16:45:26 -07:00
Eric Anholt e6ec61b737 Work around README.md rendering on github.
It would sure be neat if any of the README previewers out there
actually rendered things the same way github does.
2013-12-17 15:14:14 -08:00
Eric Anholt 9bc909f5a7 win32: Convert the API to being based on function pointers, like Linux.
For performance, I want to be able to make single-context (well,
single-pixel-format-and-device) apps be able to directly call GL
functions through function pointers.  Bake that into the ABI now so I
can get a release out the door and fix this up later.

This also fixes the lack of __stdcall annotation on the
PFNWHATEVERPROC typedefs.
2013-12-17 15:08:02 -08:00
Eric Anholt 3ae4726cdb win32: Expose the dispatch table reset funtion in the public API.
Fixes #2.
2013-12-17 14:34:02 -08:00
Eric Anholt 3d2a2b3c80 Abandon ifuncs and go with the traditional global function pointers.
In addition to the failing testcase, there were a couple of
regressions in piglit's attribs test: one from glBegin_unwrapped vs
glBegin confusion in the __asm__ directives we were generating, and
one where the function pointers apparently were just getting mixed up
at application runtime.
2013-12-15 20:15:51 -08:00
Eric Anholt 6c0e0423f6 Add build instructions to the readme. 2013-12-11 17:18:28 -08:00
Eric Anholt 57280133e6 Update the README for WGL support. 2013-12-11 15:20:10 -08:00
Eric Anholt 1e443b2daf Use ifuncs on Linux to avoid dispatch table overhead.
These tell the linker to generate GNU_IFUNC relocs that rewrite the
PLT entries in the user's address space to point to our resolved GL
function, so there's no extra function pointer.  It also, as a bonus,
cuts 400k out of the library.

This requires a toolchain from 2010 or so.  Unfortunately, it's going
to take a bit more investigation to find out what specific bits are
required.

Fixes #4
2013-12-11 15:03:58 -08:00
Eric Anholt d73f06fb45 Use ``` on a bunch of code in the README.
Some of it is to be prettier, and some of it is to avoid misformatting
when using live preview at http://tmpvar.com/markdown.html
2013-12-09 22:57:41 -08:00
Eric Anholt edf5aedb6f Rewrite a lot of the README.
The story about how we came to needing GetProcAddress functions isn't
that interesting, but the featureset is something that should be
(particularly when comparing to similar tools that exist).

Fixes #7
2013-12-09 22:54:23 -08:00
Carl Worth 880b6b39a5 Convert list of items to an actual list
Otherwise, these were running together in a single line, making them
hard to read.
2013-12-09 22:23:16 -08:00
Carl Worth eb5f6ac74e Fix "include" examples to use Github-flavored code block
Previously, these lines were using '>' which is the Markdown syntax
for a "blockquote", but within this, the '#' in "#include" was still
interpreted as a header, (which was not desired), and throwing away
the rest of the line.

It seems that a "codeblock" is what is wanted here instead, (which
should result in un-interpreted text wrapped in <pre>). Markdown
expects 4-space indent for this.

See:

	https://help.github.com/articles/github-flavored-markdown
2013-12-09 22:22:33 -08:00
Eric Anholt a909eb4a22 Add the generator and build infrastructure.
Not actually working yet, but it's a snapshot to start from.
2013-10-16 11:43:11 -07:00