2019-01-17 11:13:55 +01:00
|
|
|
#ifndef BACKEND_NOOP_H
|
|
|
|
#define BACKEND_NOOP_H
|
|
|
|
|
|
|
|
#include <wlr/backend/noop.h>
|
|
|
|
#include <wlr/backend/interface.h>
|
|
|
|
|
|
|
|
struct wlr_noop_backend {
|
|
|
|
struct wlr_backend backend;
|
|
|
|
struct wl_display *display;
|
|
|
|
struct wl_list outputs;
|
2019-03-15 16:49:21 +01:00
|
|
|
size_t last_output_num;
|
2019-01-17 11:13:55 +01:00
|
|
|
bool started;
|
2020-12-29 15:38:09 +01:00
|
|
|
|
|
|
|
struct wl_listener display_destroy;
|
2019-01-17 11:13:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
struct wlr_noop_output {
|
|
|
|
struct wlr_output wlr_output;
|
|
|
|
|
|
|
|
struct wlr_noop_backend *backend;
|
|
|
|
struct wl_list link;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct wlr_noop_backend *noop_backend_from_backend(
|
|
|
|
struct wlr_backend *wlr_backend);
|
|
|
|
|
|
|
|
#endif
|