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

Reland: Partial repaint platform views #54231

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

knopp
Copy link
Member

@knopp knopp commented Jul 30, 2024

Relands #54219 reverted in #54230.

The tracked area of PlatformViewLayer now covers entire frame ensuring full repaint when platform view is removed.
Added FullRepaintAfterRemovingLayer test.

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 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.

@knopp knopp force-pushed the partial_repaint_platform_views branch from 38f3e4b to d7bb98e Compare July 30, 2024 21:21
@knopp knopp requested a review from jonahwilliams July 30, 2024 21:21
Copy link
Member

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

@knopp knopp added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Jul 31, 2024
@knopp knopp force-pushed the partial_repaint_platform_views branch from d7bb98e to 121941f Compare August 7, 2024 05:50
@knopp knopp merged commit 69c29fb into flutter:main Aug 7, 2024
26 checks passed
@knopp knopp deleted the partial_repaint_platform_views branch August 7, 2024 16:14
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 7, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 7, 2024
…153035)

flutter/engine@5a0fd5f...69c29fb

2024-08-07 [email protected] Reland: Partial repaint platform views (flutter/engine#54231)
2024-08-07 [email protected] Roll Skia from 5267a5a1e26a to 0c6dd1e6ff8e (1 revision) (flutter/engine#54392)
2024-08-07 [email protected] Roll Skia from a0e775f706cd to 5267a5a1e26a (1 revision) (flutter/engine#54389)
2024-08-07 [email protected] Roll Skia from 968a00456bc5 to a0e775f706cd (3 revisions) (flutter/engine#54386)
2024-08-07 [email protected] Roll buildroot to 6ef931b950d5b9477dba0e278b7006ae327e12f7 (flutter/engine#54384)
2024-08-07 [email protected] Roll Fuchsia Test Scripts from oOZyP3ets0uHdEqWW... to 3FWYCLt6cV86gWU8E... (flutter/engine#54382)

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
TytaniumDev pushed a commit to TytaniumDev/flutter that referenced this pull request Aug 7, 2024
…lutter#153035)

flutter/engine@5a0fd5f...69c29fb

2024-08-07 [email protected] Reland: Partial repaint platform views (flutter/engine#54231)
2024-08-07 [email protected] Roll Skia from 5267a5a1e26a to 0c6dd1e6ff8e (1 revision) (flutter/engine#54392)
2024-08-07 [email protected] Roll Skia from a0e775f706cd to 5267a5a1e26a (1 revision) (flutter/engine#54389)
2024-08-07 [email protected] Roll Skia from 968a00456bc5 to a0e775f706cd (3 revisions) (flutter/engine#54386)
2024-08-07 [email protected] Roll buildroot to 6ef931b950d5b9477dba0e278b7006ae327e12f7 (flutter/engine#54384)
2024-08-07 [email protected] Roll Fuchsia Test Scripts from oOZyP3ets0uHdEqWW... to 3FWYCLt6cV86gWU8E... (flutter/engine#54382)

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
@zanderso
Copy link
Member

Reason for revert: Suspected cause of flutter/flutter#153335

@zanderso zanderso added the revert Label used to revert changes in a closed and merged pull request. label Aug 13, 2024
Copy link
Contributor

auto-submit bot commented Aug 13, 2024

Time to revert pull request flutter/engine/54231 has elapsed.
You need to open the revert manually and process as a regular pull request.

@auto-submit auto-submit bot removed the revert Label used to revert changes in a closed and merged pull request. label Aug 13, 2024
zanderso added a commit that referenced this pull request Aug 13, 2024
zanderso added a commit that referenced this pull request Aug 13, 2024
DBowen33 pushed a commit to DBowen33/flutter that referenced this pull request Aug 16, 2024
…lutter#153035)

flutter/engine@5a0fd5f...69c29fb

2024-08-07 [email protected] Reland: Partial repaint platform views (flutter/engine#54231)
2024-08-07 [email protected] Roll Skia from 5267a5a1e26a to 0c6dd1e6ff8e (1 revision) (flutter/engine#54392)
2024-08-07 [email protected] Roll Skia from a0e775f706cd to 5267a5a1e26a (1 revision) (flutter/engine#54389)
2024-08-07 [email protected] Roll Skia from 968a00456bc5 to a0e775f706cd (3 revisions) (flutter/engine#54386)
2024-08-07 [email protected] Roll buildroot to 6ef931b950d5b9477dba0e278b7006ae327e12f7 (flutter/engine#54384)
2024-08-07 [email protected] Roll Fuchsia Test Scripts from oOZyP3ets0uHdEqWW... to 3FWYCLt6cV86gWU8E... (flutter/engine#54382)

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
@knopp
Copy link
Member Author

knopp commented Aug 27, 2024

I think the regressions were caused by the revert? #54537. This can be relanded again without changes now that #54540 is merged. I'll make a PR.

@flar
Copy link
Contributor

flar commented Aug 27, 2024

I think the regressions were caused by the revert? #54537. This can be relanded again without changes now that #54540 is merged. I'll make a PR.

Oh, right. I triaged so many benchmark changes last night that I got that backwards.

Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…lutter#153035)

flutter/engine@5a0fd5f...69c29fb

2024-08-07 [email protected] Reland: Partial repaint platform views (flutter/engine#54231)
2024-08-07 [email protected] Roll Skia from 5267a5a1e26a to 0c6dd1e6ff8e (1 revision) (flutter/engine#54392)
2024-08-07 [email protected] Roll Skia from a0e775f706cd to 5267a5a1e26a (1 revision) (flutter/engine#54389)
2024-08-07 [email protected] Roll Skia from 968a00456bc5 to a0e775f706cd (3 revisions) (flutter/engine#54386)
2024-08-07 [email protected] Roll buildroot to 6ef931b950d5b9477dba0e278b7006ae327e12f7 (flutter/engine#54384)
2024-08-07 [email protected] Roll Fuchsia Test Scripts from oOZyP3ets0uHdEqWW... to 3FWYCLt6cV86gWU8E... (flutter/engine#54382)

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants