Add a headless backend
Add a headless backend and a noop renderer, mainly for testing
purposes. Although no rendering is performed with this backend,
this allow some of the code paths inside Weston and shm clients
to be tested without any windowing system or any need for drm
access.
diff --git a/src/compositor.h b/src/compositor.h
index 121f6bf..d8d45e7 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -828,6 +828,11 @@
void
gles2_renderer_destroy(struct weston_compositor *ec);
+int
+noop_renderer_init(struct weston_compositor *ec);
+void
+noop_renderer_destroy(struct weston_compositor *ec);
+
struct weston_compositor *
backend_init(struct wl_display *display, int argc, char *argv[],
const char *config_file);