Kms.PlaneA plane wraps a Buffer with some extra metadata.
type id = [ `Plane ] Id.tGet the plane resources.
Note: You must enable Client_cap.atomic mode first.
val set :
Device.t ->
id ->
crtc:Crtc.id ->
fb:Fb.id ->
src:Ufixed.t region ->
dst:int region ->
unitset dev id ~crtc ~fb ~src ~dst sets plane id to show fb region src on crtc at dst.
val pp : t Fmt.ttype 'a property = ([ `Plane ], 'a) Property.tval get_properties : Device.t -> id -> [ `Plane ] Properties.Values.tval typ :
[ `Cursor | `Overlay | `Primary | `Unknown of Property.raw_value ] propertyval crtc_x : int propertyval crtc_y : int propertyval crtc_w : int propertyval crtc_h : int propertyval get_in_formats : Device.t -> Blob.id -> (Fourcc.t * Modifier.t) listNote: get the format table with get_in_formats.
val in_fence_fd : Unix.file_descr option property