Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Impeller] Switch from AIKS canvas to DL based canvas implementation. #53781

Merged
merged 53 commits into from
Aug 15, 2024

Conversation

jonahwilliams
Copy link
Member

@jonahwilliams jonahwilliams commented Jul 9, 2024

The first part of switching Impeller/Aiks to using the display list instead of re-recording rendering operations. This should eventually let us cut CPU overhead of the raster thread for complex applications, though it should have no impact on GPU performance.

This does introduce a GLES only rendering bug that I haven't had luck tracking down, but is almost certainly due to switching to DL computed depth values. I'd like to handle this as a follow up when we prioritize GLES. flutter/flutter#153504

Part of flutter/flutter#142054

@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 "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

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

@chinmaygarde
Copy link
Member

You have to get the other tests to pass to see the goldens.

@zanderso zanderso added the Work in progress (WIP) Not ready (yet) for review! label Jul 25, 2024
@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

Changes reported for pull request #53781 at sha 03d136d

@flutter-dashboard
Copy link

Golden file changes are available for triage from new commit, Click here to view.

Changes reported for pull request #53781 at sha 1236b73

@flutter-dashboard
Copy link

Golden file changes are available for triage from new commit, Click here to view.

Changes reported for pull request #53781 at sha 3899c58

@flutter-dashboard
Copy link

Golden file changes are available for triage from new commit, Click here to view.

Changes reported for pull request #53781 at sha 4f459a7

@jonahwilliams jonahwilliams removed the Work in progress (WIP) Not ready (yet) for review! label Aug 15, 2024
@jonahwilliams jonahwilliams changed the title [Impeller] enable experimental canvas. [Impeller] Switch from AIKS canvas to DL based canvas implementation. Aug 15, 2024
@flutter-dashboard
Copy link

Golden file changes are available for triage from new commit, Click here to view.

Changes reported for pull request #53781 at sha 62a5a0a

@flutter-dashboard
Copy link

Golden file changes are available for triage from new commit, Click here to view.

Changes reported for pull request #53781 at sha 79648d3

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 15, 2024
@auto-submit auto-submit bot merged commit f2c7fcf into flutter:main Aug 15, 2024
29 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 15, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 15, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 15, 2024
…ions) (#153525)

Manual roll requested by [email protected]

flutter/engine@971ddd9...8f3f80e

2024-08-15 [email protected] [Impeller] revert experimental canvas. (flutter/engine#54570)
2024-08-15 69794332 [email protected] Fix typo in AppLifecycleState documentation (flutter/engine#54544)
2024-08-15 [email protected] Update RBE troubleshooting (flutter/engine#54568)
2024-08-15 [email protected] [Impeller] Switch from AIKS canvas to DL based canvas implementation. (flutter/engine#53781)
2024-08-15 [email protected] [Impeller] convert aiks blur tests to new canvas. (flutter/engine#54565)

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] 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
DBowen33 pushed a commit to DBowen33/flutter that referenced this pull request Aug 16, 2024
…ions) (flutter#153525)

Manual roll requested by [email protected]

flutter/engine@971ddd9...8f3f80e

2024-08-15 [email protected] [Impeller] revert experimental canvas. (flutter/engine#54570)
2024-08-15 69794332 [email protected] Fix typo in AppLifecycleState documentation (flutter/engine#54544)
2024-08-15 [email protected] Update RBE troubleshooting (flutter/engine#54568)
2024-08-15 [email protected] [Impeller] Switch from AIKS canvas to DL based canvas implementation. (flutter/engine#53781)
2024-08-15 [email protected] [Impeller] convert aiks blur tests to new canvas. (flutter/engine#54565)

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] 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#153525)

Manual roll requested by [email protected]

flutter/engine@971ddd9...8f3f80e

2024-08-15 [email protected] [Impeller] revert experimental canvas. (flutter/engine#54570)
2024-08-15 69794332 [email protected] Fix typo in AppLifecycleState documentation (flutter/engine#54544)
2024-08-15 [email protected] Update RBE troubleshooting (flutter/engine#54568)
2024-08-15 [email protected] [Impeller] Switch from AIKS canvas to DL based canvas implementation. (flutter/engine#53781)
2024-08-15 [email protected] [Impeller] convert aiks blur tests to new canvas. (flutter/engine#54565)

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] 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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App e: impeller will affect goldens
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants