output: expose wlr_output_state_set_buffer()

This commit is contained in:
Simon Ser 2023-02-20 12:00:18 +01:00 committed by Isaac Freund
parent 4629d0ef40
commit 7215bd1e0f
4 changed files with 12 additions and 12 deletions

View file

@ -6,8 +6,6 @@
void output_pending_resolution(struct wlr_output *output,
const struct wlr_output_state *state, int *width, int *height);
void output_state_attach_buffer(struct wlr_output_state *state,
struct wlr_buffer *buffer);
bool output_is_direct_scanout(struct wlr_output *output,
struct wlr_buffer *buffer);

View file

@ -559,6 +559,8 @@ void wlr_output_state_set_render_format(struct wlr_output_state *state,
uint32_t format);
void wlr_output_state_set_subpixel(struct wlr_output_state *state,
enum wl_output_subpixel subpixel);
void wlr_output_state_set_buffer(struct wlr_output_state *state,
struct wlr_buffer *buffer);
/**