diff options
author | Vladimir Dergachev <volodya@freedesktop.org> | 2005-01-31 06:41:55 +0000 |
---|---|---|
committer | Vladimir Dergachev <volodya@freedesktop.org> | 2005-01-31 06:41:55 +0000 |
commit | e61c8a5c6305d67ede3f69fd3ac83b3d196908ff (patch) | |
tree | 2a8826073668bef6d4e01ee1b535ab2bd77324f1 /src/mesa/drivers/dri/r300/r300_context.h | |
parent | 9c1773e505307140f78eae139060feff09f9bc4f (diff) |
Add magic sequence to prevent ClearBuffer from locking up.
Change Polygon.OffsetFill from fallback to warn once.
Quake demo now works, modulo texture rendering issues due to absent pixel shader pipeline.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index 57a258487e..8c8a8bfc71 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -54,6 +54,15 @@ typedef struct r300_context *r300ContextPtr; #include "radeon_lock.h" #include "mm.h" +/* Checkpoint.. for convenience */ +#define CPT { fprintf(stderr, "%s:%s line %d\n", __FILE__, __FUNCTION__, __LINE__); } +#define WARN_ONCE(a) { \ + static int warn=1; \ + if(warn){ \ + fprintf(stderr, (a)); \ + warn=0;\ + } \ + } typedef GLuint uint32_t; typedef GLubyte uint8_t; |