summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2011-06-02dri/nouveau: Fix build with --enable-shared-dricore.Johannes Obermayr1-5/+12
- Based on the work of Себастьян Gliţa Κατινα <cglita@yahoo.com> - 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 <brianp@vmware.com>
2011-05-31st/egl: Fix udev linkage when egl_dri2 is not buildBenjamin Franzke1-3/+3
2011-05-18mesa: check that flex/bison are installedBrian Paul1-0/+6
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=36651 NOTE: This is a candidate for the 7.10 branch.
2011-05-18add $SELINUX_LIBS to EGL and OpenVG lib depsTapani Pälli1-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 <airlied@redhat.com>
2011-05-13st/egl: Implement EGL_WL_bind_wayland_display for x11,drm,waylandBenjamin Franzke1-2/+2
2011-05-05Revert "DRI2/GLX: make swap event handling match spec"Dave Airlie1-2/+2
This reverts commit 70227e21bbd4411956ceeb5039640140e64a11a8. revert this until we sort things out, with a new glproto release with compatible struct names.
2011-05-04DRI2/GLX: make swap event handling match specJesse Barnes1-2/+2
We only handle a 32 bit swap count, so use the new structure definitions. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2011-05-02Default to --disable-gallium-r300 if not --with-driver=driJon TURNEY1-0/+7
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Marek Olšák <maraeo@gmail.com>
2011-04-25winsys: Add wayland shm sw winsysBenjamin Franzke1-0/+1
2011-04-25configure.ac: require LLVM for r300g on x86 and x86_64Marek Olšák1-1/+8
2011-04-25configure.ac: enable LLVM by default on x86 and x86_64Marek Olšák1-1/+6
2011-04-22configure.ac: fix up the help text for --enable-gallium-r300Marek Olšák1-1/+1
2011-04-19configure.ac: rename --enable-gallium-radeon to --enable-gallium-r300Marek Olšák1-9/+8
Also fix up the help string for both r300 and r600.
2011-04-15configure.ac: add an enable switch for float textures (v2)Marek Olšák1-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.
2011-04-08Disable direct rendering on CygwinJon TURNEY1-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 <jon.turney@dronecode.org.uk> Reviewed-by: Julien Cristau <jcristau@debian.org>
2011-04-08Disable direct rendering on GNU/Hurdnobled1-2/+11
The Hurd kernel doesn't have DRM yet. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-By: Jakob Bornecrantz <wallbraker@gmail.com>
2011-04-08Only require libdrm if direct rendering is actually enabled.Samuel Thibault1-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 <jon.turney@dronecode.org.uk> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-By: Jakob Bornecrantz <wallbraker@gmail.com>
2011-03-14autoconf/make: Don't specify individual llvm libraries.José Fonseca1-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.
2011-03-14autoconf/llvm: fix build for disassemblerDave Airlie1-1/+1
tested by okias on irc
2011-03-13gallivm: Use LLVM MC disassembler, instead of udis86.José Fonseca1-6/+0
Included in LLVM 2.7+. Unlink udis86, should support all instructions that LLVM can emit.
2011-03-02egl_dri2 x11: Workaround device_name xcb-dri2 bugBenjamin Franzke1-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."
2011-03-01egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke1-1/+1
2011-03-01configure: Bump libdrm requirementsChris Wilson1-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 <chris@chris-wilson.co.uk>
2011-02-23Fix GLX_USE_TLS define.Tom Fogal1-5/+3
It was only getting set in the case of DRI drivers.
2011-02-20Fix --enable-shared-glapi configure optionJon TURNEY1-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 <jon.turney@dronecode.org.uk>
2011-02-11mesa: Optionally build a dricore support library (v3)Christopher James Halse Rogers1-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 <christopher.halse.rogers@canonical.com>
2011-02-11configure.ac: remove libdrm_radeon dependency for r300g and r600gMarek Olšák1-18/+6
2011-02-10configure.ac: Fix typoKristian Høgsberg1-1/+1
2011-02-07egl: Implement libwayland-eglBenjamin Franzke1-0/+17
This library is required and defined by wayland for EGL implementations supporting wayland.
2011-02-07egl: Add wayland platformBenjamin Franzke1-0/+4
2011-02-06configure.ac: correctly check for libdrm_radeon versionMarek Olšák1-1/+1
2011-01-31Remove talloc from the make and automake build systems.Kenneth Graunke1-9/+5
2011-01-25configure.ac: define LIBDRM_INTEL_REQUIREDTormod Volden1-1/+2
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 Wu1-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
2011-01-20glapi: Fix OpenGL ES 1.1 and 2.0 interop.Chia-I Wu1-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.
2011-01-20autoconf: Fail when --with-state-trackers is incomplete.Chia-I Wu1-0/+9
When --enable-openvg or --enable-gallium-egl is enabled, --with-state-trackers must have vega or egl.
2011-01-11noop: remove dead dri targetJerome Glisse1-13/+0
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-01-11configure: bump libdrm version requirement to 2.4.23Brian Paul1-3/+3
NOTE: This is a candidate for the 7.10 (and 7.9?) branch.
2011-01-10Export TLS support in gl.pc.Tom Fogal1-1/+7
2011-01-10mesa: Remove GLES overlay.Chia-I Wu1-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.
2011-01-10egl: Make egl_dri2 and egl_glx built-in drivers.Chia-I Wu1-1/+1
These two drivers are small in size. Making them built-in should simplify packaging.
2011-01-09noop: make noop useable like trace or rbugJerome Glisse1-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 <jglisse@redhat.com>
2011-01-06mesa: fix build for NetBSDPierre Allegraud1-7/+4
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 Bumiller1-1/+1
2011-01-03intel: Bump libdrm configure.ac requirement for the gen6 BLT ring support.Eric Anholt1-1/+1
2011-01-04autoconf: Fix --with-driver=xlib --enable-openvg.Chia-I Wu1-5/+1
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 Bumiller1-1/+14
2010-12-08configure: use llvm-config --cppflags instead of --cflagsBrian Paul1-1/+1
2010-11-15gallium/noop: no operation gallium driverJerome Glisse1-0/+13
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 Bumiller1-1/+1