haskus-system-0.7.0.0: Haskus system programming framework

Safe HaskellNone
LanguageHaskell2010

Haskus.System.Linux.Graphics.Helper

Description

Helpers for the graphics API

Synopsis

Documentation

setController :: MonadInIO m => Controller -> FBConfig -> [Connector] -> Maybe Mode -> Flow m '[(), ErrorCode] Source #

Configure a controller

A connected framebuffer is required to set a mode: if ReuseFB is passed, the connected one is used.

switchFrameBuffer :: MonadIO m => Controller -> FrameBuffer -> PageFlipFlags -> Word64 -> Flow m '[(), ErrorCode] Source #

Switch to another framebuffer for the given controller without doing a full mode change