summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nouveau_screen.h
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-05 13:46:48 +0000
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-05 13:46:48 +0000
commite2b4d9b317104ff3c56a9bf108aa79084d49eba5 (patch)
treefdeefd50bfae06298ed943674b69aba088f464fd /src/mesa/drivers/dri/nouveau/nouveau_screen.h
parent1ebe921228ef896804384002d8a3acd0885afc98 (diff)
Architect the DRI :
- make use of the autogenerated nouveau_reg.h file - add object creation to the DRI - some work on screen and context creation
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_screen.h')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_screen.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_screen.h b/src/mesa/drivers/dri/nouveau/nouveau_screen.h
index f6959419c5..decdafa86d 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_screen.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_screen.h
@@ -30,8 +30,11 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xmlconfig.h"
+#include "nouveau_dri.h"
+#include "nouveau_card.h"
+
typedef struct {
- u_int32_t card_type;
+ nouveau_card* card;
u_int32_t bus_type;
u_int32_t agp_mode;