Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions | Variables
embedder_thread_host.cc File Reference
#include "flutter/shell/platform/embedder/embedder_thread_host.h"
#include <algorithm>
#include "flutter/fml/message_loop.h"
#include "flutter/shell/platform/embedder/embedder_struct_macros.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 

Macros

#define FML_USED_ON_EMBEDDER
 

Functions

static std::pair< bool, fml::RefPtr< EmbedderTaskRunner > > flutter::CreateEmbedderTaskRunner (const FlutterTaskRunnerDescription *description)
 Attempts to create a task runner from an embedder task runner description. The first boolean in the pair indicate whether the embedder specified an invalid task runner description. In this case, engine launch must be aborted. If the embedder did not specify any task runner, an engine managed task runner and thread must be selected instead. More...
 
static fml::RefPtr< fml::TaskRunnerflutter::GetCurrentThreadTaskRunner ()
 
fml::Thread::ThreadConfig flutter::MakeThreadConfig (flutter::ThreadHost::Type type, fml::Thread::ThreadPriority priority)
 

Variables

constexpr const char * flutter::kFlutterThreadName = "io.flutter"
 

Macro Definition Documentation

◆ FML_USED_ON_EMBEDDER

#define FML_USED_ON_EMBEDDER

Definition at line 5 of file embedder_thread_host.cc.