mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/drm: Track page flips in list
This commit is contained in:
parent
3b53d1cbf1
commit
3aed24b8d4
3 changed files with 16 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue