From fc72edebf875378459368c5383d9023730cbca54 Mon Sep 17 00:00:00 2001
From: marha
The autoconf generated configure script can be used to guess your
@@ -104,7 +103,6 @@ package metadata in
There are also a few general options for altering the Mesa build:
@@ -139,11 +137,9 @@ to force 32- or 64-bit code generation as used on the x86 and x86_64
architectures.
-
There are several different driver modes that Mesa can use. These are
@@ -153,84 +149,70 @@ configure option --with-driver. There are currently three supported
options in the configure script.
This is the default mode for building Mesa.
It uses Xlib as a software renderer to do all rendering. It corresponds
to the option This mode uses the DRI hardware drivers for
accelerated OpenGL rendering. Enable the DRI drivers with the option
- This option specifies the
location the DRI drivers will be installed to and the location libGL
will search for DRI drivers. The default is This option
allows a specific set of DRI drivers to be built. For example,
Disable direct rendering in
GLX. Normally, direct hardware rendering through the DRI drivers and
indirect software rendering are enabled in GLX. This option disables
direct rendering entirely. It can be useful on architectures where
kernel DRM modules are not available.
-
+Enable Thread Local Storage (TLS) in
GLX.
-Compilation and Installation using Autoconf
-
-
-1. Basic Usage
+1. Basic Usage
/usr/X11R6
before the standard
directories.
-2. Driver Options
+2. Driver Options
-
-
-
Xlib
--with-driver=xlib
. The libX11 and libXext
libraries, as well as the X11 development headers, will be need to
support the Xlib driver.
-DRI
--with-driver=dri
. See the basic
installation instructions for details on prerequisites for the DRI
drivers.
-
-
---with-dri-driverdir=DIR
- This option specifies the
+
+
--with-dri-driverdir=DIR
+${libdir}/dri
.
---with-dri-drivers=DRIVER,DRIVER,...
- This option
+--with-dri-drivers=DRIVER,DRIVER,...
+--with-dri-drivers="swrast,i965,radeon,nouveau"
. By
default, the drivers will be chosen depending on the target platform.
See the directory src/mesa/drivers/dri
in the source tree
for available drivers. Beware that the swrast DRI driver is used by both
libGL and the X.Org xserver GLX module to do software rendering, so you
-may run into problems if it is not available.--disable-driglx-direct
- Disable direct rendering in
+--disable-driglx-direct
+--enable-glx-tls
- Enable Thread Local Storage (TLS) in
+--enable-glx-tls
--with-expat=DIR
- The DRI-enabled libGL uses expat to
+--with-expat=DIR
/etc/drirc
and
~/.drirc
. This option allows a specific expat installation
to be used. For example, --with-expat=/usr/local
will
search for expat headers and libraries in /usr/local/include
and /usr/local/lib
, respectively.
-
No libGL is built in this mode. Instead, the driver code is built into the Off-Screen Mesa (OSMesa) library. See the Off-Screen Rendering page for more details. -
-
--with-osmesa-bits=BITS
- This option allows the size
+--with-osmesa-bits=BITS
+ This option allows the size
of the color channel in bits to be specified. By default, an 8-bit
channel will be used, and the driver will be named libOSMesa. Other
options are 16- and 32-bit color channels, which will add the bit size
to the library name. For example, --with-osmesa-bits=16
will create the libOSMesa16 library with a 16-bit color channel.
-
The configure script provides more fine grained control over the GL @@ -238,18 +220,14 @@ libraries that will be built. More details on the specific GL libraries can be found in the basic installation instructions. -
The libGLU library will be built by default
on all drivers. This can be disable with the option
--disable-glu
.
-
There are many demonstration programs in the MesaDemos tarball. If the
@@ -257,18 +235,16 @@ programs are available when ./configure
is run, a subset of
the programs will be built depending on the driver and library options
chosen. See the directory progs
for the full set of demos.
-
--with-demos=DEMOS,DEMOS,...
- This option allows a
+--with-demos=DEMOS,DEMOS,...
+ This option allows a
specific set of demo programs to be built. For example,
--with-demos="xdemos,slang"
. Beware that if this option is
used, it will not be ensured that the necessary GL libraries will be
available.
-
--without-demos
- This completely disables building the
+--without-demos
This completely disables building the
demo programs. It is equivalent to --with-demos=no
.
-
For more information about gamma correction see: - the Gamma FAQ
-- cgit v1.2.3