kolibrios-fun/drivers/video/Gallium/include/state_tracker/drisw_api.h
Sergey Semyonov (Serge) edb28b33f3 Gallium 3D: initial commit
git-svn-id: svn://kolibrios.org@3770 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-06 10:06:47 +00:00

24 lines
478 B
C

#ifndef _DRISW_API_H_
#define _DRISW_API_H_
#include "pipe/p_compiler.h"
struct pipe_screen;
struct dri_drawable;
/**
* This callback struct is intended for the winsys to call the loader.
*/
struct drisw_loader_funcs
{
void (*put_image) (struct dri_drawable *dri_drawable,
void *data, unsigned width, unsigned height);
};
/**
* Implemented by the drisw target.
*/
struct pipe_screen * drisw_create_screen(struct drisw_loader_funcs *lf);
#endif