aboutsummaryrefslogtreecommitdiff
path: root/include/backend/noop.h
blob: 4198baad2f85287e19001de19708b3467fd552db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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;
	bool started;
};

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