diff options
author | Emil Velikov <[email protected]> | 2014-01-10 23:36:16 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-01-18 18:47:27 +0000 |
commit | 8c2e7fd8460750543367053b1be9368cc38e1d6a (patch) | |
tree | 9587b089f9e43b090a8104661a1c5e27f0769a08 /src/glx | |
parent | 1c5e2965a0de296240dd8f5af12482164416b7f1 (diff) |
loader: introduce the loader util lib
All the various window system integration layers duplicate roughly the
same code for figuring out device and driver name, pci-id's, etc. Which
is sad. So extract it out into a loader util lib.
v2 (Emil)
* Separate the introduction of libloader from the code de-duplication.
* Strip out non-pci devices support.
* Add scons + Android build system support.
* Add VISIBILITY_CFLAGS to avoid exporting the loader funcs.
v3 (Emil)
* PIPE_OS_ANDROID is undefined at this scope, use ANDROID
* Make sure we define _EGL_NO_DRM when building only swrast
Signed-off-by: Rob Clark <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/Makefile.am | 1 | ||||
-rw-r--r-- | src/glx/SConscript | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am index 0aec2aa3daa..6d81471b63f 100644 --- a/src/glx/Makefile.am +++ b/src/glx/Makefile.am @@ -35,6 +35,7 @@ endif AM_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/GL/internal \ + -I$(top_srcdir)/src/loader \ -I$(top_srcdir)/src/mapi \ -I$(top_srcdir)/src/mapi/glapi \ -I$(top_builddir)/src/mapi \ diff --git a/src/glx/SConscript b/src/glx/SConscript index 890f9983efd..309a648cc56 100644 --- a/src/glx/SConscript +++ b/src/glx/SConscript @@ -11,6 +11,7 @@ env.Prepend(CPPPATH = [ '.', # the build/<platform>/glx/ directory '#include', '#include/GL/internal', + '#src/loader', '#src/mesa', '#src/mapi', '#src/mapi/glapi', |