Module Drm

OCaml bindings for libdrm. This library can be used to find GPU devices, configure monitors, etc.

module Device : sig ... end

Graphics devices.

module Cap : sig ... end

Features offered by the Linux device driver to the application.

module Client_cap : sig ... end

Features supported by the application.

module Id : sig ... end

Integer IDs with unique types to help prevent mistakes.

module Buffer : sig ... end

Memory holding pixel data.

module Ufixed : sig ... end

Unsigned 16.16 fixed-point values.

module Kms : sig ... end

Kernel mode-setting.

module Fourcc : sig ... end

Pixel formats

module Modifier : sig ... end

Format modifiers.

module Dev_t : sig ... end

The dev_t type, identifying a Unix device.

module Dmabuf : sig ... end

Sharing buffers between processes.

module Event : sig ... end

Parsing events from a device.