Commit Graph
367 Commits
Author SHA1 Message Date
Eric Anholt a82e54aafa Make a table full of strings describing our providers.
By having shared code to print the names and a shared table of what
the names are, this reduces the built stripped size of the library by
80k.
2013-12-02 13:12:08 -08:00
Eric Anholt 6c1e0e38f3 Fix building from a clean source tree.
I had things mixed around wtih srcdir vs builddir, and we were getting
our deps generated into literally '$(builddir)/.deps/...', and then
the Makefile broke trying to include $(builddir)/.deps/... with
variable expansion.
2013-12-02 09:57:51 -08:00
Eric Anholt 8139c7c489 Actually implement GLX version detection. 2013-11-14 11:18:15 -08:00
Eric Anholt 75c97229d3 Assume GLX 1.2 is automatically available on Linux with GLX.
This prevents infinite recursion in dispatch when trying to find
symbols to determine the GLX version.
2013-11-14 11:18:15 -08:00
Eric Anholt 04cf940e1b Add an initial testsuite for GLX API. 2013-11-14 11:18:15 -08:00
Eric Anholt ed938dc4c5 Make a few more public functions actually public. 2013-11-14 11:11:33 -08:00
Eric Anholt 66d7b9fb02 Fix the version detection for GL < 3.
Those nice enums came late in the GL spec.  This code is copied from
piglit, by Matt Turner in 2012.
2013-11-14 11:11:33 -08:00
Eric Anholt a1d555e446 Fix a copy-and-paste mistake in getting GL version 2013-11-14 11:10:56 -08:00
Eric Anholt e1a183c4eb Remove accidentally committed debug printf. 2013-11-14 11:10:56 -08:00
Eric Anholt 69241485d1 Fix test for is_desktop_gl.
We're looking for "return true if no ES", and strcmp returns != 0 if
not match (the ES string).
2013-11-14 11:10:56 -08:00
Eric Anholt 0098d0a653 Sort the functions in the generated code.
This makes looking through the resulting code much nicer.
2013-11-14 11:10:56 -08:00
Eric Anholt 48297bb543 Fix parallel build of the generated source code.
Make didn't know that our rule generated all 3 things, so it would
generate 3 times, and in parallel you'd end up writing over each
other.
2013-11-14 11:10:56 -08:00
Eric Anholt faad44cc0a Fix the aliasing support to actually build.
Jordan asked me to show my code, so I pushed the snapshot I had,
forgetting that the build was broken at that point in commit
--amending.
2013-11-14 11:10:56 -08:00
Eric Anholt 4c9b7e63b1 Consistently use 4-space indents. 2013-11-14 11:10:48 -08:00
Eric Anholt a652f8f6a2 Add .dir-locals to tell emacs how to format by default.
I'd apparently been typing in two different styles.
2013-11-14 11:10:10 -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
Eric Anholt db667aa8b8 Import khronos API registry from SVN commit 22908 2013-09-19 09:45:27 -07:00