mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-21 05:34:09 -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
This commit is contained in:
parent
b2f6a390a4
commit
cd555f9261
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