summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/nouveau/dri/nouveau_screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/drm/nouveau/dri/nouveau_screen.h')
-rw-r--r--src/gallium/winsys/drm/nouveau/dri/nouveau_screen.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/nouveau/dri/nouveau_screen.h b/src/gallium/winsys/drm/nouveau/dri/nouveau_screen.h
new file mode 100644
index 0000000000..ac078f3c63
--- /dev/null
+++ b/src/gallium/winsys/drm/nouveau/dri/nouveau_screen.h
@@ -0,0 +1,16 @@
+#ifndef __NOUVEAU_SCREEN_DRI_H__
+#define __NOUVEAU_SCREEN_DRI_H__
+
+#include "xmlconfig.h"
+
+struct nouveau_screen {
+ __DRIscreenPrivate *driScrnPriv;
+ driOptionCache option_cache;
+
+ struct nouveau_device *device;
+
+ struct pipe_screen *pscreen;
+ struct pipe_surface *fb;
+};
+
+#endif