docs: recommend using --enable-mangling over the manual -DUSE...

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Emil Velikov
2016-06-29 13:26:07 +01:00
committed by Emil Velikov
parent 0fa854aea5
commit 7a39a0091d
2 changed files with 6 additions and 7 deletions

View File

@@ -66,7 +66,7 @@
<li><a href="debugging.html" target="_parent">Debugging Tips</a> <li><a href="debugging.html" target="_parent">Debugging Tips</a>
<li><a href="perf.html" target="_parent">Performance Tips</a> <li><a href="perf.html" target="_parent">Performance Tips</a>
<li><a href="extensions.html" target="_parent">Mesa Extensions</a> <li><a href="extensions.html" target="_parent">Mesa Extensions</a>
<li><a href="mangling.html" target="_parent">Function Name Mangling</a> <li><a href="mangling.html" target="_parent">GL Function Name Mangling</a>
<li><a href="llvmpipe.html" target="_parent">Gallium llvmpipe driver</a> <li><a href="llvmpipe.html" target="_parent">Gallium llvmpipe driver</a>
<li><a href="vmware-guest.html" target="_parent">VMware SVGA3D guest driver</a> <li><a href="vmware-guest.html" target="_parent">VMware SVGA3D guest driver</a>
<li><a href="postprocess.html" target="_parent">Gallium post-processing</a> <li><a href="postprocess.html" target="_parent">Gallium post-processing</a>

View File

@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Function Name Mangling</title> <title>GL Function Name Mangling</title>
<link rel="stylesheet" type="text/css" href="mesa.css"> <link rel="stylesheet" type="text/css" href="mesa.css">
</head> </head>
<body> <body>
@@ -14,7 +14,7 @@
<iframe src="contents.html"></iframe> <iframe src="contents.html"></iframe>
<div class="content"> <div class="content">
<h1>Function Name Mangling</h1> <h1>GL Function Name Mangling</h1>
<p> <p>
If you want to use both Mesa and another OpenGL library in the same If you want to use both Mesa and another OpenGL library in the same
@@ -25,12 +25,11 @@ This results in all the Mesa functions being prefixed with
</p> </p>
<p> <p>
To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE. This option is supported only with the autoconf build. To use it add
Add the flag to CFLAGS in the configuration file which you want to use. --enable-mangling to your configure line.
For example:
</p> </p>
<pre> <pre>
CFLAGS += -DUSE_MGL_NAMESPACE <code>./configure --enable-mangling ...</code>
</pre> </pre>
</div> </div>