package libdrm

  1. Overview
  2. Docs

Module DrmSource

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

Sourcemodule Device : sig ... end

Graphics devices.

Sourcemodule Cap : sig ... end

Features offered by the Linux device driver to the application.

Sourcemodule Client_cap : sig ... end

Features supported by the application.

Sourcemodule Id : sig ... end

Integer IDs with unique types to help prevent mistakes.

Sourcemodule Buffer : sig ... end

Memory holding pixel data.

Sourcemodule Ufixed : sig ... end

Unsigned 16.16 fixed-point values.

Sourcemodule Kms : sig ... end

Kernel mode-setting.

Sourcemodule Fourcc : sig ... end

Pixel formats

Sourcemodule Modifier : sig ... end

Format modifiers.

Sourcemodule Dev_t : sig ... end

The dev_t type, identifying a Unix device.

Sourcemodule Dmabuf : sig ... end

Sharing buffers between processes.

Sourcemodule Event : sig ... end

Parsing events from a device.