mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-10 04:27:51 -05:00
wlr_drm_format: Rework wlr_drm_format_intersect
Now it takes a reference to a destination format
This commit is contained in:
parent
340700cb70
commit
90d08f8f1c
10 changed files with 93 additions and 104 deletions
|
|
@ -7,8 +7,9 @@
|
|||
void output_pending_resolution(struct wlr_output *output,
|
||||
const struct wlr_output_state *state, int *width, int *height);
|
||||
|
||||
struct wlr_drm_format *output_pick_format(struct wlr_output *output,
|
||||
const struct wlr_drm_format_set *display_formats, uint32_t format);
|
||||
bool output_pick_format(struct wlr_output *output,
|
||||
const struct wlr_drm_format_set *display_formats,
|
||||
struct wlr_drm_format *format, uint32_t fmt);
|
||||
void output_clear_back_buffer(struct wlr_output *output);
|
||||
bool output_ensure_buffer(struct wlr_output *output,
|
||||
const struct wlr_output_state *state, bool *new_back_buffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue