Use cairo-gl in clients

This commit is contained in:
Kristian Høgsberg 2010-06-08 14:08:30 -04:00
parent 2cdc18452e
commit a85fe3cf45
5 changed files with 204 additions and 99 deletions

View file

@ -68,14 +68,20 @@ void
window_set_child_size(struct window *window,
struct rectangle *rectangle);
void
window_copy(struct window *window,
struct rectangle *rectangle,
uint32_t name, uint32_t stride);
window_copy_image(struct window *window,
struct rectangle *rectangle,
void *image);
void
window_move(struct window *window, int32_t x, int32_t y);
cairo_surface_t *
window_create_surface(struct window *window,
struct rectangle *rectangle);
cairo_surface_t *
window_get_surface(struct window *window);
void
window_copy_surface(struct window *window,
struct rectangle *rectangle,
@ -84,6 +90,9 @@ window_copy_surface(struct window *window,
void
window_set_fullscreen(struct window *window, int fullscreen);
void
window_set_decoration(struct window *window, int decoration);
void
window_set_resize_handler(struct window *window,
window_resize_handler_t handler, void *data);
@ -101,4 +110,8 @@ void
window_set_keyboard_focus_handler(struct window *window,
window_keyboard_focus_handler_t handler,
void *data);
void
window_set_frame_handler(struct window *window,
window_frame_handler_t handler, void *data);
#endif