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

Conversation

@freiling
Copy link
Contributor

@freiling freiling commented Nov 11, 2020

This change contains a couple of changes that should have been in
github.com/flutter/engine/commit/3105db8ee856ffef281d018774d21a6164c81236
but fell through the cracks

First one lifts the initialization of the flutter::RunConfiguration so that
the asset manager gets set on the persistant cache before the shader
warmup happens. I'm not sure how this didnt end up in the first PR I
think it got mangled during merge conflict resolution. no test coverage
for that code because its in the middle of a 400 line constructor

Second one fixes a race condition that the tests dont catch because the
tests are single threaded.

@freiling freiling requested a review from arbreng November 11, 2020 08:08
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@arbreng
Copy link
Contributor

arbreng commented Nov 13, 2020

Looks like this is causing shell_tests to fail...

@freiling freiling force-pushed the freiling-warmup-fixes branch from 720e5e9 to 35f201d Compare November 18, 2020 01:23
@chinmaygarde
Copy link
Member

This need to be rebased on ToT as the failing presubmits have been fixed. Other than that, lets land this.

This change contains a couple of changes that should have been in
github.com/flutter/engine/commit/3105db8ee856ffef281d018774d21a6164c81236
but fell through the cracks

First one lifts the initialization of the flutter::RunConfiguration so that
the asset manager gets set on the persistant cache before the shader
warmup happens. I'm not sure how this didnt end up in the first PR I
think it got mangled during merge conflict resolution. no test coverage
for that code because its in the middle of a 400 line constructor

Second one fixes a race condition that the tests dont catch because the
tests are single threaded. This change restructures the test that missed
this bug so that it would have caught that bug and will catch comparable
bugs.
@freiling freiling force-pushed the freiling-warmup-fixes branch from 35f201d to 15f95f6 Compare November 20, 2020 02:15
@freiling freiling merged commit f2803ac into flutter:master Nov 20, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 20, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 20, 2020
jason-simmons pushed a commit to flutter/flutter that referenced this pull request Nov 24, 2020
* 53fc019 Split AOT Android Embedder and shell (flutter/engine#22179)

* fc55814 Implement Scene.toImage() in CanvasKit mode. (flutter/engine#22085)

* c45e02a Roll Dart SDK from 12fded61a2bc to a06d469024fd (1 revision) (flutter/engine#22623)

* 550c750 Remove opt outs for dart:ui (flutter/engine#22603)

* f2803ac [fuchsia] shader warmup fixes (flutter/engine#22439)

* ce94c4e Roll Dart SDK from a06d469024fd to b8fea79a2549 (1 revision) (flutter/engine#22630)

* 76b6acb Roll Fuchsia Linux SDK from aAb3NJv_h... to X1ue-JZsc... (flutter/engine#22631)

* 976e887 Roll Skia from ed289e777cfa to 9dce4d081f8a (3 revisions) (flutter/engine#22632)

* 885bd65 Roll Fuchsia Mac SDK from DQpWjEN59... to wGZWtwuY4... (flutter/engine#22633)

* 8971b82 Roll Dart SDK from b8fea79a2549 to 861ebcb175b6 (1 revision) (flutter/engine#22634)

* a09cdfd Roll Skia from 9dce4d081f8a to 8c5889937172 (1 revision) (flutter/engine#22635)

* a9f332c Roll Dart SDK from 861ebcb175b6 to 1adf3d5fa9d0 (1 revision) (flutter/engine#22636)

* 1bf5c8b [web] Implement tilemode for gradient shaders. (flutter/engine#22597)

* 97cacfb Add more runtime intrinsic symbols to the export checker script (flutter/engine#22641)
chaselatta pushed a commit to chaselatta/engine that referenced this pull request Nov 30, 2020
This change contains a couple of changes that should have been in
github.com/flutter/engine/commit/3105db8ee856ffef281d018774d21a6164c81236
but fell through the cracks

First one lifts the initialization of the flutter::RunConfiguration so that
the asset manager gets set on the persistant cache before the shader
warmup happens. I'm not sure how this didnt end up in the first PR I
think it got mangled during merge conflict resolution. no test coverage
for that code because its in the middle of a 400 line constructor

Second one fixes a race condition that the tests dont catch because the
tests are single threaded. This change restructures the test that missed
this bug so that it would have caught that bug and will catch comparable
bugs.
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