From: Lauri Kasanen Date: Thu, 25 Aug 2011 20:26:17 +0000 (+0300) Subject: docs: Add a page on post-processing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50da22ceb16a7398612a8b5b7036ef2e0b635eef;p=mesa.git docs: Add a page on post-processing With edits by Brian. Signed-off-by: Lauri Kasanen Signed-off-by: Brian Paul --- diff --git a/docs/contents.html b/docs/contents.html index 8fc2ac0da9f..46e458ee174 100644 --- a/docs/contents.html +++ b/docs/contents.html @@ -63,6 +63,7 @@ a:visited {
  • Mesa Extensions
  • Function Name Mangling
  • Gallium llvmpipe driver +
  • Gallium post-processing Developer Topics diff --git a/docs/postprocess.html b/docs/postprocess.html new file mode 100644 index 00000000000..2a379694298 --- /dev/null +++ b/docs/postprocess.html @@ -0,0 +1,56 @@ + + +Gallium Post-processing + + + + + +

    Gallium Post-processing

    + +

    +The Gallium drivers support user-defined image post-processing. +At the end of drawing a frame a post-processing filter can be applied to +the rendered image. +Example filters include morphological antialiasing and cell shading. +

    + +

    +The filters can be toggled per-app via driconf, or per-session via the +corresponding environment variables. +

    + +

    +Multiple filters can be used together. +

    + + +

    PP environment variables

    + +
      +
    • PP_DEBUG - If defined debug information will be printed to stderr. +
    + +

    Current filters

    + +
      +
    • pp_nored, pp_nogreen, pp_noblue - set to 1 to remove the corresponding color channel. +These are basic filters for easy testing of the PP queue. +
    • pp_jimenezmlaa, pp_jimenezmlaa_color - +Jimenez's MLAA +is a morphological antialiasing 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. +
    • pp_celshade - set to 1 to enable cell shading (a more complex color filter). +
    + + +
    +
    + + + +