package wayland

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Handler for a proxy with version >= 2.

constraint 'a = [< `V2 | `V3 ]
method private virtual on_created : [> `V2 | `V3 ] t -> ([ `Wl_buffer ], 'b, [ `Client ]) {Proxy}2.t -> unit

Buffer creation succeeded.

This event indicates that the attempted buffer creation was successful. It provides the new wl_buffer referencing the dmabuf(s).

Upon receiving this event, the client should destroy the zlinux_dmabuf_params object.

method private virtual on_failed : [> `V2 | `V3 ] t -> unit

Buffer creation failed.

This event indicates that the attempted buffer creation has failed. It usually means that one of the dmabuf constraints has not been fulfilled.

Upon receiving this event, the client should destroy the zlinux_buffer_params object.

method min_version : 'a v2 -> int32