summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r200/r200_context.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2005-11-02 01:15:07 +0000
committerEric Anholt <anholt@FreeBSD.org>2005-11-02 01:15:07 +0000
commit3a5626cb846ad767fe1c38fe35ebe4df3e3a0454 (patch)
treeea04046515c2f8c69e413416fe4baca8d1b66163 /src/mesa/drivers/dri/r200/r200_context.h
parenta9b927cb6e5b4a98cf324faa2b0d61de1ce1a090 (diff)
First step of Radeon DRI unification:
- Makes all three drivers use the same screen structure and setup code, with a few ifdefs for the separate compilation to deal with symbols not being available to all drivers and the fact that we have no mechanism for dealing with different config options for different chip families in the same driver. These issues should be dealt with later. - Introduces IS_R[123]00_CLASS(radeonScreenPtr) macro for code for taking different paths depending on the general class of chipset. - Adds many new R300-class PCI IDs, though not all those listed in radeon_driver.c.
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_context.h')
-rw-r--r--src/mesa/drivers/dri/r200/r200_context.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.h b/src/mesa/drivers/dri/r200/r200_context.h
index 8503070965..f7d3d62433 100644
--- a/src/mesa/drivers/dri/r200/r200_context.h
+++ b/src/mesa/drivers/dri/r200/r200_context.h
@@ -54,7 +54,7 @@ typedef struct r200_context r200ContextRec;
typedef struct r200_context *r200ContextPtr;
#include "r200_lock.h"
-#include "r200_screen.h"
+#include "radeon_screen.h"
#include "mm.h"
/* Flags for software fallback cases */
@@ -883,7 +883,7 @@ struct r200_context {
/* Texture object bookkeeping
*/
unsigned nr_heaps;
- driTexHeap * texture_heaps[ R200_NR_TEX_HEAPS ];
+ driTexHeap * texture_heaps[ RADEON_NR_TEX_HEAPS ];
driTextureObject swapped;
int texture_depth;
float initialMaxAnisotropy;
@@ -927,7 +927,7 @@ struct r200_context {
unsigned int lastStamp;
GLboolean lost_context;
GLboolean save_on_next_emit;
- r200ScreenPtr r200Screen; /* Screen private DRI data */
+ radeonScreenPtr r200Screen; /* Screen private DRI data */
drm_radeon_sarea_t *sarea; /* Private SAREA data */
/* TCL stuff