MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
wayland.h
Go to the documentation of this file.
1
5
6#ifndef MAPLIBRE_NATIVE_C_PLATFORM_WAYLAND_H
7#define MAPLIBRE_NATIVE_C_PLATFORM_WAYLAND_H
8
9#include <stdint.h>
10
11#include "../base.h"
12#include "../completion.h"
13#include "../map.h"
14#include "../render_session.h"
15#include "../render_target.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
23 uint32_t size;
24 mln_logical_size logical_size MLN_BINDING("required=true");
26 void* display MLN_BINDING("required=true");
28 void* surface MLN_BINDING("required=true");
30
35 uint32_t size;
36 mln_logical_size logical_size MLN_BINDING("required=true");
38 void* surface MLN_BINDING("required=true");
40
68MLN_BINDING("execution=lifecycle;platforms=freebsd,linux")
70 mln_map map, const mln_wayland_surface_descriptor* descriptor,
71 mln_vulkan_device device MLN_BINDING("nullable=true"),
73 mln_render_session* out_session MLN_BINDING("direction=out"),
74 const mln_completion* completion, mln_diagnostic* out_diagnostic
75) MLN_NOEXCEPT;
76
90MLN_BINDING("execution=operation;platforms=freebsd,linux")
92 mln_render_session session,
93 const mln_wayland_surface_replacement* replacement,
94 const mln_completion* completion, mln_diagnostic* out_diagnostic
95) MLN_NOEXCEPT;
96
97#ifdef __cplusplus
98}
99#endif
100
101#endif // MAPLIBRE_NATIVE_C_PLATFORM_WAYLAND_H
uint64_t mln_render_session
Definition base.h:147
uint64_t mln_map
Definition base.h:112
uint64_t mln_vulkan_device
Definition base.h:127
mln_status
Definition base.h:41
Definition completion.h:66
Definition base.h:84
Definition map.h:196
Definition render_target.h:125
Definition wayland.h:22
mln_logical_size logical_size
Definition wayland.h:24
void * surface
Definition wayland.h:28
void * display
Definition wayland.h:26
uint32_t size
Definition wayland.h:23
Definition wayland.h:34
uint32_t size
Definition wayland.h:35
void * surface
Definition wayland.h:38
mln_logical_size logical_size
Definition wayland.h:36
mln_status mln_map_attach_wayland_surface(mln_map map, const mln_wayland_surface_descriptor *descriptor, mln_vulkan_device device, const mln_render_session_attach_options *options, mln_render_session *out_session, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_render_session_set_wayland_surface_target(mln_render_session session, const mln_wayland_surface_replacement *replacement, const mln_completion *completion, mln_diagnostic *out_diagnostic)