mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-29 07:58:24 -04:00
backend/drm: properly delay syncobj signalling
DRM CRTC signals when scanout begins, but
wlr_output_state_set_signal_timeline() is defined to signal buffer
release. Delay to the next page flip
(cherry picked from commit cd555f9261)
This commit is contained in:
parent
8daba3246d
commit
eff5aa52e6
3 changed files with 41 additions and 2 deletions
|
|
@ -29,8 +29,12 @@ struct wlr_drm_plane {
|
|||
|
||||
/* Buffer submitted to the kernel, will be presented on next vblank */
|
||||
struct wlr_drm_fb *queued_fb;
|
||||
struct wlr_drm_syncobj_timeline *queued_release_timeline;
|
||||
uint64_t queued_release_point;
|
||||
/* Buffer currently displayed on screen */
|
||||
struct wlr_drm_fb *current_fb;
|
||||
struct wlr_drm_syncobj_timeline *current_release_timeline;
|
||||
uint64_t current_release_point;
|
||||
/* Viewport belonging to the last committed fb */
|
||||
struct wlr_drm_viewport viewport;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue