-
Notifications
You must be signed in to change notification settings - Fork 6k
Remove pipeline in favor of layer tree holder #17688
Conversation
|
One significant issue here is that a lot of timeline tracing seems to have been eliminated in the pipeline files. I'm thinking that the FLOW ids are gone now, and a number of async events as well. Have you looked at the observatory output for how informative it is with these changes? Perhaps post a view of the observatory differences for a given animating app before/after? |
|
@flar I haven't looked at the observatory events. I will look at the post-events and see what makes sense in terms of adding support for any of the removed events. In a similar vein, I believe some changes will be needed on the driver tests side to make the benchmarks still be valid. |
|
@flar , I've looked at the traces briefly. Before this change the timeline looked like so: After my change: Based on this, I think we aren't losing any useful information. Here are the traces: |
|
What about the flows, though? |
|
This removes 1 flow event:
I will make changes to this PR to track similar events in the |
57c6f8f to
4a4aef5
Compare
dc971a2 to
f3bf7ff
Compare
f3bf7ff to
8041778
Compare
|
@flar please take a look when you get a chance. |
flar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing major, just spelling nits mostly. Approving anyway, but look at my suggested edits...
| layer_tree_holder.ReplaceIfNewer(std::move(layer_tree)); | ||
| ASSERT_FALSE(layer_tree_holder.IsEmpty()); | ||
| const auto stored = layer_tree_holder.Get(); | ||
| ASSERT_EQ(stored->frame_size(), frame_size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also ASSERT_TRUE(isEmpty)?
shell/common/rasterizer.h
Outdated
| /// actually performs the GPU operations within the layer tree | ||
| /// pipeline. | ||
| /// The layer tree holder is a thread safe way to produce frame | ||
| /// workloads from the UI thread and raster them on the raster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
raster -> rasterize
shell/common/rasterizer.h
Outdated
| /// workloads from the UI thread and raster them on the raster | ||
| /// thread. To account for scenarious where the UI thread | ||
| /// continues to produce the frames while a raster task is queued, | ||
| /// `Rasterizer::DoDraw` that gets executed on the raster thread, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary comma at the end of this line separates the noun from its verb, should be "... on the raster thread must pick up ..."
|
@chinmaygarde self requested a review a while back, but I don't see any comments...? |
go/flutter-pipeline-improvements for more details
85523b5 to
55dacac
Compare
|
re-run succeeded: https://ci.chromium.org/p/flutter/builders/try/Mac%20Host%20Engine/3487 |
This reverts commit 983de2c.
* 9ea2db5 Add FlMessageCodec, FlBinaryCodec, FlStringCodec (flutter/engine#18186) * f422757 Roll src/fuchsia/sdk/linux from MhpFP... to c1q_S... (flutter/engine#18222) * 2ab918c Roll src/third_party/skia a14084ba1b41..8f6c3ed7c7be (1 commits) (flutter/engine#18223) * 40167b6 Make robolectric tests run against SDK 29 by default (flutter/engine#17996) * e5b0db6 Roll src/third_party/skia 8f6c3ed7c7be..b55372444d1b (4 commits) (flutter/engine#18224) * ed08c3e Roll src/fuchsia/sdk/mac from 4MCVP... to T5tT0... (flutter/engine#18228) * 6767517 Roll src/third_party/skia b55372444d1b..ac09f7cd7a28 (2 commits) (flutter/engine#18229) * 983de2c Remove pipeline in favor of layer tree holder (flutter/engine#17688) * a1218dd Roll src/third_party/skia ac09f7cd7a28..c683912173bb (2 commits) (flutter/engine#18230) * 68bf137 skip painting clipped out pictures (flutter/engine#18204) * 7035255 make compiler worker count configurable (flutter/engine#17616) * c8ff03c Publish validation layer deps as part of the fuchsia artifacts (flutter/engine#18214) * 576f0e1 Roll src/third_party/skia c683912173bb..7359165e660c (1 commits) (flutter/engine#18234) * 1b3b4ec skip font loading tests for safari (flutter/engine#18232) * 9319d7c Roll src/third_party/skia 7359165e660c..6913d1bb1d7a (1 commits) (flutter/engine#18237) * 1b56f35 Roll src/third_party/dart 617bc54b715d..2a14a62112e6 (30 commits) (flutter/engine#18239) * ff6942f Add fontFeatures and decorationThickness to textstyle (flutter/engine#18235) * 4418ce8 Revert "Remove pipeline in favor of layer tree holder (#17688)" (flutter/engine#18242) * 9d8daf2 Roll src/third_party/skia 6913d1bb1d7a..bf1904fd4898 (3 commits) (flutter/engine#18243) * Updated bin/internal/fuchsia-linux.version * Updated bin/internal/fuchsia-mac.version
go/flutter-pipeline-improvements for more details.
go/flutter-pipeline-improvements for more details.
go/flutter-pipeline-improvements for more details.
go/flutter-pipeline-improvements for more details.
go/flutter-pipeline-improvements for more details.
go/flutter-pipeline-improvements for more details.


go/flutter-pipeline-improvements for more details