| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
more critical.
|
|
|
|
| |
Indetion can be used to make it easier to read debug code when sections of debug output are indented.
|
| |
|
|
|
|
| |
Verbose is a lot better for developement but we should considre changing it to normal in stable branch.
|
| |
|
|
|
|
|
|
| |
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.
|
|
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.
|