aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/drm.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-22 17:07:29 +0100
committerSimon Ser <contact@emersion.fr>2021-01-10 11:24:35 +0100
commit5b1b43c68c7ae65c64a0fcb2c15bf403e5a2fa07 (patch)
treea8c0fc353d30c8dabcb337db3cd85ea1fbe9d7fa /include/backend/drm/drm.h
parent64da8f0c8db9cf9a26c5e56d07d76d03a7d17c17 (diff)
backend/drm: make wlr_drm_plane.{pending,queued,current}_fb pointers
This will be useful once we start re-using wlr_drm_fb.
Diffstat (limited to 'include/backend/drm/drm.h')
-rw-r--r--include/backend/drm/drm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 3759ea35..23b06847 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -24,11 +24,11 @@ struct wlr_drm_plane {
struct wlr_drm_surface mgpu_surf;
/* Buffer to be submitted to the kernel on the next page-flip */
- struct wlr_drm_fb pending_fb;
+ struct wlr_drm_fb *pending_fb;
/* Buffer submitted to the kernel, will be presented on next vblank */
- struct wlr_drm_fb queued_fb;
+ struct wlr_drm_fb *queued_fb;
/* Buffer currently displayed on screen */
- struct wlr_drm_fb current_fb;
+ struct wlr_drm_fb *current_fb;
struct wlr_drm_format_set formats;