Skip to content

wp_linux_drm_syncobj_manager_v1¤

wayland.wp_linux_drm_syncobj_manager_v1 ¤

Global for providing explicit synchronization

This global is a factory interface, allowing clients to request explicit synchronization for buffers on a per-surface basis.

See wp_linux_drm_syncobj_surface_v1 for more information.

Methods:

  • destroy

    Destroy explicit synchronization factory object

  • get_surface

    Extend surface interface for explicit synchronization

  • import_timeline

    Import a drm syncobj timeline

error ¤

destroy ¤

destroy() -> None

Destroy explicit synchronization factory object

Destroy this explicit synchronization factory object. Other objects shall not be affected by this request.

get_surface ¤

Extend surface interface for explicit synchronization

Instantiate an interface extension for the given wl_surface to provide explicit synchronization.

If the given wl_surface already has an explicit synchronization object associated, the surface_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 surface_exists protocol error.

Parameters:

Returns:

import_timeline ¤

import_timeline(fd: fd) -> wp_linux_drm_syncobj_timeline_v1

Import a drm syncobj timeline

Import a DRM synchronization object timeline.

If the FD cannot be imported, the invalid_timeline error is raised.

Parameters:

  • fd ¤

    (fd) –

    drm_syncobj file descriptor

Returns: