summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* configure: Bump libdrm requirementsChris Wilson2011-03-011-4/+4
| | | | | | | | | In my last commit I introduced a build dependency upon a new libdrm. Add the associated autoconf checks. As the headers are part of the core libdrm, we need to bump that version and so may as well bump the chipset specific versions simultaneously. Signed-off-by: Chris Wilson <[email protected]>
* Fix GLX_USE_TLS define.Tom Fogal2011-02-231-5/+3
| | | | It was only getting set in the case of DRI drivers.
* Fix --enable-shared-glapi configure optionJon TURNEY2011-02-201-1/+1
| | | | | | Fix a typo which meant that --enable-shared-glapi didn't actually cause a shared glapi to be built Signed-off-by: Jon TURNEY <[email protected]>
* mesa: Optionally build a dricore support library (v3)Christopher James Halse Rogers2011-02-111-6/+53
| | | | | | | | | | | | | | | | | 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 <[email protected]>
* configure.ac: remove libdrm_radeon dependency for r300g and r600gMarek Olšák2011-02-111-18/+6
|
* configure.ac: Fix typoKristian Høgsberg2011-02-101-1/+1
|
* egl: Implement libwayland-eglBenjamin Franzke2011-02-071-0/+17
| | | | | This library is required and defined by wayland for EGL implementations supporting wayland.
* egl: Add wayland platformBenjamin Franzke2011-02-071-0/+4
|
* configure.ac: correctly check for libdrm_radeon versionMarek Olšák2011-02-061-1/+1
|
* Remove talloc from the make and automake build systems.Kenneth Graunke2011-01-311-9/+5
|
* configure.ac: define LIBDRM_INTEL_REQUIREDTormod Volden2011-01-251-1/+2
| | | | | | | To have the LIBDRM* requirements in one place Signed-off-by: Tormod Volden <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* glapi: Fix OpenGL and OpenGL ES interop.Chia-I Wu2011-01-201-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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
* glapi: Fix OpenGL ES 1.1 and 2.0 interop.Chia-I Wu2011-01-201-0/+13
| | | | | | | | | | | 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.
* autoconf: Fail when --with-state-trackers is incomplete.Chia-I Wu2011-01-201-0/+9
| | | | | When --enable-openvg or --enable-gallium-egl is enabled, --with-state-trackers must have vega or egl.
* noop: remove dead dri targetJerome Glisse2011-01-111-13/+0
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* configure: bump libdrm version requirement to 2.4.23Brian Paul2011-01-111-3/+3
| | | | NOTE: This is a candidate for the 7.10 (and 7.9?) branch.
* Export TLS support in gl.pc.Tom Fogal2011-01-101-1/+7
|
* mesa: Remove GLES overlay.Chia-I Wu2011-01-101-20/+13
| | | | | | | 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.
* egl: Make egl_dri2 and egl_glx built-in drivers.Chia-I Wu2011-01-101-1/+1
| | | | | These two drivers are small in size. Making them built-in should simplify packaging.
* noop: make noop useable like trace or rbugJerome Glisse2011-01-091-1/+1
| | | | | | | | 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 <[email protected]>