Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit f03f113

Browse files
Document fields in FlEngine (#56266)
Update documentation.
1 parent d2b6ba8 commit f03f113

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

shell/platform/linux/fl_engine.cc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,35 @@ struct _FlEngine {
3939
// Thread the GLib main loop is running on.
4040
GThread* thread;
4141

42+
// The project this engine is running.
4243
FlDartProject* project;
44+
45+
// Renders the Flutter app.
4346
FlRenderer* renderer;
47+
48+
// Messenger used to send and receive platform messages.
4449
FlBinaryMessenger* binary_messenger;
50+
51+
// Implements the flutter/settings channel.
4552
FlSettingsHandler* settings_handler;
53+
54+
// Implements the flutter/platform channel.
4655
FlPlatformHandler* platform_handler;
56+
57+
// Manages textures rendered by native code.
4758
FlTextureRegistrar* texture_registrar;
59+
60+
// Schedules tasks to be run on the appropriate thread.
4861
FlTaskRunner* task_runner;
62+
63+
// Ahead of time data used to make engine run faster.
4964
FlutterEngineAOTData aot_data;
65+
66+
// The Flutter engine.
5067
FLUTTER_API_SYMBOL(FlutterEngine) engine;
68+
69+
// Function table for engine API, used to intercept engine calls for testing
70+
// purposes.
5171
FlutterEngineProcTable embedder_api;
5272

5373
// Next ID to use for a view.

0 commit comments

Comments
 (0)