diff options
author | Simon Ser <contact@emersion.fr> | 2019-05-04 12:07:37 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-07 09:06:11 -0400 |
commit | 44ba603c0ef5ee05e89e7021c7df8061b3d5f56b (patch) | |
tree | 2ed839b37da289a1d5cb1985bc1dff1190020580 /include/backend/drm | |
parent | ff6b352d754cd19fc33b87fbc3d9d524f6484e35 (diff) |
backend/drm: hold buffers while scanning out
Diffstat (limited to 'include/backend/drm')
-rw-r--r-- | include/backend/drm/drm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index a20002b0..3821c358 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -149,7 +149,12 @@ struct wlr_drm_connector { struct wl_event_source *retry_pageflip; struct wl_list link; + // DMA-BUF to be displayed on next commit struct wlr_dmabuf_attributes pending_dmabuf; + // Buffer submitted to the kernel but not yet displayed + struct wlr_buffer *pending_buffer; + // Buffer currently being displayed + struct wlr_buffer *current_buffer; }; struct wlr_drm_backend *get_drm_backend_from_backend( |