summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/dri/nouveau/nouveau_screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/dri/nouveau/nouveau_screen.h')
-rw-r--r--src/gallium/winsys/dri/nouveau/nouveau_screen.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/gallium/winsys/dri/nouveau/nouveau_screen.h b/src/gallium/winsys/dri/nouveau/nouveau_screen.h
new file mode 100644
index 0000000000..e9da202690
--- /dev/null
+++ b/src/gallium/winsys/dri/nouveau/nouveau_screen.h
@@ -0,0 +1,21 @@
+#ifndef __NOUVEAU_SCREEN_H__
+#define __NOUVEAU_SCREEN_H__
+
+#include "xmlconfig.h"
+#include "nouveau_device.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