summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2011-08-26dri: Remove all DRI1 driversIan Romanick1-13/+6
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26r600g: Hook up xorg state tracker.Michel Dänzer1-1/+1
Mostly copied from r300g. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: first step into winsys/radeonMarek Olšák1-1/+1
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-15glw: Remove GLw source.Kenneth Graunke1-76/+0
libGLw is an old OpenGL widget library with optional Motif support. It almost never changes and very few people actually still care about it, so we've decided to ship it separately. The new home for libGLw is: git://git.freedesktop.org/mesa/glw/ Reviewed-by: Brian Paul <brianp@vmware.com>
2011-08-15egl: Native Display autodetectionBenjamin Franzke1-0/+2
EGL doesnt define howto manage different native platforms. So mesa has a builtime configurable default platform, whith non-standard envvar (EGL_PLATFORM) overwrites. This caused unneeded bugreports, when EGL_PLATFORM was forgotten. Detection is grouped into basic types of NativeDisplays (which itself needs to be detected). The final decision is based on characteristcs of these basic types: File Desciptor based platforms (fbdev): - fstat(2) to check for being a fd that belongs to a character device - check kernel subsystem (todo) Pointer to structuctures (x11, wayland, drm/gbm): - mincore(2) to check whether its valid pointer to some memory. - magic elements (e.g. pointers to exported symbols): o wayland display stores interface type pointer (first elm.) o gbm stores pointer to its constructor (first elm.) o x11 as a fallback (FIXME?) Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2011-07-28configure.ac: add DLOPEN_LIBS to xlib buildMarek Olšák1-1/+1
Otherwise xlib-based llvmpipe fails to link. NOTE: This is a candidate for the 7.11 branch.
2011-07-28configure.ac: fix xlib-based softpipe buildMarek Olšák1-7/+5
Tested-by: Jon TURNEY <jon.turney@dronecode.org.uk> NOTE: This is a candidate for the 7.11 branch.
2011-07-25configure.ac: do not check for llvm-config if llvm is disabledMarek Olšák1-3/+2
NOTE: This is a candidate for the 7.11 branch.
2011-07-25configure: Move gbm before egl in SRC_DIRSBenjamin Franzke1-35/+35
egl_dri2 built into libEGL depends on libgbm. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39515
2011-07-21configure.ac: check for libdrm_radeon only when building classicMarek Olšák1-5/+5
2011-07-19configure.ac: Check for the respective libdrm_* when building gallium driversEmil Velikov1-0/+3
In a rare case of building gallium only, we need to check if the required packages are available libdrm_[intel|nouveau] - gallium[i915 i965|nouveau] v2: r300g and r600g do not need libdrm_radeon Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Marek Olšák <maraeo@gmail.com>
2011-07-15g3dvl: Build softpipe when needed.Younes Manton1-0/+3
2011-07-15g3dvl: Build the right winsys dependencies when needed.Younes Manton1-6/+15
2011-07-14Squashed commit of the following:José Fonseca1-60/+0
commit 1856230d9fa61710cce3e152b8d88b1269611a73 Author: José Fonseca <jose.r.fonseca@gmail.com> Date: Tue Jul 12 23:41:27 2011 +0100 make: Use better var names on packaging. commit d1ae72d0bd14e820ecfe9f8f27b316f9566ceb0c Author: José Fonseca <jose.r.fonseca@gmail.com> Date: Tue Jul 12 23:38:21 2011 +0100 make: Apply several of Dan Nicholson's suggestions. commit f27cf8743ac9cbf4c0ad66aff0cd3f97efde97e4 Author: José Fonseca <jose.r.fonseca@gmail.com> Date: Sat Jul 9 14:18:20 2011 +0100 make: Put back the tar.bz2 creation rule. Removed by accident. commit 34983337f9d7db984e9f0117808274106d262110 Author: José Fonseca <jose.r.fonseca@gmail.com> Date: Sat Jul 9 11:59:29 2011 +0100 make: Determine tarballs contents via git ls-files. The wildcards were a mess: - lots of files for non Linux platforms missing - several files listed and archived twice Using git-ls-files ensures things are not loss when making the tarballs. commit 34a28ccbf459ed5710aafba5e7149e8291cb808c Author: José Fonseca <jose.r.fonseca@gmail.com> Date: Sat Jul 9 11:07:14 2011 +0100 glut: Remove GLUT source. Most distros ship freeglut, and most people don't care one vs the other, and it hasn't been really maintained. So it is better to have Mesa GLUT be revisioned and built separately from Mesa. commit 5c26a2c3c0c7e95ef853e19d12d75c4f80137e7d Author: José Fonseca <jose.r.fonseca@gmail.com> Date: Sat Jul 9 10:31:02 2011 +0100 Ignore the tarballs. commit 26edecac589819f0d0efe2165ab748dbc4e53394 Author: José Fonseca <jose.r.fonseca@gmail.com> Date: Sat Jul 9 10:30:24 2011 +0100 make: Create the Mesa-xxx-devel symlink automatically. Also actually remote the intermediate uncompressed tarballs.
2011-07-14configure: allow C{,XX}FLAGS overrideMarcin Baczyński1-0/+8
NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
2011-07-14configure: fix gcc version checkMarcin Baczyński1-1/+1
NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
2011-07-14g3dvl: check for existense of VA API header/libsChristian König1-1/+4
Building the VA state tracker only works when the header/libs are available. Also add a warning that the state tracker is currently undmaintained.
2011-07-14g3dvl: check for existense of VDPAU header/libsChristian König1-2/+2
Building the VDPAU state tracker only works when the header/libs are available.
2011-07-14g3dvl: check for existense of XvMC header/libsChristian König1-2/+2
Building the XvMC state tracker only works when the header/libs are available.
2011-07-14configure.ac: don't build gallium driver libs just to see if there are no errorsMarek Olšák1-7/+18
I think the past are those times when the gallium interface was changed all the time. Now it is not, so there is no reason to always compile the libs if they are not needed.
2011-07-14gallium/targets: do not link every driver with libllvmpipe.aMarek Olšák1-1/+1
Only some targets need that, the others don't.
2011-07-13Merge branch 'pipe-video'Christian König1-7/+109
2011-07-12autoconf: Do not select Xlib when building DRIEmil Velikov1-1/+1
As Chia-I Wu said 'There are two libGL providers, Xlib and DRI based they cannot coexist' Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Marek Olšák <maraeo@gmail.com>
2011-07-11configure.ac: Make --{without,with}-gallium-drivers work as expectedIan Romanick1-0/+7
This version is mostly Dan's post to the mesa-dev mailing list on 6/22/2011. NOTE: This is a candidate for the 7.10 and 7.11 branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2011-07-11configure.ac: do not let llvm-config define NDEBUG in debug buildsMarek Olšák1-1/+1
Re-enables assertions in src/mesa.
2011-07-11Merge remote-tracking branch 'origin/master' into pipe-videoChristian König1-2/+2
Conflicts: src/gallium/drivers/r600/r600_pipe.c src/gallium/drivers/r600/r600_state_inlines.h
2011-07-08DRI2/GLX: use new swap event typesJesse Barnes1-2/+2
Use the new swap event type so we get valid SBC values. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2011-07-04Merge remote-tracking branch 'origin/master' into pipe-videoChristian König1-498/+578
Conflicts: configure.ac src/gallium/drivers/r600/r600_state_inlines.h src/gallium/tests/trivial/Makefile src/gallium/winsys/g3dvl/dri/XF86dri.c src/gallium/winsys/g3dvl/dri/driclient.c src/gallium/winsys/g3dvl/dri/driclient.h src/gallium/winsys/g3dvl/dri/xf86dri.h src/gallium/winsys/g3dvl/dri/xf86dristr.h src/gallium/winsys/r600/drm/r600_bo.c
2011-07-04Merge branch 'xa_branch'Thomas Hellstrom1-2/+20
Conflicts: configure.ac Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-07-02configure: Require libudev for drm & wayland egl platformsBenjamin Franzke1-0/+4
NOTE: This is a candidate for the 7.11 branch.
2011-07-02configure: Fix typo in gbm check for egl drm platformBenjamin Franzke1-1/+1
NOTE: This is a candidate for the 7.11 branch.
2011-07-02configure: Enable st/gbm if st/egl has drm platformBenjamin Franzke1-2/+10
NOTE: This is a candidate for the 7.11 branch.
2011-07-02autoconf: swrast does not require libdrmChia-I Wu1-4/+13
This fixes $ ./configure --disable-driglx-direct \ --with-dri-drivers=swrast \ --with-gallium-drivers=
2011-07-01autoconf: fix --disable-glxChia-I Wu1-16/+23
libdrm is used in multiple places. Always check for it and set have_libdrm. Each user can then check the variable. This is useful when only EGL and DRI drivers are needed.
2011-07-01autoconf: fix --disable-driChia-I Wu1-20/+13
Define GLX_INDIRECT_RENDERING and GLX_DIRECT_RENDERING when $enable_glx, not $enable_dri.
2011-07-01autoconf: add --enable-{dri,glx,osmesa}Chia-I Wu1-124/+177
The idea is that DRI driver, libGL and libOSMesa are libraries that can be independently enabled, yet --with-driver does not allow us to easily do that, if not impossible. This also matches what --enable-{egl,xorg,d3d1x} do for the respective libraries. There are two libGL providers: Xlib-based and DRI-based. They cannot coexist. To be able to choose between them, --enable-xlib-glx is also added. With this commit, --with-driver=dri can be replaced by $ ./configure --enable-dri --enable-glx --disable-osmesa --with-driver=xlib can be replaced by $ ./configure --disable-dri --enable-glx --enable-osmesa \ --enable-xlib-glx and --with-driver=osmesa can be replaced by $ ./configure --disable-dri --disable-glx --enable-osmesa Some combinations that cannot be supported with --with-driver will produce errors at the moment. But in the future, we would like to support, for example, $ ./configure --enable-dri --disable-glx --enable-egl (build libEGL and DRI drivers, but not libGL) Note that this commit still keeps --with-driver for transitional purpose.
2011-06-28glx: Check HAVE_XF86VIDMODE before adding it as an implicit linkAlan Hourihane1-1/+5
library.
2011-06-28Don't use -fvisibilty=hidden on cygwinJon TURNEY1-0/+9
All it's going to do is generate lots and lots and lots of 'warning: visibility attribute not supported in this configuration; ignored' warnings Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2011-06-28Fix config check that claims to test if CXX supports -fvisibility=hidden ↵Jon TURNEY1-0/+2
option to actually test the C++ compiler. Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2011-06-27configure.ac: sort Gallium directories alphabeticallyMarek Olšák1-0/+6
2011-06-24targets/egl-static: replace targets/eglChia-I Wu1-1/+1
Build egl_gallium from targets/egl-static intead of targets/egl. The latter exposes (unversioned) gallium interfaces and is frowned upon.
2011-06-24configure: Disable drm egl platform by defaultBenjamin Franzke1-3/+0
So that gbm(_dri) which pulls in shared-glapi is not needed.
2011-06-23egl_dri2: Hookup gbm as drm platformBenjamin Franzke1-0/+3
2011-06-23gbm: Add gallium (drm) backendBenjamin Franzke1-0/+23
2011-06-23gbm: Add dri backendBenjamin Franzke1-0/+7
2011-06-23Add gbm (generic/graphics buffer manager)Benjamin Franzke1-0/+37
2011-06-20configure.ac: remove deprecated EGL optionsChia-I Wu1-9/+0
2011-06-19configure.ac: add back --enable-gallium-eglMarek Olšák1-4/+27
2011-06-19configure.ac: Avoid running llvm-config when it hadn't been checked for.Cyril Brulebois1-0/+2
If --disable-gallium is passed, llvm-config isn't checked for, so mark it explicitly as absent, through LLVM_CONFIG=no. Passing --disable-gallium would result in: | ../configure: line 9739: --version: command not found | ../configure: line 9740: --cppflags: command not found | ../configure: line 9741: --libs: command not found | ../configure: line 9743: --ldflags: command not found With this commit, one gets that instead: | configure: error: LLVM is required to build Gallium R300 on x86 and x86_64 Signed-off-by: Cyril Brulebois <kibi@debian.org>
2011-06-19configure.ac: build r600g by defaultMarek Olšák1-2/+2
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>