1 #ifndef __NOUVEAU_SCREEN_H__
2 #define __NOUVEAU_SCREEN_H__
4 /* TODO: Investigate using DRI options for interesting things */
5 /*#include "xmlconfig.h"*/
7 struct nouveau_screen
{
8 dri_screen_t
*dri_screen
;
9 struct nouveau_device
*device
;
10 struct nouveau_channel_context
*nvc
;
12 uint32_t front_offset
;
15 uint32_t front_height
;
17 /*driOptionCache option_cache;*/
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
);