diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-11-07 08:39:37 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-11-07 08:39:37 -0500 |
commit | 7f77bd8fbedee8a8a1fbb26776084ccaffc2a087 (patch) | |
tree | 1d93060c20a11ece0fef71d3a061d918072f40c2 /wayland.h | |
parent | 5503bf82c44b2da26c27582b3d4400d7fd8d23c3 (diff) |
Add copy and damage surface requests.
Diffstat (limited to 'wayland.h')
-rw-r--r-- | wayland.h | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -122,10 +122,24 @@ struct wl_compositor_interface { void (*notify_surface_destroy)(struct wl_compositor *compositor, struct wl_surface *surface); void (*notify_surface_attach)(struct wl_compositor *compositor, - struct wl_surface *surface, uint32_t name, - uint32_t width, uint32_t height, uint32_t stride); + struct wl_surface *surface, + uint32_t name, + uint32_t width, uint32_t height, + uint32_t stride); void (*notify_surface_map)(struct wl_compositor *compositor, - struct wl_surface *surface, struct wl_map *map); + struct wl_surface *surface, + struct wl_map *map); + void (*notify_surface_copy)(struct wl_compositor *compositor, + struct wl_surface *surface, + int32_t dst_x, int32_t dst_y, + uint32_t name, uint32_t stride, + int32_t x, int32_t y, + int32_t width, int32_t height); + void (*notify_surface_damage)(struct wl_compositor *compositor, + struct wl_surface *surface, + int32_t x, int32_t y, + int32_t width, int32_t height); + }; void wl_display_set_compositor(struct wl_display *display, |