Class

MaplibreNativeFfiDmaBufRingDescriptor

Description [src]

final class MaplibreNativeFfi.DmaBufRingDescriptor : GObject.Object
{
  /* No available fields */
}

A ring of dmabufs that the library allocates, for maplibre_native_ffi_map_attach_dma_buf_ring().

Each buffer has the map’s size in pixels and a format and modifier from formats. The library renders only DRM_FORMAT_ABGR8888 and DRM_FORMAT_ARGB8888. A modifier can give a buffer more planes than its format has, such as a plane of compression metadata, and the library takes any such modifier that its GPU can render into and share.

See mln_dma_buf_ring_descriptor in the C API reference.

Ancestors

Constructors

maplibre_native_ffi_dma_buf_ring_descriptor_new

Creates a MaplibreNativeFfiDmaBufRingDescriptor whose members are zero or empty.

Instance methods

maplibre_native_ffi_dma_buf_ring_descriptor_get_buffer_count

Gets MaplibreNativeFfiDmaBufRingDescriptor:buffer-count.

maplibre_native_ffi_dma_buf_ring_descriptor_get_formats

Gets the value that maplibre_native_ffi_dma_buf_ring_descriptor_set_formats sets.

maplibre_native_ffi_dma_buf_ring_descriptor_get_logical_size

Gets MaplibreNativeFfiDmaBufRingDescriptor:logical-size.

maplibre_native_ffi_dma_buf_ring_descriptor_set_buffer_count

Sets MaplibreNativeFfiDmaBufRingDescriptor:buffer-count.

maplibre_native_ffi_dma_buf_ring_descriptor_set_formats

The formats and modifiers that your reader imports, most preferred first, such as those that eglQueryDmaBufModifiersEXT() reports.

maplibre_native_ffi_dma_buf_ring_descriptor_set_logical_size

Sets MaplibreNativeFfiDmaBufRingDescriptor:logical-size.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

MaplibreNativeFfi.DmaBufRingDescriptor:buffer-count

How many buffers the ring has, from 1 to 8.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct MaplibreNativeFfiDmaBufRingDescriptorClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.