Mesa (master): radeon: Add comment warning about not choosing critical debug level.

Pauli Nieminen suokko at kemper.freedesktop.org
Mon Aug 31 20:39:00 UTC 2009


Module: Mesa
Branch: master
Commit: 7870edc778338556a65a4d4167d20ad01d6a1995
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7870edc778338556a65a4d4167d20ad01d6a1995

Author: Pauli Nieminen <suokkos at gmail.com>
Date:   Sun Aug 30 23:58:45 2009 +0300

radeon: Add comment warning about not choosing critical debug level.

---

 src/mesa/drivers/dri/radeon/radeon_debug.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/radeon/radeon_debug.h b/src/mesa/drivers/dri/radeon/radeon_debug.h
index 681e34c..2b35044 100644
--- a/src/mesa/drivers/dri/radeon/radeon_debug.h
+++ b/src/mesa/drivers/dri/radeon/radeon_debug.h
@@ -43,6 +43,9 @@ typedef enum radeon_debug_levels {
 
 /**
  * Compile time option to change level of debugging compiled to dri driver.
+ * Selecting critical level is not recommended because perfromance gains are
+ * going to minimal but you will lose a lot of important warnings in case of
+ * errors.
  */
 #ifndef RADEON_DEBUG_LEVEL
 #define RADEON_DEBUG_LEVEL RADEON_VERBOSE




More information about the mesa-commit mailing list