summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/nouveau/nouveau_screen.h
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-09-12 20:37:33 +1000
committerBen Skeggs <skeggsb@gmail.com>2008-09-12 20:37:33 +1000
commitcbe05a4734a7df7dd9d8e52f79d0ed5e6c28ae60 (patch)
treee4f67e46334b43f051a0605c7762cac36ad7c1f6 /src/gallium/winsys/drm/nouveau/nouveau_screen.h
parent522139dd146450edfd3d2f07c627b32512a2c27e (diff)
parent81335d0f1760fe172a106f79e81281c1f0d7dedf (diff)
Merge remote branch 'nouveau/gallium-0.1' into nouveau-gallium-0.2
Conflicts: configs/linux-dri
Diffstat (limited to 'src/gallium/winsys/drm/nouveau/nouveau_screen.h')
-rw-r--r--src/gallium/winsys/drm/nouveau/nouveau_screen.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/nouveau/nouveau_screen.h b/src/gallium/winsys/drm/nouveau/nouveau_screen.h
new file mode 100644
index 0000000000..388d6be9bb
--- /dev/null
+++ b/src/gallium/winsys/drm/nouveau/nouveau_screen.h
@@ -0,0 +1,20 @@
+#ifndef __NOUVEAU_SCREEN_H__
+#define __NOUVEAU_SCREEN_H__
+
+#include "xmlconfig.h"
+
+struct nouveau_screen {
+ __DRIscreenPrivate *driScrnPriv;
+ driOptionCache option_cache;
+
+ struct nouveau_device *device;
+
+ uint32_t front_offset;
+ uint32_t front_pitch;
+ uint32_t front_cpp;
+ uint32_t front_height;
+
+ void *nvc;
+};
+
+#endif