1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8">
5 <title>Gallium Post-processing
</title>
6 <link rel=
"stylesheet" type=
"text/css" href=
"mesa.css">
10 <h1>Gallium Post-processing
</h1>
13 The Gallium drivers support user-defined image post-processing.
14 At the end of drawing a frame a post-processing filter can be applied to
16 Example filters include morphological antialiasing and cell shading.
20 The filters can be toggled per-app via driconf, or per-session via the
21 corresponding environment variables.
25 Multiple filters can be used together.
29 <h2>PP environment variables
</h2>
32 <li>PP_DEBUG - If defined debug information will be printed to stderr.
35 <h2>Current filters
</h2>
38 <li>pp_nored, pp_nogreen, pp_noblue - set to
1 to remove the corresponding color channel.
39 These are basic filters for easy testing of the PP queue.
40 <li>pp_jimenezmlaa, pp_jimenezmlaa_color -
41 <a href=
"http://www.iryokufx.com/mlaa/" target=_blank
>Jimenez's MLAA
</a>
42 is a morphological antialiasing filter.
43 The two versions use depth and color data, respectively.
44 Which works better depends on the app - depth will not blur text, but it will
45 miss transparent textures for example.
46 Set to a number from
2 to
32, roughly corresponding to quality.
47 Numbers higher than
8 see minimizing gains.
48 <li>pp_celshade - set to
1 to enable cell shading (a more complex color filter).