libweston: Migrate functions that operate on 'weston_output' into backend header
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
committed by
Daniel Stone
parent
e41c1bff11
commit
63ef078ada
@@ -57,5 +57,36 @@ weston_head_set_physical_size(struct weston_head *head,
|
||||
void
|
||||
weston_head_set_subpixel(struct weston_head *head,
|
||||
enum wl_output_subpixel sp);
|
||||
/* weston_output */
|
||||
|
||||
void
|
||||
weston_output_init(struct weston_output *output,
|
||||
struct weston_compositor *compositor,
|
||||
const char *name);
|
||||
void
|
||||
weston_output_damage(struct weston_output *output);
|
||||
|
||||
void
|
||||
weston_output_move(struct weston_output *output, int x, int y);
|
||||
|
||||
void
|
||||
weston_output_release(struct weston_output *output);
|
||||
|
||||
void
|
||||
weston_output_init_zoom(struct weston_output *output);
|
||||
|
||||
void
|
||||
weston_output_finish_frame(struct weston_output *output,
|
||||
const struct timespec *stamp,
|
||||
uint32_t presented_flags);
|
||||
int
|
||||
weston_output_mode_set_native(struct weston_output *output,
|
||||
struct weston_mode *mode,
|
||||
int32_t scale);
|
||||
void
|
||||
weston_output_transform_coordinate(struct weston_output *output,
|
||||
double device_x, double device_y,
|
||||
double *x, double *y);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -72,6 +72,7 @@
|
||||
#include <libweston/version.h>
|
||||
#include <libweston/plugin-registry.h>
|
||||
#include "pixel-formats.h"
|
||||
#include "backend.h"
|
||||
#include "libweston-internal.h"
|
||||
|
||||
/**
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <libinput.h>
|
||||
|
||||
#include <libweston/libweston.h>
|
||||
#include "backend.h"
|
||||
#include "libweston-internal.h"
|
||||
#include "libinput-device.h"
|
||||
#include "shared/helpers.h"
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <libweston/libweston.h>
|
||||
#include "shared/helpers.h"
|
||||
#include "shared/timespec-util.h"
|
||||
#include "backend.h"
|
||||
#include "libweston-internal.h"
|
||||
|
||||
#include "wcap/wcap-decode.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <libweston/libweston.h>
|
||||
#include "backend.h"
|
||||
#include "libweston-internal.h"
|
||||
#include "text-cursor-position-server-protocol.h"
|
||||
#include "shared/helpers.h"
|
||||
|
||||
Reference in New Issue
Block a user