summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'xa_branch'Thomas Hellstrom2011-07-041-2/+20
|\ | | | | | | | | | | | | Conflicts: configure.ac Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Initial import of the xa state-tracker and the xa-vmwgfx target.Thomas Hellstrom2011-06-151-3/+9
| | | | | | | | | | | | See the file src/gallium/state_trackers/xa/README for more info. Signed-off-by: Thomas Hellstrom <[email protected]>
* | configure: Require libudev for drm & wayland egl platformsBenjamin Franzke2011-07-021-0/+4
| | | | | | | | NOTE: This is a candidate for the 7.11 branch.
* | configure: Fix typo in gbm check for egl drm platformBenjamin Franzke2011-07-021-1/+1
| | | | | | | | NOTE: This is a candidate for the 7.11 branch.
* | configure: Enable st/gbm if st/egl has drm platformBenjamin Franzke2011-07-021-2/+10
| | | | | | | | NOTE: This is a candidate for the 7.11 branch.
* | autoconf: swrast does not require libdrmChia-I Wu2011-07-021-4/+13
| | | | | | | | | | | | | | | | This fixes $ ./configure --disable-driglx-direct \ --with-dri-drivers=swrast \ --with-gallium-drivers=
* | autoconf: fix --disable-glxChia-I Wu2011-07-011-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.
* | autoconf: fix --disable-driChia-I Wu2011-07-011-20/+13
| | | | | | | | | | Define GLX_INDIRECT_RENDERING and GLX_DIRECT_RENDERING when $enable_glx, not $enable_dri.
* | autoconf: add --enable-{dri,glx,osmesa}Chia-I Wu2011-07-011-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.
* | glx: Check HAVE_XF86VIDMODE before adding it as an implicit linkAlan Hourihane2011-06-281-1/+5
| | | | | | | | library.
* | Don't use -fvisibilty=hidden on cygwinJon TURNEY2011-06-281-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 <[email protected]> Reviewed-by: Dan Nicholson <[email protected]>
* | Fix config check that claims to test if CXX supports -fvisibility=hidden ↵Jon TURNEY2011-06-281-0/+2
| | | | | | | | | | | | | | option to actually test the C++ compiler. Reviewed-by: Dan Nicholson <[email protected]> Signed-off-by: Jon TURNEY <[email protected]>
* | configure.ac: sort Gallium directories alphabeticallyMarek Olšák2011-06-271-0/+6
| |
* | targets/egl-static: replace targets/eglChia-I Wu2011-06-241-1/+1
| | | | | | | | | | Build egl_gallium from targets/egl-static intead of targets/egl. The latter exposes (unversioned) gallium interfaces and is frowned upon.
* | configure: Disable drm egl platform by defaultBenjamin Franzke2011-06-241-3/+0
| | | | | | | | So that gbm(_dri) which pulls in shared-glapi is not needed.
* | egl_dri2: Hookup gbm as drm platformBenjamin Franzke2011-06-231-0/+3
| |
* | gbm: Add gallium (drm) backendBenjamin Franzke2011-06-231-0/+23
| |
* | gbm: Add dri backendBenjamin Franzke2011-06-231-0/+7
| |
* | Add gbm (generic/graphics buffer manager)Benjamin Franzke2011-06-231-0/+37
| |
* | configure.ac: remove deprecated EGL optionsChia-I Wu2011-06-201-9/+0
| |
* | configure.ac: add back --enable-gallium-eglMarek Olšák2011-06-191-4/+27
| |
* | configure.ac: Avoid running llvm-config when it hadn't been checked for.Cyril Brulebois2011-06-191-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 <[email protected]>
* | configure.ac: build r600g by defaultMarek Olšák2011-06-191-2/+2
| | | | | | | | Reviewed-by: Alex Deucher <[email protected]>
* | configure.ac: add option --with-gallium-drivers=DIRSMarek Olšák2011-06-191-108/+57
| | | | | | | | | | | | | | | | | | | | | | This removes all the --enable-gallium-$driver options and --disable-gallium. Gallium can be disabled by --with-gallium-drivers= (without parameters). Default is: --with-gallium-drivers=r300,swrast Reviewed-by: Alex Deucher <[email protected]>
* | configure.ac: remove --with-state-trackersMarek Olšák2011-06-191-142/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is an obvious redundancy: --with-driver=dri VS --with-state-trackers=dri --with-driver=xlib VS --with-state-trackers=glx --enable-openvg VS --with-state-trackers=vega --enable-egl VS --with-state-trackers=egl This patch adds two new options for the remaining state trackers: --enable-xorg --enable-d3d1x Reviewed-by: Alex Deucher <[email protected]>
* | configure.ac: remove redundant option --enable-gallium-eglMarek Olšák2011-06-191-26/+4
|/ | | | | | We already have --enable-gallium, --enable-egl, and --with-state-trackers=egl. Reviewed-by: Alex Deucher <[email protected]>
* configure.ac: cleanup the gallium-r300 optionMarek Olšák2011-06-141-19/+13
|
* xorg-radeon: rename to xorg-r300Marek Olšák2011-06-141-1/+1
|
* dri/nouveau: Fix build with --enable-shared-dricore.Johannes Obermayr2011-06-021-5/+12
| | | | | | | | | - Based on the work of Себастьян Gliţa Κατινα <[email protected]> - Split Makefile.template into Makefile.defines and Makefile.targets - Adapt other drivers to new situation - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35441 Signed-off-by: Brian Paul <[email protected]>
* st/egl: Fix udev linkage when egl_dri2 is not buildBenjamin Franzke2011-05-311-3/+3
|
* mesa: check that flex/bison are installedBrian Paul2011-05-181-0/+6
| | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=36651 NOTE: This is a candidate for the 7.10 branch.
* add $SELINUX_LIBS to EGL and OpenVG lib depsTapani Pälli2011-05-181-2/+2
| | | | | | | | Correctly links against selinux library when MESA is built with --enable-selinux option. Fixes bug #36333 in Freedesktop bugzilla Signed-off-by: Dave Airlie <[email protected]>
* st/egl: Implement EGL_WL_bind_wayland_display for x11,drm,waylandBenjamin Franzke2011-05-131-2/+2
|
* Revert "DRI2/GLX: make swap event handling match spec"Dave Airlie2011-05-051-2/+2
| | | | | | | This reverts commit 70227e21bbd4411956ceeb5039640140e64a11a8. revert this until we sort things out, with a new glproto release with compatible struct names.
* DRI2/GLX: make swap event handling match specJesse Barnes2011-05-041-2/+2
| | | | | | | We only handle a 32 bit swap count, so use the new structure definitions. Reviewed-by: Adam Jackson <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
* Default to --disable-gallium-r300 if not --with-driver=driJon TURNEY2011-05-021-0/+7
| | | | | Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
* winsys: Add wayland shm sw winsysBenjamin Franzke2011-04-251-0/+1
|
* configure.ac: require LLVM for r300g on x86 and x86_64Marek Olšák2011-04-251-1/+8
|
* configure.ac: enable LLVM by default on x86 and x86_64Marek Olšák2011-04-251-1/+6
|
* configure.ac: fix up the help text for --enable-gallium-r300Marek Olšák2011-04-221-1/+1
|
* configure.ac: rename --enable-gallium-radeon to --enable-gallium-r300Marek Olšák2011-04-191-9/+8
| | | | Also fix up the help string for both r300 and r600.
* configure.ac: add an enable switch for float textures (v2)Marek Olšák2011-04-151-0/+15
| | | | | | | | | | | So --enable-texture-float it is. Hardware drivers (including the Gallium ones) should use #ifdef TEXTURE_FLOAT_ENABLED to hide any code that may expose floating-point renderbuffers via any interface, public or private. v2: Print a warning when using --enable-texture-float.
* Disable direct rendering on CygwinJon TURNEY2011-04-081-0/+14
| | | | | | | | | | | | Add Cygwin platform-specific settings and drivers to build for dri driver: - by default, disable direct rendering. - if direct rendering is enabled, the swrast dridriver is the only one it's sensible to try to build (this doesn't work at the moment as additional patches are required to build a libGL which can load just swrast without the DRM headers, even though there's no actual functional dependency) Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Julien Cristau <[email protected]>
* Disable direct rendering on GNU/Hurdnobled2011-04-081-2/+11
| | | | | | | | The Hurd kernel doesn't have DRM yet. Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Julien Cristau <[email protected]> Reviewed-By: Jakob Bornecrantz <[email protected]>
* Only require libdrm if direct rendering is actually enabled.Samuel Thibault2011-04-081-11/+18
| | | | | | | | | | | Fix build when configured --with-driver=dri --disable-driglx-direct on targets without drm e.g. GNU/Hurd and Cygwin Based on the Debian patch file '05_hurd-ftbfs.diff' by Samuel Thibault. Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Julien Cristau <[email protected]> Reviewed-By: Jakob Bornecrantz <[email protected]>
* autoconf/make: Don't specify individual llvm libraries.José Fonseca2011-03-141-1/+1
| | | | | | | We need more and more of these, and it is difficult and prone to version incompatability issues trying to single out every one of them. This mimicks what was done in SCons.
* autoconf/llvm: fix build for disassemblerDave Airlie2011-03-141-1/+1
| | | | tested by okias on irc
* gallivm: Use LLVM MC disassembler, instead of udis86.José Fonseca2011-03-131-6/+0
| | | | | Included in LLVM 2.7+. Unlink udis86, should support all instructions that LLVM can emit.
* egl_dri2 x11: Workaround device_name xcb-dri2 bugBenjamin Franzke2011-03-021-0/+3
| | | | | | | | | This commit is basically a copy-over of the fix Chia-I Wu's commited to wayland: http://cgit.freedesktop.org/wayland/wayland-demos/commit/?id=1b6c0ed95 "Workaround an xcb-dri2 bug. xcb_dri2_connect_device_name generated by xcb-proto 1.6 is broken. It only works when the length of the driver name is a multiple of 4."
* egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke2011-03-011-1/+1
|