xhb-0.5.2014.4.10: X Haskell Bindings

Safe HaskellNone
LanguageHaskell98

Graphics.XHB.Connection.Extension

Synopsis

Documentation

extensionInfo :: Connection -> ExtensionId -> IO QueryExtensionReply Source

Lookup an extension. Will attempt to check the extension cache first. Will block until the info is retrieved from the server. Will cache the extension information when found.

serializeExtensionRequest :: ExtensionRequest a => Connection -> a -> IO Put Source

Convert an extension request to a put action. Handles grabbing the extension opcode and feeding it into the serializeRequest function.