haskus-system-0.7.0.0: Haskus system programming framework

Safe HaskellNone
LanguageHaskell2010

Haskus.System.Linux.Graphics.Capability

Description

Graphic card capabilities

Synopsis

Documentation

getCapability :: MonadIO m => Handle -> Capability -> Flow m '[Word64, ErrorCode] Source #

Get a capability

supports :: MonadIO m => Handle -> Capability -> Flow m '[Bool, ErrorCode] Source #

Indicate if a capability is supported

data ClientCapability Source #

Client capabilities

Constructors

ClientCapStereo3D

if set, the DRM core will expose the stereo 3D capabilities of the monitor by advertising the supported 3D layouts in the flags of struct drm_mode_modeinfo (cf Stereo3D)

ClientCapUniversalPlanes

If set, the DRM core will expose all planes (overlay, primary, and cursor) to userspace.

ClientCapAtomic

If set, the DRM core will expose atomic properties to userspace

setClientCapability :: MonadIO m => Handle -> ClientCapability -> Bool -> Flow m '[(), ErrorCode] Source #

Set a client capability