summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* 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]>
* mesa: fix build for NetBSDPierre Allegraud2011-01-061-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 <[email protected]>
* Merge remote branch 'origin/nvc0'Christoph Bumiller2011-01-041-1/+1
|\
| * Merge remote branch 'origin/master' into nvc0-newChristoph Bumiller2010-12-191-1/+14
| |\
| * | nvc0: import nvc0 gallium driverChristoph Bumiller2010-11-121-1/+1
| | |
* | | intel: Bump libdrm configure.ac requirement for the gen6 BLT ring support.Eric Anholt2011-01-031-1/+1
| | |
* | | autoconf: Fix --with-driver=xlib --enable-openvg.Chia-I Wu2011-01-041-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.
* | configure: use llvm-config --cppflags instead of --cflagsBrian Paul2010-12-081-1/+1
| |
* | gallium/noop: no operation gallium driverJerome Glisse2010-11-151-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 <[email protected]>
* autoconf: Add --enable-gallium-egl.Chia-I Wu2010-11-101-6/+22
| | | | | This option comes handy when we want to build gallium DRI drivers but not st/egl.
* autoconf: Tidy configure output for EGL.Chia-I Wu2010-10-311-7/+9
| | | | | Prefix EGL driver names by "egl_". Make it clear that EGL_CLIENT_APIS is only used by egl_gallium.
* autoconf: st/vega requires --enable-openvg.Chia-I Wu2010-10-301-0/+15
| | | | Make it a warning for now to smooth the transition.
* autoconf: Update configuration info.Chia-I Wu2010-10-291-23/+40
| | | | Output API info first. Move GLU/GLw/GLUT and EGL near driver info.
* autoconf: Better client API selection.Chia-I Wu2010-10-291-97/+180
| | | | | | | | | | | | | | | | | | 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
* Fix build on systems where "python" is python 3.Kenneth Graunke2010-10-271-0/+3
| | | | | | | | | | | 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 <[email protected]> Signed-off-by: Matthew William Cox <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]>
* configure.ac: do not build xorg-r300g by defaultMarek Olšák2010-09-281-2/+10
| | | | NOTE: This is a candidate for the 7.9 branch.
* configure.ac: look for libdrm_radeon before building gallium/r300,r600Marek Olšák2010-09-281-10/+18
| | | | NOTE: This is a candidate for the 7.9 branch.
* mesa: make makedepend an hard requirementLuca Barbieri2010-09-271-0/+4
| | | | | | | | | | | | 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.
* Build r300g by defaultMarek Olšák2010-09-241-4/+2
| | | | NOTE: This will go to 7.9 as well.
* egl: Enable drm platform by default.Chia-I Wu2010-09-191-0/+3
| | | | This enables EGL_MESA_drm_display for st/egl in the default setup.
* st/egl: Rename kms backend to drm.Chia-I Wu2010-09-191-1/+1
| | | | | The main use of the backend is to support EGL_MESA_drm_display. drm should be a better name.
* configure: Enable -fvisibility=hidden for g++ as wellKristian Høgsberg2010-09-081-0/+7
|