aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/headless.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-11-25 10:50:28 +0100
committerSimon Ser <contact@emersion.fr>2021-11-25 16:16:04 +0100
commitb234edcf58bbd73d64e8d5986aa5cc380d2f48d6 (patch)
tree7d93c19c3ba71bf779ab919ea7dc62aca5b817c1 /include/wlr/backend/headless.h
parent2e33139ef732040c86e913ecb984c8eb0bf66cb2 (diff)
backend/headless: drop wlr_headless_backend_create_with_renderer
The headless backend no longer needs a parent renderer: it no longer needs to return it in wlr_backend_impl.get_renderer, nor does it need to return its DRM FD in wlr_backend_impl.get_drm_fd. Drop this function altogether since it now behaves exactly like wlr_headless_backend_create.
Diffstat (limited to 'include/wlr/backend/headless.h')
-rw-r--r--include/wlr/backend/headless.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/wlr/backend/headless.h b/include/wlr/backend/headless.h
index 3eb1677d..07dac9b8 100644
--- a/include/wlr/backend/headless.h
+++ b/include/wlr/backend/headless.h
@@ -19,11 +19,6 @@
*/
struct wlr_backend *wlr_headless_backend_create(struct wl_display *display);
/**
- * Creates a headless backend with an existing renderer.
- */
-struct wlr_backend *wlr_headless_backend_create_with_renderer(
- struct wl_display *display, struct wlr_renderer *renderer);
-/**
* Create a new headless output backed by an in-memory EGL framebuffer. You can
* read pixels from this framebuffer via wlr_renderer_read_pixels but it is
* otherwise not displayed.