Merge remote branch 'upstream/gallium-0.2' into nouveau-gallium-0.2
[mesa.git] / src / gallium / winsys / g3dvl / nouveau / nouveau_screen.h
1 #ifndef __NOUVEAU_SCREEN_H__
2 #define __NOUVEAU_SCREEN_H__
3
4 /* TODO: Investigate using DRI options for interesting things */
5 /*#include "xmlconfig.h"*/
6
7 struct nouveau_screen {
8 dri_screen_t *dri_screen;
9 struct nouveau_device *device;
10 struct nouveau_channel_context *nvc;
11
12 uint32_t front_offset;
13 uint32_t front_pitch;
14 uint32_t front_cpp;
15 uint32_t front_height;
16
17 /*driOptionCache option_cache;*/
18 };
19
20 int nouveau_screen_create(dri_screen_t *dri_screen, dri_framebuffer_t *dri_framebuf);
21 void nouveau_screen_destroy(dri_screen_t *dri_screen);
22
23 #endif
24