Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
A GdkTexture
representing a DMA buffer.
To create a GdkDmabufTexture
, use the auxiliary
DmabufTextureBuilder
object.
Dma-buf textures can only be created on Linux.
Since: 4.14
Synopsis
- newtype DmabufTexture = DmabufTexture (ManagedPtr DmabufTexture)
- class (GObject o, IsDescendantOf DmabufTexture o) => IsDmabufTexture o
- toDmabufTexture :: (MonadIO m, IsDmabufTexture o) => o -> m DmabufTexture
Exported types
newtype DmabufTexture Source #
Memory-managed wrapper type.
Instances
Eq DmabufTexture Source # | |
Defined in GI.Gdk.Objects.DmabufTexture (==) :: DmabufTexture -> DmabufTexture -> Bool # (/=) :: DmabufTexture -> DmabufTexture -> Bool # | |
GObject DmabufTexture Source # | |
Defined in GI.Gdk.Objects.DmabufTexture | |
ManagedPtrNewtype DmabufTexture Source # | |
Defined in GI.Gdk.Objects.DmabufTexture | |
TypedObject DmabufTexture Source # | |
Defined in GI.Gdk.Objects.DmabufTexture | |
HasParentTypes DmabufTexture Source # | |
Defined in GI.Gdk.Objects.DmabufTexture | |
IsGValue (Maybe DmabufTexture) Source # | Convert |
Defined in GI.Gdk.Objects.DmabufTexture gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DmabufTexture -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DmabufTexture) # | |
type ParentTypes DmabufTexture Source # | |
Defined in GI.Gdk.Objects.DmabufTexture |
class (GObject o, IsDescendantOf DmabufTexture o) => IsDmabufTexture o Source #
Type class for types which can be safely cast to DmabufTexture
, for instance with toDmabufTexture
.
Instances
(GObject o, IsDescendantOf DmabufTexture o) => IsDmabufTexture o Source # | |
Defined in GI.Gdk.Objects.DmabufTexture |
toDmabufTexture :: (MonadIO m, IsDmabufTexture o) => o -> m DmabufTexture Source #
Cast to DmabufTexture
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, computeConcreteSize, download, equal, forceFloating, freezeNotify, getv, hash, invalidateContents, invalidateSize, isFloating, load, loadAsync, loadFinish, notify, notifyByPspec, ref, refSink, runDispose, saveToPng, saveToPngBytes, saveToTiff, saveToTiffBytes, serialize, snapshot, stealData, stealQdata, thawNotify, toString, unref, watchClosure.
Getters
getCurrentImage, getData, getFlags, getFormat, getHeight, getIntrinsicAspectRatio, getIntrinsicHeight, getIntrinsicWidth, getProperty, getQdata, getWidth.