2021-10-22 23:10:47 +02:00
|
|
|
#ifndef TYPES_WLR_OUTPUT_H
|
|
|
|
#define TYPES_WLR_OUTPUT_H
|
|
|
|
|
|
|
|
#include <wlr/render/drm_format_set.h>
|
|
|
|
#include <wlr/types/wlr_output.h>
|
|
|
|
|
2022-05-24 19:29:02 +02:00
|
|
|
void output_pending_resolution(struct wlr_output *output,
|
|
|
|
const struct wlr_output_state *state, int *width, int *height);
|
2021-10-22 23:10:47 +02:00
|
|
|
|
2023-05-05 01:24:44 +02:00
|
|
|
bool output_pick_format(struct wlr_output *output,
|
|
|
|
const struct wlr_drm_format_set *display_formats,
|
|
|
|
struct wlr_drm_format *format, uint32_t fmt);
|
2021-10-22 23:10:47 +02:00
|
|
|
void output_clear_back_buffer(struct wlr_output *output);
|
2022-05-24 19:43:56 +02:00
|
|
|
bool output_ensure_buffer(struct wlr_output *output,
|
2023-06-20 11:17:16 +02:00
|
|
|
struct wlr_output_state *state, bool *new_back_buffer);
|
2021-10-22 23:10:47 +02:00
|
|
|
|
2023-04-11 17:38:19 +02:00
|
|
|
bool output_cursor_set_texture(struct wlr_output_cursor *cursor,
|
|
|
|
struct wlr_texture *texture, bool own_texture, float scale,
|
|
|
|
enum wl_output_transform transform, int32_t hotspot_x, int32_t hotspot_y);
|
|
|
|
|
2021-10-22 23:10:47 +02:00
|
|
|
#endif
|