kolibrios-gitea/contrib/sdk/sources/Intel-2D/pixdriver.h

18 lines
449 B
C
Raw Normal View History

#ifndef __PIXDRIVER_H__
#define __PIXDRIVER_H__
struct pix_driver
{
char *name;
int (*create_bitmap)(bitmap_t * bitmap);
int (*destroy_bitmap)(bitmap_t * bitmap);
int (*lock_bitmap)(bitmap_t * bitmap);
int (*blit)(bitmap_t * bitmap, int scale, int vsync,
int dst_x, int dst_y, int w, int h, int src_x, int src_y);
int (*resize_bitmap)(bitmap_t * bitmap);
void (*fini)(void);
};
#endif