kolibrios-gitea/contrib/sdk/sources/Intel-2D/pixdriver.h
Sergey Semyonov (Serge) d5c80240f4 intel-2D: sna vsync api
git-svn-id: svn://kolibrios.org@4377 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-19 04:21:53 +00:00

18 lines
449 B
C

#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