1#ifndef _DRISW_API_H_
2#define _DRISW_API_H_
3
4#include "pipe/p_compiler.h"
5
6struct pipe_screen;
7struct dri_drawable;
8
9/**
10 * This callback struct is intended for the winsys to call the loader.
11 */
12struct 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 */
21struct pipe_screen * drisw_create_screen(struct drisw_loader_funcs *lf);
22
23#endif
24