mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-09 05:34:22 -04:00
backend: replace get_buffer_caps hook with a struct field
Do the same as wlr_renderer: the supported buffer capabilities are static for the lifetime of the backend.
This commit is contained in:
parent
9fdffba170
commit
b908d865b1
14 changed files with 44 additions and 87 deletions
|
|
@ -29,6 +29,9 @@ struct wlr_backend_output_state {
|
|||
struct wlr_backend {
|
||||
const struct wlr_backend_impl *impl;
|
||||
|
||||
// Bitfield of supported buffer capabilities (see enum wlr_buffer_cap)
|
||||
uint32_t buffer_caps;
|
||||
|
||||
struct {
|
||||
// Whether wait/signal timelines are supported in output commits
|
||||
bool timeline;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue