1 #ifndef _DRISW_API_H_
2 #define _DRISW_API_H_
3 
4 #include "pipe/p_compiler.h"
5 
6 struct pipe_screen;
7 struct dri_drawable;
8 
9 /**
10  * This callback struct is intended for the winsys to call the loader.
11  */
12 struct drisw_loader_funcs
13 {
14    void (*put_image) (struct dri_drawable *dri_drawable,
15                       void *data, unsigned width, unsigned height);
16 };
17 
18 /**
19  * Implemented by the drisw target.
20  */
21 struct pipe_screen * drisw_create_screen(struct drisw_loader_funcs *lf);
22 
23 #endif
24