projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42fa009
)
radeon: Make debugging automaticaly increase logging verbosity for debug build.
author
Pauli Nieminen
<suokkos@gmail.com>
Thu, 4 Feb 2010 21:42:39 +0000
(23:42 +0200)
committer
Pauli Nieminen
<suokkos@gmail.com>
Thu, 4 Feb 2010 21:59:20 +0000
(23:59 +0200)
DEBUG preprocessor macro is set by configure script when
--enable-debug is passed for configure. Radeon then just
increase debugging verbosity if DEBUG is set in compile
time.
src/mesa/drivers/dri/radeon/radeon_debug.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_debug.h
b/src/mesa/drivers/dri/radeon/radeon_debug.h
index 26da31c1c48d2f7a712b7f9a0d186bc9942985a0..ef8b9671ac96835758cb3a977553171eaf40ef3d 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_debug.h
+++ b/
src/mesa/drivers/dri/radeon/radeon_debug.h
@@
-47,7
+47,11
@@
typedef enum radeon_debug_levels {
* errors.
*/
#ifndef RADEON_DEBUG_LEVEL
-#define RADEON_DEBUG_LEVEL RADEON_VERBOSE
+# ifdef DEBUG
+# define RADEON_DEBUG_LEVEL RADEON_TRACE
+# else
+# define RADEON_DEBUG_LEVEL RADEON_VERBOSE
+# endif
#endif
typedef enum radeon_debug_types {