summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2011-02-23Fix GLX_USE_TLS define.Tom Fogal
It was only getting set in the case of DRI drivers.
2011-02-20Fix --enable-shared-glapi configure optionJon TURNEY
Fix a typo which meant that --enable-shared-glapi didn't actually cause a shared glapi to be built Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2011-02-11mesa: Optionally build a dricore support library (v3)Christopher James Halse Rogers
This an adds --enable-shared-dricore option to configure. When enabled, DRI modules will link against a shared copy of the common mesa routines rather than statically linking these. This saves about 30MB on disc with a full complement of classic DRI drivers. v2: Only enable with a gcc-compatible compiler that handles rpath Handle DRI_CFLAGS without filter-out magic Build shared libraries with the full mklib voodoo Fix typos v3: Resolve conflicts with talloc removal patches Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
2011-02-11configure.ac: remove libdrm_radeon dependency for r300g and r600gMarek Olšák
2011-02-10configure.ac: Fix typoKristian Høgsberg
2011-02-07egl: Implement libwayland-eglBenjamin Franzke
This library is required and defined by wayland for EGL implementations supporting wayland.
2011-02-07egl: Add wayland platformBenjamin Franzke
2011-02-06configure.ac: correctly check for libdrm_radeon versionMarek Olšák
2011-01-31Remove talloc from the make and automake build systems.Kenneth Graunke
2011-01-25configure.ac: define LIBDRM_INTEL_REQUIREDTormod Volden
To have the LIBDRM* requirements in one place Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-01-20glapi: Fix OpenGL and OpenGL ES interop.Chia-I Wu
When --enable-shared-glapi is specified, libGL will share libglapi with OpenGL ES instead of defining its own copy of glapi. This makes sure an app will get only one copy of glapi in its address space. The new option is disabled by default. When enabled, libGL and libglapi must be built from the same source tree and distributed together. This requirement comes from the fact that the dispatch offsets used by these libraries are re-assigned whenever GLAPI XMLs are changed. For GLX, indirect rendering for has_different_protocol() functions is tricky. A has_different_protocol() function is assigned only one dispatch offset, yet each entry point needs a different protocol opcode. It cannot be supported by the shared glapi. The fix to this is to make glXGetProcAddress handle such functions specially before calling _glapi_get_proc_address. Note that these files are automatically generated/re-generated src/glx/indirect.c src/glx/indirect.h src/mapi/glapi/glapi_mapi_tmp.h
2011-01-20glapi: Fix OpenGL ES 1.1 and 2.0 interop.Chia-I Wu
Move _glapi_* symbols from libGLESv1_CM.so and libGLESv2.so to libglapi.so. This makes sure an app will get only one copy of glapi in its address space. Note that with this change, libGLES* and libglapi must be built from the same source tree and distributed together. This requirement comes from the fact that the dispatch offsets used by these libraries are re-assigned whenever GLAPI XMLs are changed.
2011-01-20autoconf: Fail when --with-state-trackers is incomplete.Chia-I Wu
When --enable-openvg or --enable-gallium-egl is enabled, --with-state-trackers must have vega or egl.
2011-01-11noop: remove dead dri targetJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-01-11configure: bump libdrm version requirement to 2.4.23Brian Paul
NOTE: This is a candidate for the 7.10 (and 7.9?) branch.
2011-01-10Export TLS support in gl.pc.Tom Fogal
2011-01-10mesa: Remove GLES overlay.Chia-I Wu
With core mesa doing runtime API checks, GLES overlay is no longer needed. Make --enable-gles-overlay equivalent to --enable-gles[12]. There may still be places where compile-time checks are done. They could be fixed case by case.
2011-01-10egl: Make egl_dri2 and egl_glx built-in drivers.Chia-I Wu
These two drivers are small in size. Making them built-in should simplify packaging.
2011-01-09noop: make noop useable like trace or rbugJerome Glisse
If you want to enable noop set GALLIUM_NOOP=1 as an env variable. You need first to enable noop wrapping for your driver see change to src/gallium/targets/dri-r600/ in this commit as an example. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-01-06mesa: fix build for NetBSDPierre Allegraud
See http://bugs.freedesktop.org/show_bug.cgi?id=32859 NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Brian Paul <brianp@vmware.com>
2011-01-04Merge remote branch 'origin/nvc0'Christoph Bumiller
2011-01-03intel: Bump libdrm configure.ac requirement for the gen6 BLT ring support.Eric Anholt
2011-01-04autoconf: Fix --with-driver=xlib --enable-openvg.Chia-I Wu
st/egl should be enabled with --enable-openvg even the driver is xlib or osmesa. Also, GLX_DIRECT_RENDERING should not be defined because libdrm is not checked.
2010-12-19Merge remote branch 'origin/master' into nvc0-newChristoph Bumiller
2010-12-08configure: use llvm-config --cppflags instead of --cflagsBrian Paul
2010-11-15gallium/noop: no operation gallium driverJerome Glisse
This driver is a fake swdri driver that perform no operations beside allocation gallium structure and buffer for upper layer usage. It's purpose is to help profiling core mesa/gallium without having pipe driver overhead hidding hot spot of core code. scons file are likely inadequate i am unfamiliar with this build system. To use it simply rename is to swrast_dri.so and properly set LIBGL_DRIVERS_PATH env variable. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-11-12nvc0: import nvc0 gallium driverChristoph Bumiller
2010-11-10autoconf: Add --enable-gallium-egl.Chia-I Wu
This option comes handy when we want to build gallium DRI drivers but not st/egl.
2010-10-31autoconf: Tidy configure output for EGL.Chia-I Wu
Prefix EGL driver names by "egl_". Make it clear that EGL_CLIENT_APIS is only used by egl_gallium.
2010-10-30autoconf: st/vega requires --enable-openvg.Chia-I Wu
Make it a warning for now to smooth the transition.
2010-10-29autoconf: Update configuration info.Chia-I Wu
Output API info first. Move GLU/GLw/GLUT and EGL near driver info.
2010-10-29autoconf: Better client API selection.Chia-I Wu
Make autoconf decide the client APIs enabled first. Then when OpenGL and OpenGL ES are disabled, there is no need to build src/mesa/; when OpenGL is disabled, no $mesa_driver should be built. Finally, add --enable-openvg to enable OpenVG. With these changes, an OpenVG only build can be configured with $ ./configure --disable-opengl --enable-openvg src/mesa, src/glsl, and src/glx will be skipped, which saves a great deal of compilation time. And an OpenGL ES only build can be configured with $ ./configure --disable-opengl --enable-gles-overlay
2010-10-27Fix build on systems where "python" is python 3.Kenneth Graunke
First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Matthew William Cox <matt@mattcox.ca> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-09-28configure.ac: do not build xorg-r300g by defaultMarek Olšák
NOTE: This is a candidate for the 7.9 branch.
2010-09-28configure.ac: look for libdrm_radeon before building gallium/r300,r600Marek Olšák
NOTE: This is a candidate for the 7.9 branch.
2010-09-27mesa: make makedepend an hard requirementLuca Barbieri
Currently makedepend is used by the Mesa Makefile-based build system, but not required. Unfortunately, not having it makes dependency resolution non-existent, which is a source of subtle bugs, and is a rarely tested configuration, since all Mesa developers likely have it installed. Furthermore some idioms require dependency resolution to work at all, such as making headers depend on generated files.
2010-09-24Build r300g by defaultMarek Olšák
NOTE: This will go to 7.9 as well.
2010-09-19egl: Enable drm platform by default.Chia-I Wu
This enables EGL_MESA_drm_display for st/egl in the default setup.
2010-09-19st/egl: Rename kms backend to drm.Chia-I Wu
The main use of the backend is to support EGL_MESA_drm_display. drm should be a better name.
2010-09-08configure: Enable -fvisibility=hidden for g++ as wellKristian Høgsberg
2010-09-07Make XF86VIDMODE extension optionalJon TURNEY
Code in glx/glxcmds.c which uses the XF86VIDMODE extension is already guarded. Also use that guard to control inclusion of the xf86vmode.h header, and only enable that guard if the XF86VIDMODE extension is found by pkgconfig. This changes the behaviour on platforms which XF86VIDMODE exists, in that XF86VIDMODE used to be mandatory, but is now optional. Presumably other build systems are already arranging for -DXF86VIDMODE to be supplied to the complier when glxcmds.c is compiled, so are not affected by this change Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-09-01Cygwin: Teach mklib/minstall to properly install libraries on cygwinJon TURNEY
Teach mklib/minstall more about cygwin so libraries are properly installed Have mklib install the .dll into the lib/ staging directory as well Have minstall install the .dll into PREFIX/bin at the same time as installing the .dll.a link library into PREFIX/lib mklib uses a '-' rather than a '.' as the separator before the version number in library names on cygwin. Change the install globs so they match library names like that. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-08-30Don't pass -ffast-math to clang, since it ignores it and complains.Eric Anholt
2010-08-30Make configure work with clangnobled
It was mistaking clang for gcc and deciding its version was too low.
2010-08-30Add talloc to osmesa library dependenciesJon TURNEY
also link osmesa with C++ standard libraries, as it now contains C++ code Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-08-30Add talloc to dependencies for libGL built with xlib driverJon TURNEY
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-08-25r300g: rename radeong_dri.so to r300_dri.soDave Airlie
acked on irc by Corbin + Marek.
2010-08-22mesa: AC_SUBST the talloc libs/cflags so the ./configure results are saved.Eric Anholt
I had used pkg-config from the Makefile because I didn't want to screw around with the non-autoconf build, but that doesn't work because the PKG_CONFIG_PATH or TALLOC_LIBS/TALLOC_CFLAGS that people set at configure time needs to be respected and may not be present at build time. Bug #29585
2010-08-13Merge branch 'master' into glsl2Ian Romanick
2010-07-30configure: fix wrong variable name GLESv1_LIB_DEPSLi Peng
GLESv1_CM_LIB_DEPS is defined in "configs/autoconf.in", but configure.ac uses GLESv1_LIB_DEPS. Signed-off-by: Li Peng <peng.li@linux.intel.com>