First step of Radeon DRI unification:
authorEric Anholt <anholt@FreeBSD.org>
Wed, 2 Nov 2005 01:15:07 +0000 (01:15 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Wed, 2 Nov 2005 01:15:07 +0000 (01:15 +0000)
commit3a5626cb846ad767fe1c38fe35ebe4df3e3a0454
treeea04046515c2f8c69e413416fe4baca8d1b66163
parenta9b927cb6e5b4a98cf324faa2b0d61de1ce1a090
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.
30 files changed:
src/mesa/drivers/dri/r200/Makefile
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/r200/r200_context.h
src/mesa/drivers/dri/r200/r200_ioctl.c
src/mesa/drivers/dri/r200/r200_screen.c [deleted file]
src/mesa/drivers/dri/r200/r200_screen.h [deleted file]
src/mesa/drivers/dri/r200/r200_span.c
src/mesa/drivers/dri/r200/r200_span.h
src/mesa/drivers/dri/r200/r200_state_init.c
src/mesa/drivers/dri/r200/r200_texstate.c
src/mesa/drivers/dri/r300/Makefile
src/mesa/drivers/dri/r300/r200_context.h
src/mesa/drivers/dri/r300/r300_context.c
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/radeon_context.c
src/mesa/drivers/dri/r300/radeon_ioctl.c
src/mesa/drivers/dri/r300/radeon_lock.c
src/mesa/drivers/dri/r300/radeon_lock.h
src/mesa/drivers/dri/r300/radeon_screen.c [deleted file]
src/mesa/drivers/dri/r300/radeon_screen.h [deleted file]
src/mesa/drivers/dri/r300/radeon_state.c
src/mesa/drivers/dri/radeon/Makefile
src/mesa/drivers/dri/radeon/radeon_chipset.h [new file with mode: 0644]
src/mesa/drivers/dri/radeon/radeon_context.c
src/mesa/drivers/dri/radeon/radeon_ioctl.c
src/mesa/drivers/dri/radeon/radeon_screen.c
src/mesa/drivers/dri/radeon/radeon_screen.h
src/mesa/drivers/dri/radeon/radeon_state.c
src/mesa/drivers/dri/radeon/radeon_state_init.c