Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Add a sync_fence event to the export-dmabuf protocol. #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cyanreg
Copy link

@cyanreg cyanreg commented Mar 27, 2020

This commit adds a sync_fence FD to the export-dmabuf protocol, allowing
for clients to synchronize their readout of the frame with the last
operation the compositor performs to the frame, thus eliminating any
race conditions where the compositor gives the frame to a client while
still compositing to it.

Copy link
Member

@emersion emersion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from these comments, this patch LGTM. I'll add a commit to my explicit-sync wlroots branch to add support for this.

@cyanreg cyanreg force-pushed the master branch 4 times, most recently from 0c2dba5 to 6a61f24 Compare March 27, 2020 17:20
This commit adds a sync_fence FD to the export-dmabuf protocol, allowing
for clients to synchronize their readout of the frame with the last
operation the compositor performs to the frame, thus eliminating any
race conditions where the compositor gives the frame to a client while
still compositing to it.
@emersion
Copy link
Member

emersion commented Nov 1, 2021

wlr-protocols has migrated to gitlab.freedesktop.org. This pull request has been moved to:

https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/merge_requests/75

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

None yet

2 participants