disk cache: add callback functionality
[mesa.git] / docs / mangling.html
index cb19e7568a59775455e95a48fbbc06dd88278fe1..9d92b7d2ff5141f60e42c83c58f89297941d8c18 100644 (file)
@@ -1,28 +1,37 @@
-<HTML>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+  <meta http-equiv="content-type" content="text/html; charset=utf-8">
+  <title>GL Function Name Mangling</title>
+  <link rel="stylesheet" type="text/css" href="mesa.css">
+</head>
+<body>
 
-<TITLE>Function Name Mangling</TITLE>
+<div class="header">
+  <h1>The Mesa 3D Graphics Library</h1>
+</div>
 
-<link rel="stylesheet" type="text/css" href="mesa.css"></head>
+<iframe src="contents.html"></iframe>
+<div class="content">
 
-<BODY>
-
-<H1>Function Name Mangling</H1>
+<h1>GL Function Name Mangling</h1>
 
 <p>
-If you want to use Mesa and native OpenGL in the same application at
-the same time you may find it useful to compile Mesa with
+If you want to use both Mesa and another OpenGL library in the same
+application at the same time you may find it useful to compile Mesa with
 <i>name mangling</i>.
 This results in all the Mesa functions being prefixed with
 <b>mgl</b> instead of <b>gl</b>.
 </p>
 
 <p>
-To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE.
-Add the flag to the other compiler flags in Make-config (if using the
-old-style build system) or in src/Makefile if using GNU autoconf/
-automake to build Mesa.
+This option is supported only with the autoconf build. To use it add
+--enable-mangling to your configure line.
 </p>
+<pre>
+<code>./configure --enable-mangling ...</code>
+</pre>
 
-
-</BODY>
-</HTML>
+</div>
+</body>
+</html>