blob: 8a58bb7556401fcb1feb4a525ec2a4b058f02e94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef __NOUVEAU_SCREEN_H__
#define __NOUVEAU_SCREEN_H__
/* TODO: Investigate using DRI options for interesting things */
/*#include "xmlconfig.h"*/
struct nouveau_screen {
dri_screen_t *dri_screen;
struct nouveau_device *device;
struct nouveau_channel_context *nvc;
uint32_t front_offset;
uint32_t front_pitch;
uint32_t front_cpp;
uint32_t front_height;
/*driOptionCache option_cache;*/
};
int nouveau_screen_create(dri_screen_t *dri_screen, dri_framebuffer_t *dri_framebuf);
void nouveau_screen_destroy(dri_screen_t *dri_screen);
#endif
|