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.h | |
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.h')
-rw-r--r-- | include/wlr/backend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/backend.h b/include/wlr/backend.h index 4632dcbf..d4b1f773 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -23,6 +23,7 @@ struct wlr_backend *wlr_backend_autocreate(struct wl_display *display); bool wlr_backend_start(struct wlr_backend *backend); void wlr_backend_destroy(struct wlr_backend *backend); struct wlr_egl *wlr_backend_get_egl(struct wlr_backend *backend); +struct wlr_renderer *wlr_backend_get_renderer(struct wlr_backend *backend); uint32_t usec_to_msec(uint64_t usec); |