diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-11-17 13:49:18 -0500 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-11-17 13:49:18 -0500 |
commit | 3aed24b8d4572eb4cd2488113f1c1a23ceb290d8 (patch) | |
tree | 6165c9c9fb31c8c395392e29a6361686483def7d /include/backend/drm | |
parent | 3b53d1cbf199aa5db0b1c81df92e43fc05670543 (diff) |
backend/drm: Track page flips in list
Diffstat (limited to 'include/backend/drm')
-rw-r--r-- | include/backend/drm/drm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index b121b3bc..eef778df 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -104,6 +104,8 @@ struct wlr_drm_backend { struct wl_list fbs; // wlr_drm_fb.link struct wl_list connectors; // wlr_drm_connector.link + struct wl_list page_flips; // wlr_drm_page_flip.link + /* Only initialized on multi-GPU setups */ struct wlr_drm_renderer mgpu_renderer; @@ -142,6 +144,7 @@ struct wlr_drm_connector_state { * that it's been superseded. */ struct wlr_drm_page_flip { + struct wl_list link; // wlr_drm_connector.page_flips struct wlr_drm_connector *conn; }; |