Class

MaplibreNativeFfiRenderSession

Description [src]

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

A render session draws a map into a surface or a texture.

See mln_render_session in the C API reference.

Ancestors

Instance methods

maplibre_native_ffi_render_session_abandon

Stops the session right away, without running its pending graphics work.

maplibre_native_ffi_render_session_acquire_frame

Takes the newest rendered frame from the session’s texture ring, if one is ready.

maplibre_native_ffi_render_session_barrier_async

Ends the session’s pending frame demands and waits for its earlier work.

maplibre_native_ffi_render_session_barrier_finish

Finishes a call that maplibre_native_ffi_render_session_barrier_async started.

maplibre_native_ffi_render_session_clear_data_async

Clears the data that the session’s renderer holds, such as loaded tiles, and draws the map again.

maplibre_native_ffi_render_session_clear_data_finish

Finishes a call that maplibre_native_ffi_render_session_clear_data_async started.

maplibre_native_ffi_render_session_demand_frame

Asks the session to render a frame.

maplibre_native_ffi_render_session_detach_async

Detaches the session from its map and frees its graphics objects.

maplibre_native_ffi_render_session_detach_finish

Finishes a call that maplibre_native_ffi_render_session_detach_async started.

maplibre_native_ffi_render_session_dispose

Releases the session in any state, and finishes in the background.

maplibre_native_ffi_render_session_drain_frame_results

Takes the frame results that the session has queued.

maplibre_native_ffi_render_session_dump_debug_logs_async

Logs debugging information about the session’s renderer.

maplibre_native_ffi_render_session_dump_debug_logs_finish

Finishes a call that maplibre_native_ffi_render_session_dump_debug_logs_async started.

maplibre_native_ffi_render_session_get_capabilities

Reads what the session supports.

maplibre_native_ffi_render_session_get_cluster_children_async

Reads the children of a cluster in a clustered GeoJSON source.

maplibre_native_ffi_render_session_get_cluster_children_finish

Finishes a call that maplibre_native_ffi_render_session_get_cluster_children_async started.

maplibre_native_ffi_render_session_get_cluster_expansion_zoom_async

Reads the zoom level at which a cluster of a clustered GeoJSON source splits.

maplibre_native_ffi_render_session_get_cluster_expansion_zoom_finish

Finishes a call that maplibre_native_ffi_render_session_get_cluster_expansion_zoom_async started.

maplibre_native_ffi_render_session_get_cluster_leaves_async

Reads the points in a cluster of a clustered GeoJSON source.

maplibre_native_ffi_render_session_get_cluster_leaves_finish

Finishes a call that maplibre_native_ffi_render_session_get_cluster_leaves_async started.

maplibre_native_ffi_render_session_get_failure

Reads the message of the error that made the session fail.

maplibre_native_ffi_render_session_get_id

The handle’s ID, which runtime events name as their source.

maplibre_native_ffi_render_session_get_snapshot

Reads the session’s current state.

maplibre_native_ffi_render_session_query_rendered_features_async

Finds the features that the session drew in an area of the screen.

maplibre_native_ffi_render_session_query_rendered_features_finish

Finishes a call that maplibre_native_ffi_render_session_query_rendered_features_async started.

maplibre_native_ffi_render_session_query_source_features_async

Finds the features of the source named source_id.

maplibre_native_ffi_render_session_query_source_features_finish

Finishes a call that maplibre_native_ffi_render_session_query_source_features_async started.

maplibre_native_ffi_render_session_read_texture_async

Reads the pixels of the last frame that the session rendered.

maplibre_native_ffi_render_session_read_texture_finish

Finishes a call that maplibre_native_ffi_render_session_read_texture_async started.

maplibre_native_ffi_render_session_ready_async

Waits until the handle is ready, as the call that created it reports. A handle that a callback lends is ready at once.

maplibre_native_ffi_render_session_ready_finish

Finishes a wait that maplibre_native_ffi_render_session_ready_async started.

maplibre_native_ffi_render_session_reduce_memory_use_async

Frees memory that the session’s renderer can rebuild, such as caches.

maplibre_native_ffi_render_session_reduce_memory_use_finish

Finishes a call that maplibre_native_ffi_render_session_reduce_memory_use_async started.

maplibre_native_ffi_render_session_release_async

Releases the session, detaching it first when it is attached.

maplibre_native_ffi_render_session_release_finish

Finishes a release that maplibre_native_ffi_render_session_release_async started.

maplibre_native_ffi_render_session_release_target_async

Lets go of the session’s surface or textures, and keeps the rest of the session.

maplibre_native_ffi_render_session_release_target_finish

Finishes a call that maplibre_native_ffi_render_session_release_target_async started.

maplibre_native_ffi_render_session_resize_async

Resizes the session’s target and its map.

maplibre_native_ffi_render_session_resize_finish

Finishes a call that maplibre_native_ffi_render_session_resize_async started.

maplibre_native_ffi_render_session_service_driver_work

Runs the session’s ready graphics work on your graphics thread.

maplibre_native_ffi_render_session_set_frame_pacer

Sets the frame pacer that demands the session’s frames.

maplibre_native_ffi_render_session_set_open_gl_borrowed_texture_target_async

Replaces the OpenGL textures that a borrowed ring renders into.

maplibre_native_ffi_render_session_set_open_gl_borrowed_texture_target_finish

Finishes a call that maplibre_native_ffi_render_session_set_open_gl_borrowed_texture_target_async started.

maplibre_native_ffi_render_session_set_open_gl_surface_target_async

Replaces the OpenGL surface that the session presents to.

maplibre_native_ffi_render_session_set_open_gl_surface_target_finish

Finishes a call that maplibre_native_ffi_render_session_set_open_gl_surface_target_async started.

maplibre_native_ffi_render_session_set_vulkan_borrowed_texture_target_async

Replaces the Vulkan images that a borrowed ring renders into.

maplibre_native_ffi_render_session_set_vulkan_borrowed_texture_target_finish

Finishes a call that maplibre_native_ffi_render_session_set_vulkan_borrowed_texture_target_async started.

maplibre_native_ffi_render_session_set_vulkan_surface_target_async

Replaces the Vulkan surface that the session presents to.

maplibre_native_ffi_render_session_set_vulkan_surface_target_finish

Finishes a call that maplibre_native_ffi_render_session_set_vulkan_surface_target_async started.

maplibre_native_ffi_render_session_set_wayland_surface_target_async

Replaces the Wayland surface that the session presents to.

maplibre_native_ffi_render_session_set_wayland_surface_target_finish

Finishes a call that maplibre_native_ffi_render_session_set_wayland_surface_target_async started.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

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 MaplibreNativeFfiRenderSessionClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.