From 58cac08c22875f5e20f1d1a1740038f0ca53d88c Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 10 Jul 2019 16:29:05 +0300 Subject: [PATCH] libweston: Migrate functions that operate on 'weston_plane' Signed-off-by: Marius Vlad --- include/libweston/libweston.h | 7 ------- libweston/libweston-internal.h | 8 ++++++++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/include/libweston/libweston.h b/include/libweston/libweston.h index 6d49bb819..6bad5f985 100644 --- a/include/libweston/libweston.h +++ b/include/libweston/libweston.h @@ -1796,13 +1796,6 @@ weston_layer_set_mask_infinite(struct weston_layer *layer); bool weston_layer_mask_is_infinite(struct weston_layer *layer); -void -weston_plane_init(struct weston_plane *plane, - struct weston_compositor *ec, - int32_t x, int32_t y); -void -weston_plane_release(struct weston_plane *plane); - /* An invalid flag in presented_flags to catch logic errors. */ #define WP_PRESENTATION_FEEDBACK_INVALID (1U << 31) diff --git a/libweston/libweston-internal.h b/libweston/libweston-internal.h index a4689cfd4..c62646b7b 100644 --- a/libweston/libweston-internal.h +++ b/libweston/libweston-internal.h @@ -156,4 +156,12 @@ weston_compositor_xkb_destroy(struct weston_compositor *ec); int weston_input_init(struct weston_compositor *compositor); +/* weston_plane */ + +void +weston_plane_init(struct weston_plane *plane, + struct weston_compositor *ec, + int32_t x, int32_t y); +void +weston_plane_release(struct weston_plane *plane); #endif