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

Commit f77dc51

Browse files
committed
wording
1 parent eeeb5df commit f77dc51

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

shell/platform/embedder/embedder_external_view_embedder.cc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,9 @@ struct PlatformView {
165165
/// Each layer will result in a single physical surface that contains Flutter
166166
/// contents. It may contain multiple platform views and the slices
167167
/// that would be otherwise rendered between these platform views will be
168-
/// collapsed into this layer, as long as it does not intersect any of the
168+
/// collapsed into this layer, as long as they do not intersect any of the
169169
/// platform views.
170+
/// In Z order the Flutter contents of Layer is above the platform views.
170171
class Layer {
171172
public:
172173
/// Returns whether the rectangle intersects any of the platform views of
@@ -259,9 +260,10 @@ class Layer {
259260

260261
/// A layout builder is responsible for building an optimized list of Layers
261262
/// from a list of `EmbedderExternalView`s. Single EmbedderExternalView contains
262-
/// at most one platform view and at most one layer of Flutter contents.
263-
/// LayerBuilder is responsible for producing as few Layers from the list of
264-
/// EmbedderExternalViews as possible while maintaining identical visual result.
263+
/// at most one platform view and at most one layer of Flutter contents
264+
/// ('slice'). LayerBuilder is responsible for producing as few Layers from the
265+
/// list of EmbedderExternalViews as possible while maintaining identical visual
266+
/// result.
265267
///
266268
/// Implements https://flutter.dev/go/optimized-platform-view-layers
267269
class LayerBuilder {

0 commit comments

Comments
 (0)