mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend: add get_drm_fd to interface
This function allows backends to return the DRM FD they are using. This will allow the allocator and the renderer to use the right device.
This commit is contained in:
parent
87293d1b15
commit
a53ab146fe
3 changed files with 17 additions and 0 deletions
8
include/backend/backend.h
Normal file
8
include/backend/backend.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef BACKEND_H
|
||||
#define BACKEND_H
|
||||
|
||||
#include <wlr/backend.h>
|
||||
|
||||
int backend_get_drm_fd(struct wlr_backend *backend);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue