summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_debug.h
AgeCommit message (Collapse)Author
2010-02-04radeon: Make debugging automaticaly increase logging verbosity for debug build.Pauli Nieminen
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.
2009-09-20radeon: Fix typo in variable name.Pauli Nieminen
2009-09-20radeon: Improve WARN_ONCE macro to appear as single statement.Pauli Nieminen
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.
2009-09-10radeon: Change debugging code to use macros instead of inline functions.Pauli Nieminen
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.
2009-09-02radeon: Fix debug output to filter out less critical messages instead of ↵Pauli Nieminen
more critical.
2009-08-31radeon: Add support for indenting debug output.Pauli Nieminen
Indetion can be used to make it easier to read debug code when sections of debug output are indented.
2009-08-31radeon: Add comment warning about not choosing critical debug level.Pauli Nieminen
2009-08-31radeon: Change default debug level to verbose.Pauli Nieminen
Verbose is a lot better for developement but we should considre changing it to normal in stable branch.
2009-08-31radeon: Add gcc attribute to enable pritnf format warnings.Pauli Nieminen
2009-08-31r100: Use shared debug code.Pauli Nieminen
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.
2009-08-31radeon: Add common debugging functions.Pauli Nieminen
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.