libweston.h: Move struct weston_plane earlier in the file

We're going to move primary planes from compositor to output, so we need
struct weston_plane to precede struct weston_output.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2023-06-23 11:59:26 -05:00
parent 71cfca6a13
commit 9c116e1f13

View file

@ -440,6 +440,13 @@ enum weston_output_power_state {
WESTON_OUTPUT_POWER_NORMAL
};
struct weston_plane {
struct weston_compositor *compositor;
pixman_region32_t clip;
int32_t x, y;
struct wl_list link;
};
/** Content producer for heads
*
* \rst
@ -1265,13 +1272,6 @@ struct weston_layer {
struct weston_layer_entry view_list;
};
struct weston_plane {
struct weston_compositor *compositor;
pixman_region32_t clip;
int32_t x, y;
struct wl_list link;
};
struct weston_drm_format_array;
enum weston_capability {