summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib/xlib_softpipe.h
blob: 0de96cc4c6b02292b438cf6a832b18ecfcc42760 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

#ifndef XLIB_SOFTPIPE_H
#define XLIB_SOFTPIPE_H

struct pipe_winsys;
struct pipe_screen;
struct pipe_context;
struct pipe_surface;
struct xmesa_buffer;


struct pipe_winsys *
xlib_create_softpipe_winsys( void );

struct pipe_screen *
xlib_create_softpipe_screen( struct pipe_winsys *pws );

struct pipe_context *
xlib_create_softpipe_context( struct pipe_screen *screen,
                              void *context_priv );

void 
xlib_softpipe_display_surface( struct xmesa_buffer *, 
                               struct pipe_surface * );

/***********************************************************************
 * Cell piggybacks on softpipe code still.
 *
 * Should be untangled sufficiently to live in a separate file, at
 * least.  That would mean removing #ifdef GALLIUM_CELL's from above
 * and creating cell-specific versions of either those functions or
 * the entire file.
 */
struct pipe_winsys *
xlib_create_cell_winsys( void );

struct pipe_screen *
xlib_create_cell_screen( struct pipe_winsys *pws );


struct pipe_context *
xlib_create_cell_context( struct pipe_screen *screen,
                          void *priv );

void 
xlib_cell_display_surface( struct xmesa_buffer *, 
                           struct pipe_surface * );


#endif