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

Pipe Z bounds from ViewportMetrics to Flow #8583

Merged
merged 6 commits into from
Apr 17, 2019
Merged

Pipe Z bounds from ViewportMetrics to Flow #8583

merged 6 commits into from
Apr 17, 2019

Conversation

mklim
Copy link
Contributor

@mklim mklim commented Apr 15, 2019

This is the first step in making Flutter aware of and responsive to Z
bound overflow. On its own this patch shouldn't result in any changes in
behavior. This will need to be followed up with a patch in Fuchsia's
Flutter runner to set the Z bounds after this lands, and another patch
in the engine actually implementing the desired overflow behavior.

This Z bound info is routed through the engine itself to make sure the
bounds in flow are truly consistent from the Fuchsia runner. However
there should be another patch exposing these values to the framework for
Flutter devs to see as well.

flutter/flutter#25226

This is the first step in making Flutter aware of and responsive to Z
bound overflow. On its own this patch shouldn't result in any changes in
behavior. This will need to be followed up with a patch in Fuchsia's
Flutter runner to set the Z bounds after this lands, and another patch
in the engine actually implementing the desired overflow behavior.

This Z bound info is routed through the engine itself to make sure the
bounds in flow are truly consistent from the Fuchsia runner. However
there should be another patch exposing these values to the framework for
Flutter devs to see as well.
@mklim mklim marked this pull request as ready for review April 15, 2019 21:30
@mklim mklim requested review from liyuqian and chinmaygarde April 15, 2019 21:30
@chinmaygarde
Copy link
Member

Can you link the embedder side patch for this too? Just so it's easier to see the full code flow.

@mklim
Copy link
Contributor Author

mklim commented Apr 16, 2019

Can you link the embedder side patch for this too? Just so it's easier to see the full code flow.

No problem. https://fuchsia-review.googlesource.com/c/topaz/+/272353

@liyuqian liyuqian self-requested a review April 16, 2019 21:39
Michael Klimushyn added 2 commits April 16, 2019 14:56
Move the setter into PhysicalShapeLayer.

Remove the getter completely. Replace it with a key on the
PrerollContext struct.
@liyuqian liyuqian self-requested a review April 17, 2019 03:37
Copy link
Contributor

@liyuqian liyuqian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks very much for your quick fixes.

@mklim mklim merged commit 0e27e0f into flutter:master Apr 17, 2019
@mklim mklim deleted the fs_z_bounds branch April 17, 2019 16:56
@mklim
Copy link
Contributor Author

mklim commented Apr 17, 2019

LGTM! Thanks very much for your quick fixes.

Thanks for the quick review responses!

engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 17, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Apr 17, 2019
flutter/engine@fdd4272...523a9a9

git log fdd4272..523a9a9 --no-merges --oneline
523a9a9 Add FLEPluginRegistry for macOS (flutter/engine#8611)
dd9dcaf [fuchsia] Fix SceneUpdateContext for new PaintContext field (flutter/engine#8608)
0e27e0f Pipe Z bounds from ViewportMetrics to Flow (flutter/engine#8583)
f62ab83 Roll src/third_party/dart f0da03ca36..bc99f1ca28 (1 commits)
7b38aef Roll src/third_party/skia 33906ad1e26f..5155e09d1466 (4 commits) (flutter/engine#8609)
b0dedbd Roll src/third_party/dart d9c40462c2..f0da03ca36 (1 commits)
f88ba6e Roll src/third_party/skia e88d4382e1cf..33906ad1e26f (1 commits) (flutter/engine#8604)
53c0905 Roll src/third_party/skia 652b007a4cbb..e88d4382e1cf (4 commits) (flutter/engine#8603)
4266f85 Add desktop shell unittests to test script (flutter/engine#8600)
8156268 Roll src/third_party/dart 8e73b3c006..d9c40462c2 (4 commits)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (cbracken@google.com), and stop
the roller if necessary.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants