[PATCH] docs: Add a page on post-processing

Lauri Kasanen cand at gmx.com
Thu Aug 25 13:23:08 PDT 2011

Signed-off-by: Lauri Kasanen <cand at gmx.com>
 docs/contents.html    |    1 +
 docs/postprocess.html |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 docs/postprocess.html

diff --git a/docs/contents.html b/docs/contents.html
index 8fc2ac0..46e458e 100644
--- a/docs/contents.html
+++ b/docs/contents.html
@@ -63,6 +63,7 @@ a:visited {
 <LI><A HREF="extensions.html" target="MainFrame">Mesa Extensions</A>
 <LI><A HREF="mangling.html" target="MainFrame">Function Name Mangling</A>
 <LI><A href="llvmpipe.html" target="MainFrame">Gallium llvmpipe driver</A>
+<LI><A href="postprocess.html" target="MainFrame">Gallium post-processing</A>
 <b>Developer Topics</b>
diff --git a/docs/postprocess.html b/docs/postprocess.html
new file mode 100644
index 0000000..47d1d8c
--- /dev/null
+++ b/docs/postprocess.html
@@ -0,0 +1,46 @@
+<link rel="stylesheet" type="text/css" href="mesa.css"></head>
+The Gallium drivers in current Mesa support user-defined post-processing.<br>
+The filters can be toggled per-app via driconf, or per-session via the corresponding
+environment variables.
+As many filters can be used at once as needed.
+<H2>PP environment variables</H2>
+<li>PP_DEBUG - If defined debug information will be printed to stderr.
+<h2>Current filters</h2>
+<li>pp_nored, pp_nogreen, pp_noblue - set to 1 to remove the corresponding color channel.
+The most basic filters, to enable easy testing of the PP queue.
+<li>pp_jimenezmlaa, pp_jimenezmlaa_color -
+<a href="http://www.iryokufx.com/mlaa/" target=_blank>Jimenez's MLAA</a>
+ is a morphological anti-aliasing
+filter. The two versions use depth and color data, respectively. Which works better depends
+on the app - depth will not blur text, but it will miss transparent textures for example.
+Set to a number from 2 to 32, roughly corresponding to quality. Numbers higher than 8 see
+minimizing gains.
+<li>pp_celshade - set to 1 to enable cel-shading. A more complex color filter.

More information about the mesa-dev mailing list