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

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Jul 24, 2024

For this to work, we need to provide our own capture scope otherwise the default scope won't capture our commands.

This is required as part of the work to switch to unmerged threads for PVs (#53826), as I can confirm @knopp 's observations that the performance is much worse with the default CAMetalLayer.

Fixes flutter/flutter#140901

@jonahwilliams jonahwilliams changed the title Switch to flutter metal layer by default. [iOS] Switch to FlutterMetalLayer by default. Jul 24, 2024
Copy link
Member

@knopp knopp left a comment

Choose a reason for hiding this comment

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

Tested the capture and it seems to work well. Thanks for looking into this!

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 24, 2024
@auto-submit auto-submit bot merged commit e1259b8 into flutter:main Jul 24, 2024
@jonahwilliams jonahwilliams deleted the switch_to_flutter_metal_layer branch July 24, 2024 23:10
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 25, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jul 25, 2024
…152285)

flutter/engine@eb8fac2...e1259b8

2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
auto-submit bot added a commit to flutter/flutter that referenced this pull request Jul 25, 2024
…isions) (#152285)" (#152289)

Reverts: #152285
Initiated by: jonahwilliams
Reason for reverting: crashing iOS benchmarks.
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

flutter/engine@eb8fac2...e1259b8

2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 25, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jul 25, 2024
…152293)

flutter/engine@eb8fac2...a57655c

