4 #include "pipe/p_compiler.h"
11 * This callback struct is intended for the winsys to call the loader.
13 struct drisw_loader_funcs
15 void (*get_image
) (struct dri_drawable
*dri_drawable
,
16 int x
, int y
, unsigned width
, unsigned height
, unsigned stride
,
18 void (*put_image
) (struct dri_drawable
*dri_drawable
,
19 void *data
, unsigned width
, unsigned height
);
20 void (*put_image2
) (struct dri_drawable
*dri_drawable
,
21 void *data
, int x
, int y
, unsigned width
, unsigned height
, unsigned stride
);
22 void (*put_image_shm
) (struct dri_drawable
*dri_drawable
,
23 int shmid
, char *shmaddr
, unsigned offset
, unsigned offset_x
,
24 int x
, int y
, unsigned width
, unsigned height
, unsigned stride
);