summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_common_context.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-02-12 23:52:51 +1000
committerDave Airlie <airlied@redhat.com>2009-02-12 23:52:51 +1000
commitdc8a707c672918b88dd4135930bef60ed148d8ce (patch)
treed26d8a49ae9202b389e6cfa690166d15418c2b7f /src/mesa/drivers/dri/radeon/radeon_common_context.h
parent8cb16e6daff40bbfd7b63a43da72862226a4a164 (diff)
radeon/r200/r300: make build with out libdrm_radeon installed for now
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_common_context.h')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common_context.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.h b/src/mesa/drivers/dri/radeon/radeon_common_context.h
index b88aeab0518..c9be104578e 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common_context.h
+++ b/src/mesa/drivers/dri/radeon/radeon_common_context.h
@@ -68,6 +68,22 @@ typedef struct radeon_context *radeonContextPtr;
#include "tnl_dd/t_dd_vertex.h"
#undef TAG
+struct radeon_renderbuffer
+{
+ struct gl_renderbuffer base;
+ struct radeon_bo *bo;
+ unsigned int cpp;
+ /* unsigned int offset; */
+ unsigned int pitch;
+ unsigned int width;
+ unsigned int height;
+
+ /* boo Xorg 6.8.2 compat */
+ int has_surface;
+
+ __DRIdrawablePrivate *dPriv;
+};
+
struct radeon_colorbuffer_state {
GLuint clear;
int roundEnable;