Merge branch 'mesa_7_5_branch'
[mesa.git] / src / gallium / winsys / xlib / xlib_brw.h
1 #ifndef XLIB_BRW_H
2 #define XLIB_BRW_H
3
4 struct pipe_winsys;
5 struct pipe_buffer;
6 struct pipe_surface;
7 struct xmesa_buffer;
8
9 unsigned xlib_brw_get_buffer_offset( struct pipe_winsys *pws,
10 struct pipe_buffer *buf,
11 unsigned access_flags );
12
13 void xlib_brw_buffer_subdata_typed( struct pipe_winsys *pws,
14 struct pipe_buffer *buf,
15 unsigned long offset,
16 unsigned long size,
17 const void *data,
18 unsigned data_type );
19
20
21
22 void xlib_brw_commands_aub(struct pipe_winsys *winsys,
23 unsigned *cmds,
24 unsigned nr_dwords);
25
26 struct pipe_context *
27 xlib_create_brw_context( struct pipe_screen *screen,
28 void *unused );
29
30 #endif