Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

postprocess.html 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html lang="en">
  3. <head>
  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">
  7. </head>
  8. <body>
  9. <div class="header">
  10. <h1>The Mesa 3D Graphics Library</h1>
  11. </div>
  12. <iframe src="contents.html"></iframe>
  13. <div class="content">
  14. <h1>Gallium Post-processing</h1>
  15. <p>
  16. The Gallium drivers support user-defined image post-processing.
  17. At the end of drawing a frame a post-processing filter can be applied to
  18. the rendered image.
  19. Example filters include morphological antialiasing and cell shading.
  20. </p>
  21. <p>
  22. The filters can be toggled per-app via driconf, or per-session via the
  23. corresponding environment variables.
  24. </p>
  25. <p>
  26. Multiple filters can be used together.
  27. </p>
  28. <h2>PP environment variables</h2>
  29. <ul>
  30. <li>PP_DEBUG - If defined debug information will be printed to stderr.
  31. </ul>
  32. <h2>Current filters</h2>
  33. <ul>
  34. <li>pp_nored, pp_nogreen, pp_noblue - set to 1 to remove the corresponding color channel.
  35. These are basic filters for easy testing of the PP queue.
  36. <li>pp_jimenezmlaa, pp_jimenezmlaa_color -
  37. <a href="http://www.iryokufx.com/mlaa/" target=_blank>Jimenez's MLAA</a>
  38. is a morphological antialiasing filter.
  39. The two versions use depth and color data, respectively.
  40. Which works better depends on the app - depth will not blur text, but it will
  41. miss transparent textures for example.
  42. Set to a number from 2 to 32, roughly corresponding to quality.
  43. Numbers higher than 8 see minimizing gains.
  44. <li>pp_celshade - set to 1 to enable cell shading (a more complex color filter).
  45. </ul>
  46. <br>
  47. <br>
  48. </div>
  49. </body>
  50. </html>