radeon: Add common debugging functions.
authorPauli Nieminen <suokkos@gmail.com>
Sun, 30 Aug 2009 13:48:33 +0000 (16:48 +0300)
committerPauli Nieminen <suokkos@gmail.com>
Mon, 31 Aug 2009 17:27:48 +0000 (20:27 +0300)
commitf9a4a0a9710c23a2041673eec290ff2f9260cbd0
tree5f5208170459ad8500d4a3815c306319437f7844
parenta5e7003565a021ceb82a8b16f4a0ecc7cc6c02e0
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.
src/mesa/drivers/dri/r200/radeon_debug.c [new symlink]
src/mesa/drivers/dri/r200/radeon_debug.h [new symlink]
src/mesa/drivers/dri/r300/radeon_debug.c [new symlink]
src/mesa/drivers/dri/r300/radeon_debug.h [new symlink]
src/mesa/drivers/dri/r600/radeon_debug.c [new symlink]
src/mesa/drivers/dri/r600/radeon_debug.h [new symlink]
src/mesa/drivers/dri/radeon/radeon_debug.c [new file with mode: 0644]
src/mesa/drivers/dri/radeon/radeon_debug.h [new file with mode: 0644]