From a97ee60926f6c08cb4cdd26a2746c483d8782547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= Date: Mon, 27 Jun 2016 10:00:58 +0200 Subject: [PATCH] docs: update MESA_DEBUG envvar documentation. silent, flush, incomplete_tex and incomplete_fbo flags were not documented (see src/mesa/main.debug.c for more info). FP is not checked anymore. v2 (Brian Paul): * MESA_DEBUG accepts a comma-separated list of parameters. * Clarify how MESA_DEBUG behaves with mesa debug and release builds. * Updated wording. v3: Better wording for one paragraph (Brian Paul) Reviewed-by: Brian Paul --- docs/envvars.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/envvars.html b/docs/envvars.html index 2d9a2891144..6d79398e1df 100644 --- a/docs/envvars.html +++ b/docs/envvars.html @@ -50,8 +50,17 @@ sometimes be useful for debugging end-user issues. if the application generates a GL_INVALID_ENUM error, a corresponding error message indicating where the error occurred, and possibly why, will be printed to stderr.
- If the value of MESA_DEBUG is 'FP' floating point arithmetic errors will - generate exceptions. + + For release builds, MESA_DEBUG defaults to off (no debug output). + + MESA_DEBUG accepts the following comma-separated list of named + flags, which adds extra behaviour to just set MESA_DEBUG=1: +
  • MESA_LOG_FILE - specifies a file name for logging all errors, warnings, etc., rather than stderr
  • MESA_TEX_PROG - if set, implement conventional texture env modes with