summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_common.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-15 09:35:09 +1000
committerDave Airlie <airlied@redhat.com>2009-07-15 10:30:23 +1000
commitf6f0e117a45a64464e49290ebc9f75b9a976070a (patch)
treecf0a1dda51f526dbccd0e4897777d25cbb4c6cf0 /src/mesa/drivers/dri/radeon/radeon_common.h
parent681ede8836746735fbb904edf89b076343507a8b (diff)
intel/radeon: add common metaops code.
Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_common.h')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.h b/src/mesa/drivers/dri/radeon/radeon_common.h
index ba6c7c5773..cebae18b2d 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common.h
+++ b/src/mesa/drivers/dri/radeon/radeon_common.h
@@ -5,18 +5,7 @@
#include "radeon_dma.h"
#include "radeon_texture.h"
-
-#define TRI_CLEAR_COLOR_BITS (BUFFER_BIT_BACK_LEFT | \
- BUFFER_BIT_FRONT_LEFT | \
- BUFFER_BIT_COLOR0 | \
- BUFFER_BIT_COLOR1 | \
- BUFFER_BIT_COLOR2 | \
- BUFFER_BIT_COLOR3 | \
- BUFFER_BIT_COLOR4 | \
- BUFFER_BIT_COLOR5 | \
- BUFFER_BIT_COLOR6 | \
- BUFFER_BIT_COLOR7)
-
+void radeonUserClear(GLcontext *ctx, GLuint mask);
void radeonRecalcScissorRects(radeonContextPtr radeon);
void radeonSetCliprects(radeonContextPtr radeon);
void radeonUpdateScissor( GLcontext *ctx );