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

Reverts "Multiview pipeline" #47174

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

auto-submit[bot]
Copy link
Contributor

@auto-submit auto-submit bot commented Oct 20, 2023

Reverts #44473
Initiated by: dkwingsmt
This change reverts the following previous change:
Original Description:
This PR makes Animator able to handle multiple views, and updates unit tests accordingly.

Before:
image

After:
image

Now Animator::Render must be called during Animator::BeginFrame, which is split into BeginFrame and EndFrame. This requirement is made possible by #45555. The reason to split is to allow ShellTest::PumpOneFrame to insert a render from C++ code.

ShellTest::PumpOneFrame is also refactored to allow pumping a frame without any views.

A few unit tests are tweaked to resolve racing condition.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@auto-submit auto-submit bot added the revert of Bot Only: Tracking label for bot. Tracks new revert of pull requests. label Oct 20, 2023
@auto-submit auto-submit bot merged commit 4a65910 into main Oct 20, 2023
@auto-submit auto-submit bot deleted the revert_d9f24539ddddfd71bee68abb279e2253b99f0604 branch October 20, 2023 20:57
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 20, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 20, 2023
…136987)

flutter/engine@b27e1b3...4a65910

2023-10-20 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Multiview pipeline" (flutter/engine#47174)
2023-10-20 [email protected] Multiview pipeline (flutter/engine#44473)
2023-10-20 [email protected] Roll Skia from 9ffd5ef9a9ed to ca69b04f7dd2 (1 revision) (flutter/engine#47171)
2023-10-20 [email protected] Lower the severity of a log message (flutter/engine#47172)
2023-10-20 [email protected] [web] Remove workaround for safely removing slots on Safari (flutter/engine#47169)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
dkwingsmt added a commit to dkwingsmt/engine that referenced this pull request Oct 23, 2023
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
Reverts #44473
Initiated by: dkwingsmt
This change reverts the following previous change:
Original Description:
This PR makes `Animator` able to handle multiple views, and updates unit tests accordingly.

Before:
<img width="543" alt="image" src="https://github.com/flutter/engine/assets/1596656/f7d0e0e4-cc85-4a6e-b516-1896ac3c1b35">

After:
<img width="614" alt="image" src="https://github.com/flutter/engine/assets/1596656/68106301-66ef-4cd1-aeaf-d9c6127ccec2">

Now `Animator::Render` must be called during `Animator::BeginFrame`, which is split into `BeginFrame` and `EndFrame`. This requirement is made possible by #45555. The reason to split is to allow `ShellTest::PumpOneFrame` to insert a render from C++ code.

`ShellTest::PumpOneFrame` is also refactored to allow pumping a frame without any views.

A few unit tests are tweaked to resolve racing condition.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
e: impeller platform-fuchsia revert of Bot Only: Tracking label for bot. Tracks new revert of pull requests.
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants