2010-11-24 20:40:25 +00:00
|
|
|
typedef struct BroadwayOutput BroadwayOutput;
|
2010-11-16 11:42:53 +00:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int x, y;
|
|
|
|
int width, height;
|
|
|
|
} BroadwayRect;
|
|
|
|
|
2010-11-24 20:40:25 +00:00
|
|
|
BroadwayOutput *broadway_output_new (int fd);
|
|
|
|
void broadway_output_flush (BroadwayOutput *output);
|
|
|
|
void broadway_output_new_surface (BroadwayOutput *output,
|
2010-11-16 11:42:53 +00:00
|
|
|
int id,
|
|
|
|
int x,
|
|
|
|
int y,
|
|
|
|
int w,
|
|
|
|
int h);
|
2010-11-24 20:40:25 +00:00
|
|
|
void broadway_output_show_surface (BroadwayOutput *output,
|
2010-11-16 11:42:53 +00:00
|
|
|
int id);
|
2010-11-24 20:40:25 +00:00
|
|
|
void broadway_output_hide_surface (BroadwayOutput *output,
|
2010-11-16 11:42:53 +00:00
|
|
|
int id);
|
2010-11-24 20:40:25 +00:00
|
|
|
void broadway_output_destroy_surface (BroadwayOutput *output,
|
2010-11-16 11:42:53 +00:00
|
|
|
int id);
|
2010-11-24 20:40:25 +00:00
|
|
|
void broadway_output_move_surface (BroadwayOutput *output,
|
2010-11-16 11:42:53 +00:00
|
|
|
int id,
|
|
|
|
int x,
|
|
|
|
int y);
|
2010-11-24 20:40:25 +00:00
|
|
|
void broadway_output_resize_surface (BroadwayOutput *output,
|
2010-11-23 11:52:10 +00:00
|
|
|
int id,
|
|
|
|
int w,
|
|
|
|
int h);
|
2010-11-24 20:40:25 +00:00
|
|
|
void broadway_output_put_rgb (BroadwayOutput *output,
|
2010-11-16 11:42:53 +00:00
|
|
|
int id,
|
|
|
|
int x,
|
|
|
|
int y,
|
|
|
|
int w,
|
|
|
|
int h,
|
|
|
|
int byte_stride,
|
|
|
|
void *data);
|
2010-11-24 20:40:25 +00:00
|
|
|
void broadway_output_put_rgba (BroadwayOutput *output,
|
2010-11-16 11:42:53 +00:00
|
|
|
int id,
|
|
|
|
int x,
|
|
|
|
int y,
|
|
|
|
int w,
|
|
|
|
int h,
|
|
|
|
int byte_stride,
|
|
|
|
void *data);
|
2010-11-24 20:40:25 +00:00
|
|
|
void broadway_output_copy_rectangles (BroadwayOutput *output,
|
2010-11-16 11:42:53 +00:00
|
|
|
int id,
|
|
|
|
BroadwayRect *rects,
|
|
|
|
int n_rects,
|
|
|
|
int dx,
|
|
|
|
int dy);
|