Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change to default view
  • Loading branch information
dkwingsmt committed Nov 8, 2022
commit 2f90ef4ac6dbc42248c5c2559b8392c8a12f3e0b
6 changes: 3 additions & 3 deletions shell/platform/darwin/macos/framework/Source/FlutterEngine.mm
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,9 @@ - (FlutterCompositor*)createFlutterCompositor {
size_t layers_count, //
void* user_data //
) {
// TODO(dkwingsmt): The engine only supports single-view for now. As more
// classes are gradually converted to multi-view, it should get the view ID
// from somewhere, and send the ID to `Present`.
// TODO(dkwingsmt): This callback only supports single-view, therefore it
// only operates on the default view. To support multi-view, we need a new
// callback that also receives a view ID.
return reinterpret_cast<flutter::FlutterCompositor*>(user_data)->Present(kFlutterDefaultViewId,
layers, layers_count);
};
Expand Down