renderer: replace get_render_buffer_caps() with struct field

This commit is contained in:
Simon Ser 2024-03-21 12:28:10 +01:00
parent 0686666cf5
commit ebef710746
9 changed files with 13 additions and 34 deletions

View file

@ -26,6 +26,10 @@ struct wlr_fbox;
* A renderer for basic 2D operations.
*/
struct wlr_renderer {
// Capabilities required for the buffer used as a render target (bitmask of
// enum wlr_buffer_cap)
uint32_t render_buffer_caps;
struct {
struct wl_signal destroy;
/**