mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/headless: add wlr_headless_backend_create_with_renderer
This allows one to create a headless backend with an existing renderer.
This commit is contained in:
parent
40513f1a0e
commit
6129a6f93e
4 changed files with 80 additions and 43 deletions
|
|
@ -9,7 +9,8 @@
|
|||
|
||||
struct wlr_headless_backend {
|
||||
struct wlr_backend backend;
|
||||
struct wlr_egl egl;
|
||||
struct wlr_egl priv_egl; // may be uninitialized
|
||||
struct wlr_egl *egl;
|
||||
struct wlr_renderer *renderer;
|
||||
struct wl_display *display;
|
||||
struct wl_list outputs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue