2020-03-21 08:55:42 -07:00
|
|
|
#define WLR_USE_UNSTABLE
|
|
|
|
#include <wlr/backend.h>
|
2020-04-14 04:46:40 -07:00
|
|
|
#include <wlr/backend/noop.h>
|
2020-04-06 13:23:30 -07:00
|
|
|
#include <wlr/backend/multi.h>
|
2020-03-21 08:55:42 -07:00
|
|
|
#include <wlr/render/wlr_renderer.h>
|
|
|
|
|
2020-03-28 03:42:58 -07:00
|
|
|
struct wlr_backend *river_wlr_backend_autocreate(struct wl_display *display) {
|
2020-03-21 08:55:42 -07:00
|
|
|
return wlr_backend_autocreate(display, NULL);
|
|
|
|
}
|
|
|
|
|
2020-03-28 03:42:58 -07:00
|
|
|
struct wlr_renderer *river_wlr_backend_get_renderer(struct wlr_backend *backend) {
|
2020-03-21 08:55:42 -07:00
|
|
|
return wlr_backend_get_renderer(backend);
|
|
|
|
}
|
|
|
|
|
2020-03-28 03:42:58 -07:00
|
|
|
bool river_wlr_backend_start(struct wlr_backend *backend) {
|
2020-03-21 08:55:42 -07:00
|
|
|
return wlr_backend_start(backend);
|
|
|
|
}
|
2020-04-06 13:23:30 -07:00
|
|
|
|
|
|
|
bool river_wlr_backend_is_multi(struct wlr_backend *backend) {
|
|
|
|
return wlr_backend_is_multi(backend);
|
|
|
|
}
|
|
|
|
|
|
|
|
struct wlr_session *river_wlr_backend_get_session(struct wlr_backend *backend) {
|
|
|
|
return wlr_backend_get_session(backend);
|
|
|
|
}
|
2020-04-14 04:46:40 -07:00
|
|
|
|
|
|
|
struct wlr_backend *river_wlr_noop_backend_create(struct wl_display *display) {
|
|
|
|
return wlr_noop_backend_create(display);
|
|
|
|
}
|
|
|
|
|
|
|
|
struct wlr_output *river_wlr_noop_add_output(struct wlr_backend *backend) {
|
|
|
|
return wlr_noop_add_output(backend);
|
|
|
|
}
|
2020-04-15 03:23:14 -07:00
|
|
|
|
|
|
|
bool river_wlr_output_is_noop(struct wlr_output *output) {
|
|
|
|
return wlr_output_is_noop(output);
|
|
|
|
}
|
2020-06-02 04:45:56 -07:00
|
|
|
|
|
|
|
void river_wlr_backend_destory(struct wlr_backend *backend) {
|
|
|
|
wlr_backend_destroy(backend);
|
|
|
|
}
|