|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <linux.h>
Data Fields | |
| uint32_t | size |
| uint32_t | width |
| uint32_t | height |
| double | scale_factor |
| uint32_t | slot |
| uint32_t | fourcc |
| uint64_t | modifier |
| const mln_dma_buf_plane * | planes |
| size_t | plane_count |
The dmabuf of an acquired frame.
| uint32_t mln_dma_buf_frame::fourcc |
| uint32_t mln_dma_buf_frame::height |
| uint64_t mln_dma_buf_frame::modifier |
| size_t mln_dma_buf_frame::plane_count |
| const mln_dma_buf_plane* mln_dma_buf_frame::planes |
The buffer's planes, in the order that its fourcc and modifier define. Import all of them, as EGL_EXT_image_dma_buf_import_modifiers planes 0 and up, or with one zwp_linux_buffer_params_v1.add call each.
| double mln_dma_buf_frame::scale_factor |
| uint32_t mln_dma_buf_frame::size |
| uint32_t mln_dma_buf_frame::slot |
The buffer's index in the ring.
| uint32_t mln_dma_buf_frame::width |