summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarxus <darxus@chaosreigns.com>2011-02-13 20:13:21 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-02-17 11:21:49 -0500
commit331b83d99e79c22dbfdcaa99cb2c592af1fac4bc (patch)
tree56f3bd72948fb8c79ecbe8c85861b43aecdb1d7e
parentbba83ebdb124f6c95c04a1ea7db3418b401296fe (diff)
Update build instructions - don't need Gallium EGL driver anymore
The mess of mesa build flags had been due to the Gallium EGL driver not working with Intel, while being required by Nouveau. Thanks to Dave Airlie, as of today, Nouveau no-longer requires Gallium EGL and can use DRI2 EGL. ATI/AMD has been able to for a while. So we should be able to substantially simplify the mesa build flags. Build flags removed: --engable-egl - default --with-state-trackers=glx,dri,egl - dri,xorg,egl is default, glx not needed --with-egl-platforms=drm - included in default --enable-gles-overlay - adds --enable-gles1, not needed --with-dri-drivers=i915,i965 - included in default --disable-gallium-{i915,i965} - covered by --disable-gallium-egl
-rw-r--r--building.html21
1 files changed, 8 insertions, 13 deletions
diff --git a/building.html b/building.html
index dcf06f9..5eccc77 100644
--- a/building.html
+++ b/building.html
@@ -8,7 +8,7 @@
</head>
<body>
-<h1><img src="wayland.png" alt="wayland logo"></h1>
+<h1><a href="/"><img src="wayland.png" alt="wayland logo"></a></h1>
<p>The instructions below assume some familiarity with git and
building and running experimental software. And be prepared that this
@@ -61,11 +61,8 @@ For this you'll also need a development package for libdrm.</p>
$ git clone git://anongit.freedesktop.org/mesa/mesa
$ cd mesa
- $ ./autogen.sh --prefix=$HOME/install --enable-egl --enable-gles2 \
- --enable-gallium-nouveau --with-state-trackers=glx,dri,egl \
- --with-egl-platforms=drm --enable-gles-overlay \
- --enable-gallium-r600 --with-dri-drivers=i915,i965 \
- --disable-gallium-{i915,i965}
+ $ ./autogen.sh --prefix=$HOME/install --enable-gles2 \
+ --disable-gallium-egl --enable-gallium-nouveau --enable-gallium-r600
$ make &amp;&amp; make install
</pre>
@@ -142,16 +139,14 @@ dependencies, first install just the libraries:</p>
<h2>Building mesa with Wayland EGL platform</h2>
-<p>Build mesa a second time, the only difference being the addition of
-wayland to --enable-egl-platforms.</p>
+<p>Build mesa a second time, adding --with-egl-platforms (wayland must
+come first).</p>
<pre> $ cd mesa
$ make realclean # Otherwise important stuff doesn't get rebuilt.
- $ ./autogen.sh --prefix=$HOME/install --enable-egl --enable-gles2 \
- --enable-gallium-nouveau --with-state-trackers=glx,dri,egl \
- --with-egl-platforms=<b>wayland,</b>drm --enable-gles-overlay \
- --enable-gallium-r600 --with-dri-drivers=i915,i965 \
- --disable-gallium-{i915,i965}
+ $ ./autogen.sh --prefix=$HOME/install --enable-gles2 \
+ --disable-gallium-egl --enable-gallium-nouveau --enable-gallium-r600 \
+ --with-egl-platforms=wayland,drm
$ make &amp;&amp; make install
</pre>