Skip to content

Commit

Permalink
linux-explicit-synchronization: Warn about using the protocol while u…
Browse files Browse the repository at this point in the history
…sing graphics APIs

Graphics APIs are expected to use this protocol under the hood, and
since there can only be one user of explicit synchronization per
surface, warn about using the protocol directly in such cases.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
  • Loading branch information
afrantzis authored and Pekka Paalanen committed Dec 14, 2018
1 parent 4791496 commit 08903bd
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -66,6 +66,12 @@

If the given wl_surface already has an explicit synchronization object
associated, the synchronization_exists protocol error is raised.

Graphics APIs, like EGL or Vulkan, that manage the buffer queue and
commits of a wl_surface themselves, are likely to be using this
extension internally. If a client is using such an API for a
wl_surface, it should not directly use this extension on that surface,
to avoid raising a synchronization_exists protocol error.
</description>

<arg name="id" type="new_id"
Expand Down

0 comments on commit 08903bd

Please sign in to comment.