diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-08-26 15:49:05 -0400 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-11-05 10:14:35 -0800 |
commit | 0829749049025c480d86bc122d02c97b5767a6b3 (patch) | |
tree | 43ef8e87b58775631ad785995cda5e5f739a9a89 /src/compositor/meta-surface-actor.h | |
parent | 725d0ad6804e1f49b404889509d3470aa93f6937 (diff) | |
download | mutter-wip/viewport.tar.gz |
wayland: Implement support for wl_viewportwip/viewport
Diffstat (limited to 'src/compositor/meta-surface-actor.h')
-rw-r--r-- | src/compositor/meta-surface-actor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compositor/meta-surface-actor.h b/src/compositor/meta-surface-actor.h index 489fa2090..e2487d2c7 100644 --- a/src/compositor/meta-surface-actor.h +++ b/src/compositor/meta-surface-actor.h @@ -61,6 +61,11 @@ void meta_surface_actor_set_input_region (MetaSurfaceActor *self, void meta_surface_actor_set_opaque_region (MetaSurfaceActor *self, cairo_region_t *region); +void meta_surface_actor_set_viewport (MetaSurfaceActor *self, + cairo_rectangle_int_t *src_rect, + int dest_width, + int dest_height); + void meta_surface_actor_process_damage (MetaSurfaceActor *actor, int x, int y, int width, int height); void meta_surface_actor_pre_paint (MetaSurfaceActor *actor); |