diff options
author | Pauli Nieminen <[email protected]> | 2009-08-30 16:48:33 +0300 |
---|---|---|
committer | Pauli Nieminen <[email protected]> | 2009-08-31 20:27:48 +0300 |
commit | f9a4a0a9710c23a2041673eec290ff2f9260cbd0 (patch) | |
tree | 5f5208170459ad8500d4a3815c306319437f7844 /src/mesa/drivers/dri/r200 | |
parent | a5e7003565a021ceb82a8b16f4a0ecc7cc6c02e0 (diff) |
radeon: Add common debugging functions.
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.
Diffstat (limited to 'src/mesa/drivers/dri/r200')
l--------- | src/mesa/drivers/dri/r200/radeon_debug.c | 1 | ||||
l--------- | src/mesa/drivers/dri/r200/radeon_debug.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/radeon_debug.c b/src/mesa/drivers/dri/r200/radeon_debug.c new file mode 120000 index 00000000000..c98c2e074c5 --- /dev/null +++ b/src/mesa/drivers/dri/r200/radeon_debug.c @@ -0,0 +1 @@ +../radeon/radeon_debug.c
\ No newline at end of file diff --git a/src/mesa/drivers/dri/r200/radeon_debug.h b/src/mesa/drivers/dri/r200/radeon_debug.h new file mode 120000 index 00000000000..bd8aa28e89e --- /dev/null +++ b/src/mesa/drivers/dri/r200/radeon_debug.h @@ -0,0 +1 @@ +../radeon/radeon_debug.h
\ No newline at end of file |