mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
fifo-v1: new protocol implementation
Implement fifo-v1 protocol: the capability for clients to explicitly queue wl_surface commits. The design of the wl_surface interface defines a double buffer, which is intended to support only (from the point of view of the client) what is sometimes called the 'mailbox' presentation mode: each request on a wl_surface operates on an accumulated pending state until a .commit request is issued, immediately and atomically replacing the wl_surface's current state. This means that only the state related to the latest .commit request will be latched onto. fifo-v1 is a protocol that aims to support an important use case, namely the FIFO display presentation mode, which allows to queue the accumulated pending state until the next latching deadline occurs. Signed-off-by: Sergio Gómez <sergio.g.delreal@gmail.com>
This commit is contained in:
parent
8e7a0f1a9a
commit
6add0125fd
4 changed files with 472 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ wlr_files += files(
|
|||
'wlr_presentation_time.c',
|
||||
'wlr_primary_selection_v1.c',
|
||||
'wlr_primary_selection.c',
|
||||
'wlr_fifo_v1.c',
|
||||
'wlr_region.c',
|
||||
'wlr_relative_pointer_v1.c',
|
||||
'wlr_screencopy_v1.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue