#include <embedder_engine.h>
Definition at line 23 of file embedder_engine.h.
| flutter::EmbedderEngine::EmbedderEngine | ( | std::unique_ptr< EmbedderThreadHost > | thread_host, |
| const TaskRunners & | task_runners, | ||
| const Settings & | settings, | ||
| RunConfiguration | run_configuration, | ||
| const Shell::CreateCallback< PlatformView > & | on_create_platform_view, | ||
| const Shell::CreateCallback< Rasterizer > & | on_create_rasterizer, | ||
| std::unique_ptr< EmbedderExternalTextureResolver > | external_texture_resolver | ||
| ) |
Definition at line 24 of file embedder_engine.cc.
|
default |
| bool flutter::EmbedderEngine::CollectShell | ( | ) |
| void flutter::EmbedderEngine::CollectThreadHost | ( | ) |
Definition at line 68 of file embedder_engine.cc.
References fml::AutoResetWaitableEvent::Signal(), and fml::AutoResetWaitableEvent::Wait().
| bool flutter::EmbedderEngine::DispatchPointerDataPacket | ( | std::unique_ptr< flutter::PointerDataPacket > | packet | ) |
Definition at line 158 of file embedder_engine.cc.
References IsValid(), and platform_view.
| bool flutter::EmbedderEngine::DispatchSemanticsAction | ( | int64_t | view_id, |
| int | node_id, | ||
| flutter::SemanticsAction | action, | ||
| fml::MallocMapping | args | ||
| ) |
Definition at line 238 of file embedder_engine.cc.
References action, args, IsValid(), platform_view, and view_id.
Referenced by FlutterEngineSendSemanticsAction().
| Shell & flutter::EmbedderEngine::GetShell | ( | ) |
Definition at line 347 of file embedder_engine.cc.
References FML_DCHECK.
Referenced by FlutterEngineSetNextFrameCallback(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().
| const TaskRunners & flutter::EmbedderEngine::GetTaskRunners | ( | ) | const |
Definition at line 120 of file embedder_engine.cc.
Referenced by flutter::testing::TEST_F().
| bool flutter::EmbedderEngine::IsValid | ( | ) | const |
Definition at line 116 of file embedder_engine.cc.
Referenced by CollectShell(), DispatchPointerDataPacket(), DispatchSemanticsAction(), LaunchShell(), MarkTextureFrameAvailable(), NotifyCreated(), NotifyDestroyed(), OnVsyncEvent(), PostRenderThreadTask(), PostTaskOnEngineManagedNativeThreads(), RegisterTexture(), ReloadSystemFonts(), RunRootIsolate(), ScheduleFrame(), SendPlatformMessage(), SetAccessibilityFeatures(), SetSemanticsEnabled(), SetViewportMetrics(), and UnregisterTexture().
| bool flutter::EmbedderEngine::LaunchShell | ( | ) |
Definition at line 42 of file embedder_engine.cc.
References flutter::Shell::Create(), FML_DLOG, and IsValid().
| bool flutter::EmbedderEngine::MarkTextureFrameAvailable | ( | int64_t | texture | ) |
Definition at line 205 of file embedder_engine.cc.
| bool flutter::EmbedderEngine::NotifyCreated | ( | ) |
Definition at line 124 of file embedder_engine.cc.
References IsValid().
| bool flutter::EmbedderEngine::NotifyDestroyed | ( | ) |
Definition at line 133 of file embedder_engine.cc.
References IsValid().
Referenced by FlutterEngineDeinitialize().
| bool flutter::EmbedderEngine::OnVsyncEvent | ( | intptr_t | baton, |
| fml::TimePoint | frame_start_time, | ||
| fml::TimePoint | frame_target_time | ||
| ) |
Definition at line 254 of file embedder_engine.cc.
References IsValid(), and flutter::VsyncWaiterEmbedder::OnEmbedderVsync().
| bool flutter::EmbedderEngine::PostRenderThreadTask | ( | const fml::closure & | task | ) |
Definition at line 273 of file embedder_engine.cc.
References IsValid().
| bool flutter::EmbedderEngine::PostTaskOnEngineManagedNativeThreads | ( | const std::function< void(FlutterNativeThreadType)> & | closure | ) | const |
Definition at line 305 of file embedder_engine.cc.
References IsValid(), kFlutterNativeThreadTypePlatform, kFlutterNativeThreadTypeRender, kFlutterNativeThreadTypeUI, kFlutterNativeThreadTypeWorker, and type.
| bool flutter::EmbedderEngine::RegisterTexture | ( | int64_t | texture | ) |
| bool flutter::EmbedderEngine::ReloadSystemFonts | ( | ) |
Definition at line 265 of file embedder_engine.cc.
References IsValid().
| bool flutter::EmbedderEngine::RunRootIsolate | ( | ) |
Definition at line 108 of file embedder_engine.cc.
References flutter::RunConfiguration::IsValid(), and IsValid().
| bool flutter::EmbedderEngine::RunTask | ( | const FlutterTask * | task | ) |
Definition at line 282 of file embedder_engine.cc.
References fml::TaskRunner::GetTaskQueueId(), flutter::TaskRunners::GetUITaskRunner(), fml::TaskQueueId::is_valid(), FlutterTask::runner, fml::TaskRunner::RunsTasksOnCurrentThread(), and FlutterTask::task.
| bool flutter::EmbedderEngine::ScheduleFrame | ( | ) |
Definition at line 334 of file embedder_engine.cc.
References IsValid(), and platform_view.
| bool flutter::EmbedderEngine::SendPlatformMessage | ( | std::unique_ptr< PlatformMessage > | message | ) |
Definition at line 173 of file embedder_engine.cc.
References IsValid(), message, and platform_view.
| bool flutter::EmbedderEngine::SetAccessibilityFeatures | ( | int32_t | flags | ) |
Definition at line 226 of file embedder_engine.cc.
References IsValid(), and platform_view.
| bool flutter::EmbedderEngine::SetSemanticsEnabled | ( | bool | enabled | ) |
Definition at line 213 of file embedder_engine.cc.
References IsValid(), and platform_view.
| bool flutter::EmbedderEngine::SetViewportMetrics | ( | int64_t | view_id, |
| const flutter::ViewportMetrics & | metrics | ||
| ) |
Definition at line 143 of file embedder_engine.cc.
References IsValid(), platform_view, and view_id.
| bool flutter::EmbedderEngine::UnregisterTexture | ( | int64_t | texture | ) |