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.
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
-
gi-gdk4 GI.Gdk.Structs.DmabufFormats Memory-managed wrapper type.
DmabufFormats :: ManagedPtr DmabufFormats -> DmabufFormatsgi-gdk4 GI.Gdk.Structs.DmabufFormats No documentation available.
dmabufFormatsContains :: (HasCallStack, MonadIO m) => DmabufFormats -> Word32 -> Word64 -> m Boolgi-gdk4 GI.Gdk.Structs.DmabufFormats Returns whether a given format is contained in formats. Since: 4.14
-
gi-gdk4 GI.Gdk.Structs.DmabufFormats Returns whether formats1 and formats2 contain the same dmabuf formats, in the same order. Since: 4.14
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
dmabufFormatsGetNFormats :: (HasCallStack, MonadIO m) => DmabufFormats -> m CSizegi-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
dmabufFormatsRef :: (HasCallStack, MonadIO m) => DmabufFormats -> m DmabufFormatsgi-gdk4 GI.Gdk.Structs.DmabufFormats Increases the reference count of formats. Since: 4.14
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
textureDownloaderGetFormat :: (HasCallStack, MonadIO m) => TextureDownloader -> m MemoryFormatgi-gdk4 GI.Gdk.Structs.TextureDownloader Gets the format that the data will be downloaded in. Since: 4.10