diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-06 17:39:23 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-12-07 17:45:59 +0100 |
commit | 037b21647b06957682ff8a0a1b24dcbc49e1c357 (patch) | |
tree | 17d400d4f4e3e54f161ccc5baa7820cc3691fcae /examples/dmabuf-capture.c | |
parent | ae61cd6bfb97a2ab5d03b30d90dd81ee6c82d352 (diff) |
backend/drm: store pending FB in state
Instead of having a pending_fb field on the struct wlr_drm_plane,
move it to struct wlr_drm_connector_state. That way, there's no
risk having a stale pending FB around: the state doesn't survive
across tests and commits.
The cursor is a special case because it's disconnected from the
atomic state: the wlr_backend_impl.set_cursor hook sets the cursor
for the next commit. Move the field to
wlr_drm_connector.cursor_pending_fb.
Diffstat (limited to 'examples/dmabuf-capture.c')
0 files changed, 0 insertions, 0 deletions