render/allocator: store shadow buffer preference in wlr_drm_dumb_allocator

This commit is contained in:
Simon Zeni 2023-11-03 15:42:43 -04:00
parent b8d36a9499
commit 2c1f23096c
2 changed files with 9 additions and 0 deletions

View file

@ -25,6 +25,7 @@ struct wlr_drm_dumb_allocator {
struct wlr_allocator base;
struct wl_list buffers; // wlr_drm_dumb_buffer.link
int drm_fd;
bool prefer_shadow;
};
/**