2024-07-25 [email protected] Roll Dart SDK from 0b3c00feefb1 to 693848f200d7 (1 revision) (flutter/engine#54092)
2024-07-25 [email protected] Remove incorrect line (flutter/engine#54021)
2024-07-24 [email protected] [et] Better RBE defaults (flutter/engine#54059)
2024-07-24 [email protected] Roll Skia from 55ecdde3a5fa to 746d444f3efd (2 revisions) (flutter/engine#54091)
2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
auto-submit bot added a commit to flutter/flutter that referenced this pull request Jul 25, 2024
…isions) (#152293)" (#152304)

Reverts: #152293
Initiated by: zanderso
Reason for reverting: Failing framework test https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20platform_views_scroll_perf_ad_banners__timeline_summary/956/overview
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

flutter/engine@eb8fac2...a57655c

2024-07-25 [email protected] Roll Dart SDK from 0b3c00feefb1 to 693848f200d7 (1 revision) (flutter/engine#54092)
2024-07-25 [email protected] Remove incorrect line (flutter/engine#54021)
2024-07-24 [email protected] [et] Better RBE defaults (flutter/engine#54059)
2024-07-24 [email protected] Roll Skia from 55ecdde3a5fa to 746d444f3efd (2 revisions) (flutter/engine#54091)
2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 25, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jul 25, 2024
…ions) (#152305)

Manual roll requested by [email protected]

flutter/engine@eb8fac2...7473782

2024-07-25 [email protected] [web] better class names for semantics (flutter/engine#54070)
2024-07-25 [email protected] Disable FlutterMetalLayer by default. (flutter/engine#54095)
2024-07-25 [email protected] Roll Dart SDK from 0b3c00feefb1 to 693848f200d7 (1 revision) (flutter/engine#54092)
2024-07-25 [email protected] Remove incorrect line (flutter/engine#54021)
2024-07-24 [email protected] [et] Better RBE defaults (flutter/engine#54059)
2024-07-24 [email protected] Roll Skia from 55ecdde3a5fa to 746d444f3efd (2 revisions) (flutter/engine#54091)
2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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#152285)

flutter/engine@eb8fac2...e1259b8

2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
…isions) (flutter#152285)" (flutter#152289)

Reverts: flutter#152285
Initiated by: jonahwilliams
Reason for reverting: crashing iOS benchmarks.
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

flutter/engine@eb8fac2...e1259b8

2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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#152293)

flutter/engine@eb8fac2...a57655c

2024-07-25 [email protected] Roll Dart SDK from 0b3c00feefb1 to 693848f200d7 (1 revision) (flutter/engine#54092)
2024-07-25 [email protected] Remove incorrect line (flutter/engine#54021)
2024-07-24 [email protected] [et] Better RBE defaults (flutter/engine#54059)
2024-07-24 [email protected] Roll Skia from 55ecdde3a5fa to 746d444f3efd (2 revisions) (flutter/engine#54091)
2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
…isions) (flutter#152293)" (flutter#152304)

Reverts: flutter#152293
Initiated by: zanderso
Reason for reverting: Failing framework test https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20platform_views_scroll_perf_ad_banners__timeline_summary/956/overview
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

flutter/engine@eb8fac2...a57655c

2024-07-25 [email protected] Roll Dart SDK from 0b3c00feefb1 to 693848f200d7 (1 revision) (flutter/engine#54092)
2024-07-25 [email protected] Remove incorrect line (flutter/engine#54021)
2024-07-24 [email protected] [et] Better RBE defaults (flutter/engine#54059)
2024-07-24 [email protected] Roll Skia from 55ecdde3a5fa to 746d444f3efd (2 revisions) (flutter/engine#54091)
2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
…ions) (flutter#152305)

Manual roll requested by [email protected]

flutter/engine@eb8fac2...7473782

2024-07-25 [email protected] [web] better class names for semantics (flutter/engine#54070)
2024-07-25 [email protected] Disable FlutterMetalLayer by default. (flutter/engine#54095)
2024-07-25 [email protected] Roll Dart SDK from 0b3c00feefb1 to 693848f200d7 (1 revision) (flutter/engine#54092)
2024-07-25 [email protected] Remove incorrect line (flutter/engine#54021)
2024-07-24 [email protected] [et] Better RBE defaults (flutter/engine#54059)
2024-07-24 [email protected] Roll Skia from 55ecdde3a5fa to 746d444f3efd (2 revisions) (flutter/engine#54091)
2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…lutter#152285)

flutter/engine@eb8fac2...e1259b8

2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…isions) (flutter#152285)" (flutter#152289)

Reverts: flutter#152285
Initiated by: jonahwilliams
Reason for reverting: crashing iOS benchmarks.
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

flutter/engine@eb8fac2...e1259b8

2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…lutter#152293)

flutter/engine@eb8fac2...a57655c

2024-07-25 [email protected] Roll Dart SDK from 0b3c00feefb1 to 693848f200d7 (1 revision) (flutter/engine#54092)
2024-07-25 [email protected] Remove incorrect line (flutter/engine#54021)
2024-07-24 [email protected] [et] Better RBE defaults (flutter/engine#54059)
2024-07-24 [email protected] Roll Skia from 55ecdde3a5fa to 746d444f3efd (2 revisions) (flutter/engine#54091)
2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…isions) (flutter#152293)" (flutter#152304)

Reverts: flutter#152293
Initiated by: zanderso
Reason for reverting: Failing framework test https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20platform_views_scroll_perf_ad_banners__timeline_summary/956/overview
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

flutter/engine@eb8fac2...a57655c

2024-07-25 [email protected] Roll Dart SDK from 0b3c00feefb1 to 693848f200d7 (1 revision) (flutter/engine#54092)
2024-07-25 [email protected] Remove incorrect line (flutter/engine#54021)
2024-07-24 [email protected] [et] Better RBE defaults (flutter/engine#54059)
2024-07-24 [email protected] Roll Skia from 55ecdde3a5fa to 746d444f3efd (2 revisions) (flutter/engine#54091)
2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…ions) (flutter#152305)

Manual roll requested by [email protected]

flutter/engine@eb8fac2...7473782

2024-07-25 [email protected] [web] better class names for semantics (flutter/engine#54070)
2024-07-25 [email protected] Disable FlutterMetalLayer by default. (flutter/engine#54095)
2024-07-25 [email protected] Roll Dart SDK from 0b3c00feefb1 to 693848f200d7 (1 revision) (flutter/engine#54092)
2024-07-25 [email protected] Remove incorrect line (flutter/engine#54021)
2024-07-24 [email protected] [et] Better RBE defaults (flutter/engine#54059)
2024-07-24 [email protected] Roll Skia from 55ecdde3a5fa to 746d444f3efd (2 revisions) (flutter/engine#54091)
2024-07-24 [email protected] [iOS] Switch to FlutterMetalLayer by default. (flutter/engine#54086)
2024-07-24 [email protected] Roll Skia from 54d1434637a1 to 55ecdde3a5fa (3 revisions) (flutter/engine#54089)

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

autosubmit Merge PR when tree becomes green via auto submit App e: impeller platform-ios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[iOS] Switch to new FlutterMetalLayer type by default.

3 participants