aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_debug.h
Commit message (Collapse)AuthorAgeFilesLines
* radeon: use C99 style in macros with variable argumentsIain Hibbert2011-03-241-8/+8
| | | | Signed-off-by: Iain Hibbert <[email protected]>
* radeon: Make debugging automaticaly increase logging verbosity for debug build.Pauli Nieminen2010-02-041-1/+5
| | | | | | | 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.
* radeon: Fix typo in variable name.Pauli Nieminen2009-09-201-1/+1
|
* radeon: Improve WARN_ONCE macro to appear as single statement.Pauli Nieminen2009-09-201-5/+6
| | | | | | Do-while makes macro safe to be used with if and for constructions. Also remove __LINE__ macro from variable name because scope is local to macro anyway.
* radeon: Change debugging code to use macros instead of inline functions.Pauli Nieminen2009-09-101-41/+19
| | | | | | Variadic functions can't be inlined which makes debugging to have quite large function overead. Only aleternative method is to use variadic macros which are inlined so compiler can optimize debugging to minimize overhead.
* radeon: Fix debug output to filter out less critical messages instead of ↵Pauli Nieminen2009-09-021-1/+1
| | | | more critical.
* radeon: Add support for indenting debug output.Pauli Nieminen2009-08-311-2/+28
| | | | Indetion can be used to make it easier to read debug code when sections of debug output are indented.
* radeon: Add comment warning about not choosing critical debug level.Pauli Nieminen2009-08-311-0/+3
|
* radeon: Change default debug level to verbose.Pauli Nieminen2009-08-311-1/+1
| | | | Verbose is a lot better for developement but we should considre changing it to normal in stable branch.
* radeon: Add gcc attribute to enable pritnf format warnings.Pauli Nieminen2009-08-311-0/+16
|
* r100: Use shared debug code.Pauli Nieminen2009-08-311-16/+17
| | | | | | Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
* radeon: Add common debugging functions.Pauli Nieminen2009-08-311-0/+145
These function are aiming to make it very simple to add and keep large amount of debugging code without having runtime impact in relase builds. Basic idea is to expose simple printf style debugging functions that are inlined. Level parameter will be evalueted in compile time so compiler can optimise some of debugging functions out if compile time request for debug level is too tight.