Commit 7e4f58fa authored by Marius Vlad's avatar Marius Vlad Committed by Daniel Stone

libweston: Migrate functions that operate on 'weston_view'

Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
parent 4e1d0973
......@@ -1620,18 +1620,11 @@ weston_view_update_transform(struct weston_view *view);
void
weston_view_geometry_dirty(struct weston_view *view);
void
weston_view_to_global_fixed(struct weston_view *view,
wl_fixed_t sx, wl_fixed_t sy,
wl_fixed_t *x, wl_fixed_t *y);
void
weston_view_to_global_float(struct weston_view *view,
float sx, float sy, float *x, float *y);
void
weston_view_from_global_float(struct weston_view *view,
float x, float y, float *vx, float *vy);
void
weston_view_from_global(struct weston_view *view,
int32_t x, int32_t y, int32_t *vx, int32_t *vy);
void
......@@ -1851,9 +1844,6 @@ weston_view_set_mask_infinite(struct weston_view *view);
bool
weston_view_is_mapped(struct weston_view *view);
bool
weston_view_is_opaque(struct weston_view *ev, pixman_region32_t *region);
void
weston_view_schedule_repaint(struct weston_view *view);
......@@ -1870,9 +1860,6 @@ weston_surface_damage(struct weston_surface *surface);
void
weston_view_damage_below(struct weston_view *view);
void
weston_view_move_to_plane(struct weston_view *view,
struct weston_plane *plane);
void
weston_view_unmap(struct weston_view *view);
......
......@@ -274,4 +274,21 @@ weston_spring_done(struct weston_spring *spring);
void
weston_spring_update(struct weston_spring *spring, const struct timespec *time);
/* weston_view */
void
weston_view_to_global_fixed(struct weston_view *view,
wl_fixed_t sx, wl_fixed_t sy,
wl_fixed_t *x, wl_fixed_t *y);
void
weston_view_from_global_float(struct weston_view *view,
float x, float y, float *vx, float *vy);
bool
weston_view_is_opaque(struct weston_view *ev, pixman_region32_t *region);
void
weston_view_move_to_plane(struct weston_view *view,
struct weston_plane *plane);
#endif
......@@ -29,6 +29,7 @@
#include <stdint.h>
#include <libweston/libweston.h>
#include "libweston-internal.h"
#include "compositor/weston.h"
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment