 |
Flutter Linux Embedder
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_ENGINE_PRIVATE_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_ENGINE_PRIVATE_H_
8 #include <glib-object.h>
10 #include "flutter/shell/platform/embedder/embedder.h"
47 const FlutterPlatformMessageResponseHandle* response_handle,
60 const FlutterSemanticsUpdate2* update,
73 FlRenderer* renderer);
126 const FlutterEngineDisplay* displays,
127 size_t displays_length);
149 GCancellable* cancellable,
150 GAsyncReadyCallback callback,
165 GAsyncResult* result,
180 FlutterViewId view_id,
181 GCancellable* cancellable,
182 GAsyncReadyCallback callback,
197 GAsyncResult* result,
218 GDestroyNotify destroy_notify);
234 GDestroyNotify destroy_notify);
248 FlutterEngineDisplayId display_id,
249 FlutterViewId view_id,
270 FlutterViewId view_id,
271 FlutterPointerPhase phase,
275 FlutterPointerDeviceKind device_kind,
276 double scroll_delta_x,
277 double scroll_delta_y,
292 FlutterViewId view_id,
310 FlutterViewId view_id,
327 FlutterViewId view_id,
345 FlutterViewId view_id,
363 FlutterViewId view_id,
385 FlutterViewId view_id,
389 FlutterPointerPhase phase,
407 const FlutterKeyEvent* event,
408 GCancellable* cancellable,
409 GAsyncReadyCallback callback,
425 GAsyncResult* result,
438 FlutterSemanticsAction action,
455 const FlutterPlatformMessageResponseHandle* handle,
472 const gchar* channel,
474 GCancellable* cancellable,
475 GAsyncReadyCallback callback,
490 GAsyncResult* result,
578 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_ENGINE_PRIVATE_H_
GBytes * fl_engine_send_platform_message_finish(FlEngine *engine, GAsyncResult *result, GError **error)
gboolean(* FlEnginePlatformMessageHandler)(FlEngine *engine, const gchar *channel, GBytes *message, const FlutterPlatformMessageResponseHandle *response_handle, gpointer user_data)
void fl_engine_send_platform_message(FlEngine *engine, const gchar *channel, GBytes *message, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean fl_engine_mark_texture_frame_available(FlEngine *engine, int64_t texture_id)
gboolean fl_engine_unregister_external_texture(FlEngine *engine, int64_t texture_id)
FlutterViewId fl_engine_add_view(FlEngine *engine, size_t width, size_t height, double pixel_ratio, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* FlEngineUpdateSemanticsHandler)(FlEngine *engine, const FlutterSemanticsUpdate2 *update, gpointer user_data)
gboolean fl_engine_start(FlEngine *engine, GError **error)
void fl_engine_notify_display_update(FlEngine *engine, const FlutterEngineDisplay *displays, size_t displays_length)
void fl_engine_execute_task(FlEngine *engine, FlutterTask *task)
void fl_engine_send_touch_move_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, int32_t device)
FlutterSemanticsFlag flags
gboolean fl_engine_add_view_finish(FlEngine *engine, GAsyncResult *result, GError **error)
void fl_engine_send_window_metrics_event(FlEngine *engine, FlutterEngineDisplayId display_id, FlutterViewId view_id, size_t width, size_t height, double pixel_ratio)
gboolean fl_engine_remove_view_finish(FlEngine *engine, GAsyncResult *result, GError **error)
gboolean fl_engine_send_platform_message_response(FlEngine *engine, const FlutterPlatformMessageResponseHandle *handle, GBytes *response, GError **error)
gboolean fl_engine_register_external_texture(FlEngine *engine, int64_t texture_id)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue gpointer user_data
void fl_engine_request_app_exit(FlEngine *engine)
FlEngine * fl_engine_new_with_renderer(FlDartProject *project, FlRenderer *renderer)
FlDisplayMonitor * fl_engine_get_display_monitor(FlEngine *engine)
void fl_engine_send_key_event(FlEngine *engine, const FlutterKeyEvent *event, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void fl_engine_send_mouse_pointer_event(FlEngine *engine, FlutterViewId view_id, FlutterPointerPhase phase, size_t timestamp, double x, double y, FlutterPointerDeviceKind device_kind, double scroll_delta_x, double scroll_delta_y, int64_t buttons)
void fl_engine_send_touch_remove_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, int32_t device)
void fl_engine_update_accessibility_features(FlEngine *engine, int32_t flags)
FlRenderer * fl_engine_get_renderer(FlEngine *engine)
FlMouseCursorHandler * fl_engine_get_mouse_cursor_handler(FlEngine *engine)
FlTaskRunner * fl_engine_get_task_runner(FlEngine *engine)
gboolean fl_engine_send_key_event_finish(FlEngine *engine, GAsyncResult *result, gboolean *handled, GError **error)
void fl_engine_set_update_semantics_handler(FlEngine *engine, FlEngineUpdateSemanticsHandler handler, gpointer user_data, GDestroyNotify destroy_notify)
FlutterEngineProcTable * fl_engine_get_embedder_api(FlEngine *engine)
void fl_engine_set_platform_message_handler(FlEngine *engine, FlEnginePlatformMessageHandler handler, gpointer user_data, GDestroyNotify destroy_notify)
const uint8_t uint32_t uint32_t * height
void fl_engine_send_touch_add_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, int32_t device)
void fl_engine_remove_view(FlEngine *engine, FlutterViewId view_id, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
const uint8_t uint32_t uint32_t GError ** error
void fl_engine_send_pointer_pan_zoom_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, FlutterPointerPhase phase, double pan_x, double pan_y, double scale, double rotation)
void fl_engine_send_touch_up_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, int32_t device)
GQuark fl_engine_error_quark(void) G_GNUC_CONST
const uint8_t uint32_t * width
void fl_engine_dispatch_semantics_action(FlEngine *engine, uint64_t id, FlutterSemanticsAction action, GBytes *data)
void fl_engine_send_touch_down_event(FlEngine *engine, FlutterViewId view_id, size_t timestamp, double x, double y, int32_t device)