mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Establish multi backend support
This commit is contained in:
parent
5dd96c0772
commit
e257afeb7e
5 changed files with 151 additions and 6 deletions
13
include/backend/multi.h
Normal file
13
include/backend/multi.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef _WLR_MULTI_BACKEND_INTERNAL
|
||||
#define _WLR_MULTI_BACKEND_INTERNAL
|
||||
|
||||
#include <wlr/backend/interface.h>
|
||||
#include <wlr/backend/multi.h>
|
||||
#include <wlr/common/list.h>
|
||||
|
||||
struct wlr_backend_state {
|
||||
struct wlr_backend *backend;
|
||||
list_t *backends;
|
||||
};
|
||||
|
||||
#endif
|
||||
10
include/wlr/backend/multi.h
Normal file
10
include/wlr/backend/multi.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef _WLR_BACKEND_MULTI_H
|
||||
#define _WLR_BACKEND_MULTI_H
|
||||
|
||||
#include <wlr/backend.h>
|
||||
|
||||
struct wlr_backend *wlr_multi_backend_create();
|
||||
void wlr_multi_backend_add(struct wlr_backend *multi,
|
||||
struct wlr_backend *backend);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue