mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
render/allocator: add allocator_autocreate_with_drm_fd
Same as wlr_allocator_autocreate, but allows the caller to force a DRM FD. Similar to renderer_autocreate_with_drm_fd.
This commit is contained in:
parent
619a975025
commit
5be76bb047
2 changed files with 13 additions and 3 deletions
|
|
@ -46,4 +46,7 @@ struct wlr_buffer *wlr_allocator_create_buffer(struct wlr_allocator *alloc,
|
|||
void wlr_allocator_init(struct wlr_allocator *alloc,
|
||||
const struct wlr_allocator_interface *impl);
|
||||
|
||||
struct wlr_allocator *allocator_autocreate_with_drm_fd(
|
||||
struct wlr_backend *backend, struct wlr_renderer *renderer, int drm_fd);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue