st/xorg: Acquire/drop DRM master in order to work with multiple servers.
[mesa.git] / src / gallium / state_trackers / xorg / xorg_exa.h
1 #ifndef XORG_EXA_H
2 #define XORG_EXA_H
3
4 #include "xorg_tracker.h"
5
6 struct exa_context
7 {
8 ExaDriverPtr pExa;
9 struct pipe_context *ctx;
10 struct pipe_screen *scrn;
11 };
12
13
14 struct exa_pixmap_priv
15 {
16 int flags;
17 int tex_flags;
18
19 struct pipe_texture *tex;
20 unsigned int color;
21 struct pipe_surface *src_surf; /* for copies */
22
23 struct pipe_transfer *map_transfer;
24 unsigned map_count;
25 };
26
27
28
29 #endif