MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
ohos.h
Go to the documentation of this file.
1
6
7#ifndef MAPLIBRE_NATIVE_C_PLATFORM_OHOS_H
8#define MAPLIBRE_NATIVE_C_PLATFORM_OHOS_H
9
10#include <stdint.h>
11
12#include "../base.h"
13#include "../completion.h"
14#include "../map.h"
15#include "../render_session.h"
16#include "../render_target.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
32MLN_BINDING("platforms=ohos")
34 const mln_frame_pacer_options* options MLN_BINDING("nullable=true"),
35 mln_frame_pacer* out_pacer MLN_BINDING("direction=out"),
36 mln_diagnostic* out_diagnostic
37) MLN_NOEXCEPT;
38
46 uint32_t size;
47 mln_logical_size logical_size MLN_BINDING("required=true");
49 void* window;
55 uint64_t surface_id;
57
65 uint32_t size;
66 mln_logical_size logical_size MLN_BINDING("required=true");
68 void* window;
74 uint64_t surface_id;
76
107MLN_BINDING("execution=lifecycle;platforms=ohos")
109 mln_map map, const mln_ohos_surface_descriptor* descriptor,
110 mln_vulkan_device device MLN_BINDING("nullable=true"),
112 mln_render_session* out_session MLN_BINDING("direction=out"),
113 const mln_completion* completion, mln_diagnostic* out_diagnostic
114) MLN_NOEXCEPT;
115
136MLN_BINDING("execution=operation;platforms=ohos")
138 mln_render_session session, const mln_ohos_surface_replacement* replacement,
139 const mln_completion* completion, mln_diagnostic* out_diagnostic
140) MLN_NOEXCEPT;
141
142#ifdef __cplusplus
143}
144#endif
145
146#endif // MAPLIBRE_NATIVE_C_PLATFORM_OHOS_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
uint64_t mln_frame_pacer
Definition base.h:164
mln_status mln_render_session_set_ohos_surface_target(mln_render_session session, const mln_ohos_surface_replacement *replacement, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_map_attach_ohos_surface(mln_map map, const mln_ohos_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_ohos_frame_pacer_create(const mln_frame_pacer_options *options, mln_frame_pacer *out_pacer, mln_diagnostic *out_diagnostic)
Definition completion.h:66
Definition base.h:84
Definition render_session.h:233
Definition map.h:196
Definition ohos.h:45
mln_logical_size logical_size
Definition ohos.h:47
uint32_t size
Definition ohos.h:46
uint64_t surface_id
Definition ohos.h:55
void * window
Definition ohos.h:49
Definition ohos.h:64
void * window
Definition ohos.h:68
uint64_t surface_id
Definition ohos.h:74
uint32_t size
Definition ohos.h:65
mln_logical_size logical_size
Definition ohos.h:66
Definition render_target.h:125