diff options
author | emersion <contact@emersion.fr> | 2018-01-23 22:06:54 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-23 22:06:54 +0100 |
commit | 4fa90b05119720a67ccb63cd89246abdb4abf4ea (patch) | |
tree | ee019624271aca1e4ac9560ffc528d4563c01b52 /include/wlr/backend | |
parent | 03440bbd83b5d68404db8ebc2df310ec0f8c9b32 (diff) |
Backport screenshooter fixes from the renderer redesign v1
This backports some changes to #319 to fix the screenshooter data
format. This also adds wlr_backend_get_renderer which will be
useful to support multiple renderers.
Diffstat (limited to 'include/wlr/backend')
-rw-r--r-- | include/wlr/backend/interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h index 3f0aaadb..d9212795 100644 --- a/include/wlr/backend/interface.h +++ b/include/wlr/backend/interface.h @@ -9,6 +9,7 @@ struct wlr_backend_impl { bool (*start)(struct wlr_backend *backend); void (*destroy)(struct wlr_backend *backend); struct wlr_egl *(*get_egl)(struct wlr_backend *backend); + struct wlr_renderer *(*get_renderer)(struct wlr_backend *backend); }; void wlr_backend_init(struct wlr_backend *backend, |