package wayland

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

Transform from framebuffer to output.

This describes the transform that a compositor will apply to a surface to compensate for the rotation or mirroring of an output device.

The flipped values correspond to an initial flip around a vertical axis followed by rotation.

The purpose is mainly to allow clients to render accordingly and tell the compositor, so that for fullscreen surfaces, the compositor will still be able to scan out directly from client surfaces.

type t =
  1. | Normal : t
  2. | V90 : t
  3. | V180 : t
  4. | V270 : t
  5. | Flipped : t
  6. | Flipped_90 : t
  7. | Flipped_180 : t
  8. | Flipped_270 : t
val to_int32 : t -> int32
val of_int32 : int32 -> t
OCaml

Innovation. Community. Security.