mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 15:46:49 +03:00
edb28b33f3
git-svn-id: svn://kolibrios.org@3770 a494cfbc-eb01-0410-851d-a64ba20cac60
24 lines
478 B
C
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
|