Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. module GI.Gdk.Structs.DmabufFormats

    The GdkDmabufFormats struct provides information about supported DMA buffer formats. You can query whether a given format is supported with dmabufFormatsContains and you can iterate over the list of all supported formats with dmabufFormatsGetNFormats and dmabufFormatsGetFormat. The list of supported formats is sorted by preference, with the best formats coming first. The list may contains (format, modifier) pairs where the modifier is DMA_FORMAT_MOD_INVALID, indicating that _implicit modifiers_ may be used with this format. See DmabufTextureBuilder for more information about DMA buffers. Note that DMA buffers only exist on Linux. Since: 4.14

  2. newtype DmabufFormats

    gi-gdk4 GI.Gdk.Structs.DmabufFormats

    Memory-managed wrapper type.

  3. DmabufFormats :: ManagedPtr DmabufFormats -> DmabufFormats

    gi-gdk4 GI.Gdk.Structs.DmabufFormats

    No documentation available.

  4. dmabufFormatsContains :: (HasCallStack, MonadIO m) => DmabufFormats -> Word32 -> Word64 -> m Bool

    gi-gdk4 GI.Gdk.Structs.DmabufFormats

    Returns whether a given format is contained in formats. Since: 4.14

  5. dmabufFormatsEqual :: (HasCallStack, MonadIO m) => Maybe DmabufFormats -> Maybe DmabufFormats -> m Bool

    gi-gdk4 GI.Gdk.Structs.DmabufFormats

    Returns whether formats1 and formats2 contain the same dmabuf formats, in the same order. Since: 4.14

  6. dmabufFormatsGetFormat :: (HasCallStack, MonadIO m) => DmabufFormats -> CSize -> m (Word32, Word64)

    gi-gdk4 GI.Gdk.Structs.DmabufFormats

    Gets the fourcc code and modifier for a format that is contained in formats. Since: 4.14

  7. dmabufFormatsGetNFormats :: (HasCallStack, MonadIO m) => DmabufFormats -> m CSize

    gi-gdk4 GI.Gdk.Structs.DmabufFormats

    Returns the number of formats that the formats object contains. Note that DMA buffers are a Linux concept, so on other platforms, dmabufFormatsGetNFormats will always return zero. Since: 4.14

  8. dmabufFormatsRef :: (HasCallStack, MonadIO m) => DmabufFormats -> m DmabufFormats

    gi-gdk4 GI.Gdk.Structs.DmabufFormats

    Increases the reference count of formats. Since: 4.14

  9. dmabufFormatsUnref :: (HasCallStack, MonadIO m) => DmabufFormats -> m ()

    gi-gdk4 GI.Gdk.Structs.DmabufFormats

    Decreases the reference count of formats. When the reference count reaches zero, the object is freed. Since: 4.14

  10. textureDownloaderGetFormat :: (HasCallStack, MonadIO m) => TextureDownloader -> m MemoryFormat

    gi-gdk4 GI.Gdk.Structs.TextureDownloader

    Gets the format that the data will be downloaded in. Since: 4.10

Page 728 of many | Previous | Next