aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-02 10:37:07 +0100
committerSimon Ser <contact@emersion.fr>2021-06-02 11:08:52 +0200
commit9e9be83a58382b61caa86b1aeca77b8794099569 (patch)
tree9f07899e1a764ef06b566541c3d20e318ba459a2 /include
parentde51df277010e9f67d8e87cfdda0ca0a01e9ef0a (diff)
backend/drm: implement get_cursor_formats and get_cursor_size
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 13ccd672..ec19918b 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -87,6 +87,10 @@ struct wlr_drm_backend {
struct wlr_drm_renderer renderer;
struct wlr_session *session;
+
+ uint64_t cursor_width, cursor_height;
+
+ struct wlr_drm_format_set mgpu_formats;
};
enum wlr_drm_connector_state {